-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Lots of linker warnings in Xcode 7 / iOS 9 SDK — built for newer iOS version (9.0) than being linked (8.2) #1707
Comments
Also reproduces in any project that incorporates Mapbox GL via CocoaPods:
|
Hi!. Any updates on this? |
Just like we hard-code the minimum OS X SDK version. ref mapbox/mapbox-gl-native#1707
@AdrianaPineda, the fix is in mapbox/mason#110. Once that’s merged and the submodule in this repo incorporates that fix (likely via #1962), the warnings will go away. Alternatively, if you’re building your own copy of Mapbox GL, you can edit .mason/mason.sh according to mapbox/mason@f403285, then |
@1ec5 thanks! :) |
Pulled in mason/mason@41d8b2eb28b3cd942d9f15583467b27c549675ea for mapbox/mason#106 and mason/mason@d8597d944533dbb5e28d08dfdba22a82c93171b7 for mapbox/mason#110. Fixes #1957 and fixes #1707.
Any news on this? I'm using Mapbox-ios-sdk 2.1.2 as a cocoa pod and still get these tons of warnings for all the object files. I'd also add that warnings are not harmless and ignoring them has many disadvantages. |
@jhoughjr, I’m not seeing the warnings anymore with 2.1.2 when building in Xcode 7 with the iOS 9 SDK. In the warnings you’re seeing, is the iOS version 9.0 and the linked version 8.2, or something else? |
Indeed, I cannot reproduce these warnings with the recommended podfile. |
Agreed. In this case, I was only recommending to be patient for mapbox/mason#110 to make it into a build, not to ignore the warnings indefinitely. @jhoughjr, did you upgrade the Mapbox iOS SDK pod or install it into a fresh project? If you upgraded it, be sure to fully clean your project before rebuilding: hold down ⌥, then go to Product ‣ Clean Build Folder. |
Pulled in mason/mason@41d8b2eb28b3cd942d9f15583467b27c549675ea for mapbox/mason#106 and mason/mason@d8597d944533dbb5e28d08dfdba22a82c93171b7 for mapbox/mason#110. Fixes mapbox#1957 and fixes mapbox#1707.
I get 28 of these warnings when building the iosapp scheme in Xcode 7 for the iPhone 6 (9.0) simulator:
The text was updated successfully, but these errors were encountered: