Skip to content
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

Fix bitcode issues with Toolkit and Samples app #111

Closed
mhdostal opened this issue Aug 3, 2022 · 2 comments
Closed

Fix bitcode issues with Toolkit and Samples app #111

mhdostal opened this issue Aug 3, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@mhdostal
Copy link
Member

mhdostal commented Aug 3, 2022

There is an issue building the iOS Samples app with the Toolkit using Xcode 14.

Starting with Xcode 14, apple is deprecating the support support for bitcode and we have some build errors related to toolkit with bitcode enabled.

image

ld: '/Users/sara8187/Library/Developer/Xcode/DerivedData/arcgis-ios-sdk-samples-gfsomrmslqsjpnbnfyxlhzaxfjom/Build/Products/Debug-iphoneos/ArcGISToolkit.o' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/sara8187/Library/Developer/Xcode/DerivedData/arcgis-ios-sdk-samples-gfsomrmslqsjpnbnfyxlhzaxfjom/Build/Products/Debug-iphoneos/ArcGISToolkit.o' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

According to the release notes:

image

Unless our plan is to wait until Xcode 14 is released and have that be a minimum requirement, we'll need to continue to include bitcode, which means we'll need to fix whatever is causing the error.

@mhdostal mhdostal added the bug Something isn't working label Aug 3, 2022
@dfeinzimer
Copy link
Collaborator

I've responded in what I believe is the originating issue here.

I also think this issue is more tied to the iOS toolkit. I can clone this issue in that repo if you like but I'm not sure this is a toolkit level issue to begin with (as explained in my response linked above).

@yo1995
Copy link
Contributor

yo1995 commented Aug 12, 2022

iOS Samples app addressed it in Esri/arcgis-runtime-samples-ios#1197
Swift Samples app left it as default in the first place, no need to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants