DEPRECATED-mapbox-ios-sdk icon indicating copy to clipboard operation
DEPRECATED-mapbox-ios-sdk copied to clipboard

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

Open awedeebawe opened this issue 9 years ago • 4 comments

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?

awedeebawe avatar May 27 '15 08:05 awedeebawe

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

incanus avatar May 27 '15 15:05 incanus

Objective-C

awedeebawe avatar May 27 '15 15:05 awedeebawe

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.

username0x0a avatar Jun 04 '15 07:06 username0x0a

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

JohnRbk avatar Jun 16 '15 14:06 JohnRbk