Open flyingcong opened 2 years ago
I was able to fix it by:
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
Then remove the Podfile.lock and run pod install
Thanks for your step by step guidance. It works for me.
In the above answer In the 2nd Step, Screenshot shows "Any SDK" in "Excluded Architectures", it must be "Any iOS Simulator SDK" instead. otherwise, For every SDK either iOS Simulator or iOS Device, arm64 will be excluded, As we know Any iOS device only runs upon arm64, So your build will be failed on the iOS device.
In the above answer In the 2nd Step, Screenshot shows "Any SDK" in "Excluded Architectures", it must be "Any iOS Simulator SDK" instead. otherwise, For every SDK either iOS Simulator or iOS Device, arm64 will be excluded, As we know Any iOS device only runs upon arm64, So your build will be failed on the iOS device.
currently running into the issue by completely excluding arm64 and trying to build on my local iOS device, works fine through emulator though
I downloaded zip and pod install generated Pod installation complete! There are 7 dependencies from the Podfile and 7 total pods installed.
I tried to build linphone-iphone with local linphone sdk with Xcode generator. I'v gotten the last versions by git, and built linphone-iphone in Xcode 13. And all things went right, except the link step. The only error in Xcode list as below:
How can i resolve this problem?