有时需要用模拟器允许APP时,会提示错误
xcode - No such Module 'SwiftyJSON',
或者
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7s armv7, EXCLUDED_ARCHS=(
i386
)).
提示错误不是很明确,可以按如下方式解决:
填上这个:
x86_64 arm64 armv7s armv7
如果上面还有错,可以再试试如下:
armv7, armv7s, arm64, arm64e, x86_64