在实际设备中运行程序时xcode崩溃

时间:2016-02-15 18:16:42

标签: ios swift

您好我是iOS开发新手,使用xcode 7.2和swift作为编程语言。我正致力于集成Google API以编程方式发送邮件。当我在模拟器中运行项目时它工作得很好但是如果我在实际设备中运行它会抛出错误

dyld: Library not loaded: @loader_path/../Frameworks/GTL.framework/GTL
Referenced from: /private/var/mobile/Containers/Bundle/Application/9EC87076-4ACC-464A-AA7F-5133EF51F946/AppName.app/AppName.

Targets->General->Linked Frameworks and Libraries-> GTL.framework -Required中的设置更改为Optional后,错误消失了,但在运行应用时出现错误

NSForwarding: warning: object 0xcab20 of class 'GTLServiceGmail' does not implement methodSignatureForSelector: -- did you forget to declare the superclass of 'GTLServiceGmail'?
2016-02-15 23:38:49.579 AppName[675:190073] *** NSForwarding: warning: object 0xcab20 of class 'GTLServiceGmail' does not implement doesNotRecognizeSelector: 

如何解决这个问题?请指导我。

提前致谢。

0 个答案:

没有答案