ShoutSocial / share_handler

A plugin to facilitate receiving and handling share intents
43 stars 45 forks source link

Potential bitcode compile error bug ios #44

Closed TomBursch closed 1 year ago

TomBursch commented 1 year ago

After upgrading to the newest flutter version and upgrading dependencies I am encountering the following error while trying to build the ios version (note that it has worked before)

ld: '/Users/*/Library/Developer/Xcode/Derived/Data/Runner-.../Build/Products/Debug-iphoneos/device_info_plus/device_info_plus.framework/device_info_plus' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated libary from the vendor, or disable bitcode for this target. file '/Users/*/Library/Developer/Xcode/Derived/Data/Runner-.../Build/Products/Debug-iphoneos/device_info_plus/device_info_plus.framework/device_info_plus' fpr architecture arm64
clang: linker command failed with exit code 1 (use -v to see invocation)

I've followed the instructions for setup. I think this has something to do with the device info plus package, but I'm not sure what the issue is. If I look at the pods target for device_info_plus bitcode is disabled but enabling it throws many more errors.

Do you think this is an issue with this package? Thanks for the project & help!

TomBursch commented 1 year ago

Okay, I think it was an issue on my end. Upgraded some dependencies/tool/macOS and now it seems to work again.