{"action":"opened","issue":{"url":"https://api.github.com/repos/Appboy/appboy-ios-sdk/issues/88","repository_url":"https://api.github.com/repos/Appboy/appboy-ios-sdk","labels_url":"https://api.github.com/repos/Appboy/appboy-ios-sdk/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/Appboy/appboy-ios-sdk/issues/88/comments","events_url":"https://api.github.com/repos/Appboy/appboy-ios-sdk/issues/88/events","html_url":"https://github.com/Appboy/appboy-ios-sdk/issues/88","id":180895574,"number":88,"title":"\"Undefined symbols for architecture arm64\" while integrating tvOS AppBoy Library","user":{"login":"peruginni","id":62856,"avatar_url":"https://avatars.githubusercontent.com/u/62856?v=3","gravatar_id":"","url":"https://api.github.com/users/peruginni","html_url":"https://github.com/peruginni","followers_url":"https://api.github.com/users/peruginni/followers","following_url":"https://api.github.com/users/peruginni/following{/other_user}","gists_url":"https://api.github.com/users/peruginni/gists{/gist_id}","starred_url":"https://api.github.com/users/peruginni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peruginni/subscriptions","organizations_url":"https://api.github.com/users/peruginni/orgs","repos_url":"https://api.github.com/users/peruginni/repos","events_url":"https://api.github.com/users/peruginni/events{/privacy}","received_events_url":"https://api.github.com/users/peruginni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-04T13:38:28Z","updated_at":"2016-10-04T13:38:28Z","closed_at":null,"body":"Hello,\r\n\r\nI have reused HelloSwift example and created new tvOS target. Then I have tried integrating tvOS Appboy Library, but I've got \"Undefined symbols\" error, when using \"Appboy\" class. \r\n\r\nSeems problematic only when integrating to Swift tvOS target (Objc example project works well on tvOS). Perhaps related to issues in #36 and #26  Do you have any idea how to resolve the error?\r\n\r\nPodfile:\r\n```\r\nsource 'https://github.com/CocoaPods/Specs.git'\r\n\r\ntarget 'HelloSwift' do\r\n    platform :ios, '8.0'\r\n    use_frameworks!\r\n    \r\n    pod 'Appboy-iOS-SDK'\r\nend\r\n\r\ntarget 'HelloSwiftTVOS' do\r\n    platform :tvos, '10.0'\r\n    use_frameworks!\r\n    \r\n    pod 'Appboy-tvOS-SDK'\r\nend\r\n\r\npost_install do |installer|\r\n  installer.pods_project.targets.each do |target|\r\n    target.build_configurations.each do |config|\r\n        if target.name == \"Appboy-iOS-SDK\"\r\n            config.build_settings[\"OTHER_LDFLAGS\"] = '$(inherited) \"-ObjC\"'\r\n        end\r\n        if target.name == \"Appboy-tvOS-SDK\"\r\n            config.build_settings[\"OTHER_LDFLAGS\"] = '$(inherited) \"-ObjC\"'\r\n        end\r\n    end\r\n  end\r\nend\r\n```\r\nBridging header\r\n```\r\n#import <Appboy_tvOS_SDK/AppboyKit.h>\r\n```\r\n\r\nIn AppDelegate import...\r\n```\r\nimport Appboy_tvOS_SDK\r\n```\r\n\r\n...and calling the class\r\n```\r\nAppboy.start(withApiKey: \"6deb7788-edee-4a02-b75a-a254cdb9f58b\", in:application, withLaunchOptions:launchOptions)\r\n```\r\n\r\nComplete forked project is on:\r\nhttps://github.com/peruginni/appboy-ios-sdk\r\n\r\n"}}
{"actor":{"display_login":"peruginni"}}