Open awedeebawe opened 9 years ago
This hasn't been a problem in past. Is this a Swift app?
Objective-C
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.
Same issue for me, but easy fix to move all headers to Project section. (My app is in Swift)
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?