The following build commands failed:
Ld /Build/Intermediates.noindex/App.build/Release-iphonesimulator/App.build/Objects-normal/arm64/Binary/App normal arm64
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
Basically you have to exclude arm64 for simulator architecture both from your project and the Pod project,
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator]' => 'arm64' }
user_target_xcconfig 設(shè)置不推薦
在 podspec 文件中添加 s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 arm64' },如果項(xiàng)目已經(jīng)設(shè)置 pod_target_xcconfig,添加到已有值的后面潮峦。