[英]Build error after upgrading from Xcode 6 to Xcode 7
My project was successfully building and archiving when i used to Xcode 6.4. 当我习惯使用Xcode 6.4时,我的项目已成功构建和归档。 But, because of project specs, i upgrade my Xcode to 7.1. 但是,由于项目规范,我将Xcode升级到7.1。 After upgrading, i got some build errors like: 升级后,我遇到了一些构建错误,例如:
clang: error: unknown argument: '-finalize' 铛:错误:未知参数:'-finalize'
clang: error: unknown argument: '-prefinalized-library' 铛:错误:未知参数:'-prefinalized-library'
clang: error: unknown argument: '-finalized-product' 铛:错误:未知参数:'-finalized-product'
These were the members of "Other Linker Flags" and i remove them from the list (only from Release List). 这些是“其他链接器标志”的成员,我将它们从列表中删除(仅从发行列表中)。 I am not sure whether it is correct or not. 我不确定这是否正确。
Then, i am able to build when Build Configuration of Scheme was Debug . 然后,我可以在Scheme的 Build Configuration为Debug时进行构建 。 But, if it Release , i can not build and gives that error: 但是,如果它是Release ,我将无法构建并给出该错误:
clang: error: no such file or directory: '.../Library/Developer/Xcode/DerivedData/sample-ftkjbpybhvbkdbfhuublkrbfuddf/Build/Intermediates/ArchiveIntermediates/sample/BuildProductsPath/Release-iphoneos//sample.app/sample' 铛声:错误:没有这样的文件或目录:'... / Library / Developer / Xcode / DerivedData / sample-ftkjbpybhvbkdbfhuublkrbfuddf / Build / Intermediates / ArchiveIntermediates / sample / BuildProductsPath / Release-iphoneos // sample.app / sample'
I searched over internet and forums, and find nothing. 我在互联网和论坛上进行了搜索,但一无所获。
Thanks in advance & regards.. 在此先感谢与问候。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.