简体   繁体   English

XCode6无法创建存档?

[英]XCode6 cannot create archive?

I have a project which works just fine in the simulator and on the real devices (iPhone 5, iPhone 4 and iPad) but when I try to create an archive (I would like to make an .IPA for TestFlight) there are errors which appear only in one file. 我有一个在模拟器和实际设备(iPhone 5,iPhone 4和iPad)上都能正常运行的项目,但是当我尝试创建存档(我想为TestFlight创建.IPA)时,会出现错误仅在一个文件中。 I have similar code into other files but there everything is ok. 我在其他文件中也有类似的代码,但是一切正常。

在此处输入图片说明在此处输入图片说明在此处输入图片说明在此处输入图片说明在此处输入图片说明

我不知道这是否是答案。.我没有足够的声誉来发表评论..所以我在这里写它..我认为您还需要添加bolts.framework和parse。

I found what I was doing wrong: 我发现自己做错了:

I set the destination to the bridging header file for Debug mode but not for Relese one and for this reason everything works with the simulator and the real device when only testing but for TestFlight it couldn't find the headers. 我将目标位置设置为Debug模式的桥接头文件,而不是Relese模式的头文件,因此,仅在测试时(对于TestFlight而言)找不到头文件,因此一切都可以与模拟器和实际设备一起使用。

Thank you for everyone for the help! 谢谢大家的帮助!

在此处输入图片说明

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

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