我試圖測試一個.ipa文件,但是當我用xCode安裝它時,出現以下錯誤:安裝應用程序時,請在選項字典中包含kCFBundleIdentifierKey。無法安裝iOS應用程序
我已經檢查並重新檢查了我的包ID,它與我的特別配置文件相匹配,所以這裏有什麼問題?如果我用iTunes安裝應用程序,應用程序圖標會變灰,如果我按下應用程序打開它,它只會寫「安裝...」,並一直說。
任何幫助表示讚賞,一直堅持這個現在5小時:(
繼承人我的.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>GolfBox</string>
<key>CFBundleExecutable</key>
<string>GP Mobil</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>icon.png</string>
<string>[email protected]</string>
</array>
</dict>
</dict>
<key>CFBundleIdentifier</key>
<string>dk.golferportal.golfersDK</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>dk.golferportal.golfersDK</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.7.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
<string>MainWindow</string>
<key>UIStatusBarHidden</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
解決方法:不要使用「「(空格)在.ipa文件的文件名中
[Ad Hoc發佈應用程序灰色,從iTunes傳輸到iPhone後可能有重複](http://stackoverflow.com/questions/20973028/ad-hoc-distribution-app-is-gray-after-transfer- from-itunes-iphone) – rckoenes