简体   繁体   English

使用框架调试Xcode项目

[英]Debugging Xcode project with framework

currently we've build an app including a pairing library. 目前,我们正在构建一个包含配对库的应用。 this works perfect when we use the simulator or connect an iphone/ipad to test the app. 当我们使用模拟器或连接iphone / ipad来测试应用程序时,这非常完美。 at the moment we're ready to upload it to the appstore and there's suddenly an error: this is the message: 目前,我们准备将其上传到应用商店,并且突然出现错误:这是消息:

Xcode错误图片

You should add a run script phase that removes the x86_64 architecture from your library (after all, it is only there for simulator runs and isn't needed for AppStore distribution). 您应该添加一个运行脚本阶段,该阶段将从您的库中删除x86_64体系结构(毕竟,它仅在模拟器运行时存在,而AppStore分发则不需要)。 Use the solution described here: http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/ 使用此处描述的解决方案: http : //ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM