I’m porting a Chrome extension to Safari. I can test the extension locally, it works. I can also build it locally, I get no errors.
When I try to upload it to App Store Connect, I get the following errors:
This doesn’t make much sense to me. I do have valid Bundle identifiers set in my Targets > General > Identity:
But somehow my bundle identifiers do not seem to get applied when an archive is built. I am very new to XCode. Any tips on how to debug and/or fix this would be greatly appreciated.
3
Answers
The problem was not solved by the above suggested questions. It turns out that I had to port the Chrome extension again, using the most recent XCode. (The original porting happened using an earlier version of XCode).
Click on project at the top of the source file tree in the left sidebar, select the target in a mini sidebar on the left, and switch to
Build Settings
. In build settings select the following filter: All, Combined.Then type in the following in the search bar on the right hand side:
PRODUCT_BUNDLE_IDENTIFIER
and verify that both Release and Debug configurations have sane values set. Then do the same forPRODUCT_NAME
.Your bundle identifier has a hyphen in it. That’s what’s illegal about it.