It seems that the build system has changed from XCode12,
building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
It seems that some projects cannot be built due to an error.
It seems that arm64 should be removed from Architectures.
Build Settings > Architectures > Excluded Architectures > Any iOS Simulator SDK = arm64
If there is an error in the CocoaPods library, add ↓ to Podfile
.
Podfile
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
if config.name == "Develop"
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
end
end
end
Recommended Posts