flutter_flavorizr
flutter_flavorizr copied to clipboard
Solution For Flutter Build ipa Failed
trafficstars
After add flavor scheme to iOS, I get this error when execute flutter build ipa -t lib/main_dev --flavor dev comand.
Xcode archive done. 96.6s
Failed to build iOS app
Error output from Xcode build:
↳
objc[33436]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib
(0x2052c2b90) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
(0x1062a82c8). One of the two will be used. Which one is undefined.
objc[33436]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x2052c2be0)
and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
(0x1062a8318). One of the two will be used. Which one is undefined.
** ARCHIVE FAILED **
...
ld: bitcode bundle could not be generated because
'/Users/marno/code/app/ios/Pods/BIJKPlayer/IJKMediaPlayer.framework/IJKMediaPlayer(IJKKVOControll
er.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from
Xcode Archive or Install build file
'/Users/marno/code/app/ios/Pods/BIJKPlayer/IJKMediaPlayer.framework/IJKMediaPlayer' for
architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
...
If you have the same problem as me, you can try setting this option [Enable Bitcode] to NO in xcode.
