

No symbols/file Missing required architecture x86_64 ld: warning: ignoring file /Users/./Library/Developer/Xcode/DerivedData/./Build/Products/Debug-iphonesimulator/libAAA.a, missing required architecture x86_64 in file /Users/./Library/Developer/Xcode/DerivedData/./Build/Products/Debug-iphonesimulator/libAAA.a (2 slices) Check the Pod post_install docs for a list of variables. If any target/sub-project overrides architectures you may need to use installer.generated_pod_targets or installer.pod_target_subprojects to update those too. This will only update the Pods project itself. Installer.pods_project.build_configurations.each do |config|Ĭonfig.build_settings"] = "x86_64" This applies the fix after running pod install: post_install do |installer|


Projects that come from Pods need have their build settings updated via the Podfile's post_install instead. More detail on applying this fix to Xcode/CMakeList.txt in this thread. Warning: ignoring file - link with incompatible architecture ld: warning: ignoring file /Users/./Library/Developer/Xcode/DerivedData/./Build/Products/Debug-iphonesimulator/libAAA iOS.a, building for iOS Simulator-x86_64 but attempting to link with file built for iOS Simulator-arm64Īll of the above errors/warnings were fixed by updating the build settings of every project in the workspace to build iOS Simulators for the x86_64 architecture exclusively. … not found / built for arm64 warning: framework not found ld: warning: directory not found for option '-F/Users/./Library/Developer/Xcode/DerivedData/./Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AAA'Įrror: module map file not found :0: error: module map file '/Users/./Library/Developer/Xcode/DerivedData/./Build/Products/Debug-iphonesimulator/AAA/AAA.modulemap' not found I wanted to share the errors we encountered and how we fixed them in case anyone needs them as some of them I couldn’t find anywhere online. We’ve since fixed the issues and have iOS Simulators working again. It may also be useful to note I’m doing this on macOS Catalina 10.15.7. After upgrading to Xcode 12 (12.4) our Cocos2d-x 3.17.2 games would no longer compile for iOS Simulators.
