OlivierLDff / QtIosCMake

📱 Deploy Qt Application for iOS with a single macro when using CMake.
BSD 3-Clause "New" or "Revised" License
58 stars 15 forks source link

fix xcode warning: CFBundleIdentifier mast be the as the PRODUCT_BUND… #28

Closed Dushistov closed 1 year ago

Dushistov commented 1 year ago

…LE_IDENTIFIER

xcodebuild generates warning during build for iOS: User-supplied CFBundleIdentifier value 'com.application' in the Info.plist must be the same as the PRODUCT_BUNDLE_IDENTIFIER build setting value ''

To fix it I need to use such Info.plist:

 <key>CFBundleIdentifier</key>
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>

But PRODUCT_BUNDLE_IDENTIFIER is not sett by default, so this is fix for this.

OlivierLDff commented 1 year ago

Thanks!