Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to automatically set a lowercase bundle identifier

I have set the App ID in iTunes Connect to be lowercase. Since App IDs are case sensitive, and must match the Bundle Identifier, I now have to change my Bundle Identifier to be lowercase too.

However, this is set automatically by Xcode, and I only know how to edit the info.plist file with an explicit bundle identifier.

Is it possible to tell Xcode to automatically set the bundle identifier, but transform it case to be lowercase?

like image 265
Yoav Avatar asked Apr 02 '14 12:04

Yoav


1 Answers

Yes. You can use this trick instead of setting the bundle identifier statically:

com.yourcompany.${PRODUCT_NAME:rfc1034identifier:lower}

like image 69
Yoav Avatar answered Nov 03 '22 00:11

Yoav