Info.plist中有些設定令人搞不清楚,項目Bundle name 和 Bundle display name看起來差不多,可是實際功用卻不相同!
Key的名稱分別如下:
“CFBundleName" = “HappyHeart";
“CFBundleDisplayName" = “HappyHeart";
那麼兩者差別為何?
Bundle name會出現在像詢問權限:
若我沒有填寫,則預設為Target名稱「TestDeviceSDK」。
Bundle display name則會顯示在桌面上App的名稱。
此兩者我目前都設定一樣的字串。
![[iOS] Bundle name 和 Bundle display name.png](https://cg2010studio.com/wp-content/uploads/2018/01/ios-bundle-name-e5928c-bundle-display-name.png?w=540)
![[iOS] Bundle name 和 Bundle display name.PNG](https://cg2010studio.com/wp-content/uploads/2018/01/ios-bundle-name-e5928c-bundle-display-name1.png?w=540)
隨意留個言吧:)~