iphone – Xcode 4.2:Build for Archive很好,但Archive失败并出
发布时间:2020-12-14 19:53:49 所属栏目:百科 来源:网络整理
导读:我正在尝试构建我的应用程序并将其提交到App Store,但 Xcode在尝试这样做时一直给我错误. 当我在模拟器中构建和运行时,它可以工作,当我构建并运行它可以工作的设备时,当我尝试使用构建存档选项时,当我实际尝试存档时,它将失败,出现9或11个错误取决于(恕我直
我正在尝试构建我的应用程序并将其提交到App Store,但
Xcode在尝试这样做时一直给我错误.
当我在模拟器中构建和运行时,它可以工作,当我构建并运行它可以工作的设备时,当我尝试使用构建存档选项时,当我实际尝试存档时,它将失败,出现9或11个错误取决于(恕我直言)它是什么时间. 任何人都知道为什么?我试过跟踪some other tips,例如删除?/ Library / Developer / Xcode / DerivedData中的项目文件夹 另一个用户说清理构建文件夹,但该选项在菜单栏中显示为灰色. 我的所有错误都是文件未找到错误,我使用Three20所以错误是: 'Three20Core/TTCorePreprocessorMacros.h' file not found 'Three20Core/TTDebug.h' file not found 'Three20Core/TTCorePreprocessorMacros.h' file not found 'Three20Core/TTGlobalCore.h' file not found ../scripts/Protect.command: line 23: cd: /Users/[username]/Library/Developer/Xcode/DerivedData/TTCatalog-gcnbfpwscygfrmdhcfiahsatpdba/ArchiveIntermediates/pr/BuildProductsPath/Release-iphoneos/../three20/Three20Network: No such file or directory 'Three20UICommon/private/UIViewControllerGarbageCollection.h' file not found 'Three20Core/TTGlobalCoreLocale.h' file not found 'Three20UICommon/private/UIViewControllerGarbageCollection.h' file not found ../scripts/Protect.command: line 23: cd: /Users/[username]/Library/Developer/Xcode/DerivedData/TTCatalog-gcnbfpwscygfrmdhcfiahsatpdba/ArchiveIntermediates/pr/BuildProductsPath/Release-iphoneos/../three20/Three20UICommon: No such file or directory 解决方法
该错误似乎是环境变量中的路径问题.
只需仔细按照集成Three20库@ https://github.com/facebook/three20中提到的步骤操作即可 确保将配置添加到“所有配置”(调试,发布,分发(如果存在)). 另外,请确保您的Xcode首选项如下 >选择派生数据 – >相对>选择高级 – >遗产 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |