Can't build flutter in Android Studio when use module 'UnleashProxyClientSwift' #6059
Replies: 2 comments 2 replies
-
It looks like there's a mismatch between the architectures being targeted during your build process. Specifically, your build is targeting the Are you using Rosetta for any part of the process? That may cause these types of mismatches. Here are some suggestions:
If you're using CocoaPods, adding this post-install script in your Podfile may help ensure that all pods are built for post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = ''
end
end
end Let us know if any of this helps. |
Beta Was this translation helpful? Give feedback.
-
This feature isn't currently on our roadmap. If you're a paying customer, submitting a support ticket helps us prioritize future updates based on user needs. |
Beta Was this translation helpful? Give feedback.
-
I got this error when building flutter on android studio mac m1, still able to build on xcode
Detail: Swift Compiler Error (Xcode): Could not find module 'UnleashProxyClientSwift' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/vy.nb/Downloads/CODE/kvfnb-app-man/build/ios/Debug-dev-iphonesimulator/UnleashProxyClientSwift.swiftmodule
/Users/vy.nb/Downloads/CODE/kvfnb-app-man/ios/Runner/Unleash/UnleashConfiguration.swift:9:7
Beta Was this translation helpful? Give feedback.
All reactions