- ios编译报错“xxx cannot run xxx”
- 【gerrit】Cannot assign user name
- iOS编译时报错The run destination xxx
- Vue 报错:TypeError:Cannot read pro
- 报错:cannot load xxx/xxx: malforme
- 🔥 Pods-xxx-frameworks.sh: Permis
- Cannot run "xxx" without a run d
- No member named XXX in XXX
- iOS 解决pods-frameworks.sh:permiss
- React-native third-party/double-
问题
Xcode升级到Xcode12以后,在编译老工程时报错“iPad Air 2 cannot run xxx. xxx architectures (arm64) include none that iPad Air 2 can execute (Intel 64-bit).”

解决方法
1.切换到工程里的"TARGETS",选择“Build Settings”选项;
2.在“Search”处输入“ VALID_ARCHS”,定位到“ VALID_ARCHS”;

3.单击选中“ VALID_ARCHS”项,点击键盘“delete”按钮直接删除该项;
4.重新运行程序即可。
网友评论