No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s)

寵の児 提交于 2019-12-03 22:37:04

You can override your default variables: Try to use this:

xcodebuild clean build -sdk iphonesimulator7.0 -arch "i386" ONLY_ACTIVE_ARCH=NO VALID_ARCHS="i386 x86_64"

If you building for Simulator - always build for i386/x86_64.

Go to your project settings (not targets). Then open Build Settings and add a value to Valid architectures: i386

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