mapbox / DEPRECATED-mapbox-ios-sdk

REPLACED – use https://www.mapbox.com/ios-sdk instead
https://github.com/mapbox/mapbox-gl-native
Other
323 stars 8 forks source link

iTunes connect deploy problem (solved, but still...) #638

Open awedeebawe opened 9 years ago

awedeebawe commented 9 years ago

I tried countless times to submit my application to iTunes connect, but every time the archive was created, the "Validate..." and "Submit to AppStore" buttons were disabled. I found that the Mapbox SDK headers are in "Private", "Public" and some are in "Project" sections. I moved all headers to "Project" section and I was able to submit my app. Is this the correct approach?

incanus commented 9 years ago

This hasn't been a problem in past. Is this a Swift app?

awedeebawe commented 9 years ago

Objective-C

username0x0a commented 9 years ago

Same issue in our project, moved everything to Project section in our branch.

This may be an interesting note on this:

Technically, the problem isn't that the headers are Public under Copy Headers, it's that Build Settings > Public Headers Folder Path is set to the default of /usr/local/include. If you're building a static library the headers must be Public, so it's more correct if # 3 is to change Public Headers Folder Path to something more sensible like include/$(TARGET_NAME). CopperCash notes this in an answer below.

From a question on StackOverflow – discussion about the difference for static library and subproject linking.

JohnRbk commented 9 years ago

Same issue for me, but easy fix to move all headers to Project section. (My app is in Swift)