chenxianqi / flutter_mimc

flutter_mimc
https://pub.dev/packages/flutter_mimc
Other
47 stars 11 forks source link

flutter build error /arm64/Binary/flutter_mimc normal arm64 #11

Open LuckyRoc opened 4 years ago

LuckyRoc commented 4 years ago

执行 flutter build ios-framework --output=framework/ `Unable to build plugin frameworks: BUILD FAILED

The following build commands failed: Ld //im_kit/module/framework/Release/iphoneos/Pods.build/Release-iphoneos/flutter_mimc.build/Objects-normal/arm64/Binary/flutter_mimc normal arm64 (1 failure)`

chenxianqi commented 4 years ago

Can you provide more information? flutter doctor -v

LuckyRoc commented 4 years ago

image

LuckyRoc commented 4 years ago

image

chenxianqi commented 4 years ago

Hi, repository is not currently adapted to a higher version of flutter, current version is v1.12.13+hotfix.9, Welcome to submit a PR To adapt, thank you

chenxianqi commented 4 years ago

I currently don’t have time to adapt, I need more people to maintain this project, please feel free to mention

LuckyRoc commented 4 years ago

ld: bitcode bundle could not be generated because 'plugins/flutter_mimc/ios/Frameworks/MMCSDK.framework/MMCSDK(MCUser.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7

I found that MMCSDK was built without full bitcode caused this problem

LuckyRoc commented 4 years ago

I have fixed the problem, add s.xcconfig = {'ENABLE_BITCODE' =>'NO’} to the podspec to solve it