简体   繁体   中英

Best way to correct bundle ID

I just realized that something is not working because the case doesn't match in my bundle IDs between iTunes connect and my app in Xcode.

I've run into problems before with case mismatch, so I want to get a consensus on how to fix this problem before I try anything.

The iTunes connect version has an all lower case bundle ID. My project in Xcode has lower case for the revers domain name part but a capital letter for the first letter of the last word.

What's the best way to fix this without creating more problems?

You should simply hardcode the bundle ID to a string that matches the Bundle ID in iTunes Connect, rather than using the ${PRODUCT_NAME} variable. That way, even if you were to change the app name, the bundle ID will always match.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM