我在下面列出的Xcode 9中遇到了这样的错误:
%appName% does not have an architecture that %deviceName% can execute.
Target 'Pods-%appName%' of project 'Pods' was rejected as an implicit dependency for 'Pods_%appName%.framework' because its architectures 'armv7' didn't contain all required architectures 'arm64'
尽管如此,我还是有正确的项目设置:
Valid Arhitectures
设置为arm64 armv7 armv7s
Build Active Architecture Only
仅在Debug
模式下启用。 很长一段时间我都无法理解原因。我走错了路,踩着耙子。我在SO学到了关于Xcode / Cocoapods的所有问题,但没有得到答案。
如果您遇到此类错误,解决方案如下所示。
答案 0 :(得分:0)
将architecture
视为target
,将target
更改为相应的$("#tribute_type").value = "tribute_type_value1"
,就像在设备上一样。