Open PaRaDoX50 opened 2 years ago
bump
@PaRaDoX50 are you still experiencing this issue? If so, can you please update to the latest version (v1.5.0) and let us know if it still persists?
Any update on this?
Same issue happens to me as well
Any update on this?
@PaRaDoX50 are you still experiencing this issue? If so, can you please update to the latest version (v1.5.0) and let us know if it still persists?
I have dropped that project, so I won't be able to assist you with more information.
@jaredmixpanel I'm also getting this error. I'm using the latest Flutter version (3.7.9), Xcode 14.3 and mixpanel_flutter 2.1.1. This only happens when building in debug mode for ios simulator. Can you please help?
/Users/liran/.pub-cache/hosted/pub.dev/mixpanel_flutter-2.1.1/ios/Classes/MixpanelTypeHandler.swift:2:9 Could not find module 'Mixpanel' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, at: /Users/liran/Library/Developer/Xcode/DerivedData/Runner-byzfiipvwfspocdgverqnceqomku/Index.noindex/Build/Products/Debug-iphonesimulator/Mixpanel-swift/Mixpanel.framework/Modules/Mixpanel.swiftmodule
I solved it by applying the architectures to be excluded when pod install is running as shown below.
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |build_configuration|
build_configuration.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64 i386'
end
end
...
Bump. This is still an unresolved issue.
I have set
EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64
in the pod file for other important libraries to work (Razorpay). Any workaround to fix this issue? I am using Macbook M1 Air.