-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build for iOS fails when Bitcode is enabled #12
Comments
Hey, so previously it doesn't happen to you? |
No, only after migrating to new |
So you regenerate the Podfile for your project, right? What is your current Cocoapods and Flutter version? Knowing these will help me get it reproduced locally. |
The Flutter version is in the first post, CocoaPods version is 1.9.3 |
I tried it locally, but can't get it reproduced. However, the versions for each tools I am using are Would you like to try to switch same versions and give it a shot? |
This is still happening in latest 1.20 stable, did you enable bitcode in order to trigger the error? |
I did enable it. Would you mind sending me an example app so I can try it out on my end if possible? |
I have the same problem.
|
Same problem here, |
I have the same problem. I wanted to reduce the app size, so I enabled the bitcode flag. Then the project failed to build:
|
here is the output of flutter doctor:
I'm using |
I solved my issue. According to flutter documentation:
https://github.com/flutter/flutter/wiki/Creating-an-iOS-Bitcode-enabled-app |
@zjamshidi Thank you very much! I've put this into our documentation under FAQ section. |
This will probably have to be updated too: https://github.com/amplitude/Amplitude-Flutter/search?q=ENABLE_BITCODE&unscoped_q=ENABLE_BITCODE Example: https://github.com/flutter/flutter/pull/39851/files |
As this plugin is now using the iOS pod natively, maybe bitcode should be enabled there?
|
After regenerating the
Podfile
file usingrm ios/Podfile
, and trying to build, the build fails. This was done because the tool itself suggested it (maybe some changes to that file in latest Flutter versions).This is the related error log:
The text was updated successfully, but these errors were encountered: