【发布时间】:2014-01-08 09:07:59
【问题描述】:
我正在尝试测试一个 .ipa 文件,但是当我使用 xCode 安装它时出现以下错误:请在安装应用程序时将 kCFBundleIdentifierKey 包含在选项字典中。
我检查并重新检查了我的捆绑包 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>icon@2x.png</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 文件的文件名中使用“”(空格)
【问题讨论】:
标签: ios iphone xcode installation ipa