No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s)

…衆ロ難τιáo~ 提交于 2019-11-27 06:43:45

You can set the "Build Active Architecture Only" and "Archs" values from command line itself. We set ARCHS="armv7 armv7s" ONLY_ACTIVE_ARCH=NO.

Eg

/usr/bin/xcodebuild ARCHS="armv7 armv7s" ONLY_ACTIVE_ARCH=NO -workspace -scheme ......

This will free you from manually changing the values in your project settings.

In my case it was empty cell in the 'valid architectures' on the target level which resulted in empty 'resolved' cell.

That lead to empty 'valid architectures' parameter and at the end linker error.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!