小编Leo*_*ira的帖子

包中的 info.plist 必须包含 CFBundleVersion 键

在使用新版本上传到苹果之前,我试图验证该应用程序,但出现此错误:

“包中的 info.plist 必须包含 CFBundleVersion 键。”

但是什么包?它可能与框架有关吗?

两个键都在文件中,所以我不知道发生了什么

<?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>en</string>
        <key>CFBundleDisplayName</key>
        <string>${PRODUCT_NAME}</string>
        <key>CFBundleExecutable</key>
        <string>${EXECUTABLE_NAME}</string>
        <key>CFBundleIdentifier</key>
        <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundleName</key>
        <string>${PRODUCT_NAME}</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>2.0</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
        <string>2.0</string>
        <key>Fabric</key>
        <dict>
            <key>APIKey</key>
            <string></string>
            <key>Kits</key>
            <array>
                <dict>
                    <key>KitInfo</key>
                    <dict/>
                    <key>KitName</key>
                    <string>Crashlytics</string>
                </dict>
            </array>
        </dict>
        <key>ITSAppUsesNonExemptEncryption</key>
        <false/>
        <key>LSApplicationQueriesSchemes</key>
        <array>
            <string>comgooglemaps</string>
        </array>
        <key>LSRequiresIPhoneOS</key>
        <true/>
        <key>UIAppFonts</key>
        <array>
            <string>ProximaNova-Light.otf</string>
            <string>ProximaNova-Semibold.otf</string>
            <string>ProximaNova-Regular.otf</string>
            <string>ProximaNova-LightItalic.otf</string>
        </array>
        <key>UIBackgroundModes</key>
        <array>
            <string>remote-notification</string>
        </array>
        <key>UIFileSharingEnabled</key>
        <true/>
        <key>UILaunchStoryboardName</key>
        <string>LaunchScreen</string>
        <key>UIMainStoryboardFile</key>
        <string>Main</string> …
Run Code Online (Sandbox Code Playgroud)

validation info.plist plist swift swift2

6
推荐指数
1
解决办法
6036
查看次数

标签 统计

info.plist ×1

plist ×1

swift ×1

swift2 ×1

validation ×1