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

Deployment Target can't be 7.0? #112

Closed
JoaoCnh opened this issue Oct 21, 2015 · 3 comments
Closed

Deployment Target can't be 7.0? #112

JoaoCnh opened this issue Oct 21, 2015 · 3 comments

Comments

@JoaoCnh
Copy link

JoaoCnh commented Oct 21, 2015

For the deployment target of 7.0 the build fails saying:

libRCTMapboxGL.a was built for a newer iOS version (8.3) than being linked (7.0).

Is there something that can be done about this or it's a requirement iOS 8.3 or above devices?

@JoaoCnh
Copy link
Author

JoaoCnh commented Oct 22, 2015

I need urgent help on this matter I can't seem to be able to get this thing into any device.

linker command failed with exit code 1 (use -v to see invocation)

and more specifically:

libRCTMapboxGL.a(RCTMapboxGL.o) was built for newer iOS version (8.3) than being linked (7.0)

and another

libRCTMapboxGL.a(RCTMapboxGL.o) does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obvtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7

Can someone help?

@friedbunny
Copy link
Contributor

The "was built for newer iOS version (8.3) than being linked" warning is non-fatal and we've seen it upstream (mapbox/mapbox-gl-native#1707). It appears to be an Xcode 7 bug.

Bitcode is where this is falling down. Mapbox iOS will support bitcode in v2.2 (mapbox/mapbox-gl-native#2332), but for now you must disable bitcode on every project, subproject, and target.

screen shot 2015-10-22 at 11 00 20 am

@JoaoCnh JoaoCnh closed this as completed Oct 26, 2015
@nevir
Copy link

nevir commented Nov 1, 2015

The "was built for newer iOS version (8.3) than being linked" warning is non-fatal and we've seen it upstream (mapbox/mapbox-gl-native#1707). It appears to be an Xcode 7 bug.

The iOS version warning is due to your project's settings. It specifies IPHONEOS_DEPLOYMENT_TARGET = 8.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants