gpt4 book ai didi

ios - 意外的 CFBundle info.list

转载 作者:行者123 更新时间:2023-11-29 05:09:20 26 4
gpt4 key购买 nike

我遇到问题,在 AppleStore 上传一个 iOS APP,返回此消息:

ITMS-90535: Unexpected CFBundleExecutable Key - The bundle at '/Payload/Mercados.app/AgroMercado/Info.plist' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue.

更新 Pod、删除并创建 CFBundlePackageType 并设置 BNDL...但不起作用。帮助:(

我的信息.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>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>AWS</key>
<dict>
<key>CredentialsProvider</key>
<dict>
<key>CognitoIdentity</key>
<dict>
<key>Default</key>
<dict>
<key>PoolId</key>
<string>us-east-1:d4df68f8-825d-4052-a0d9-cbbf1b16cc16</string>
<key>Region</key>
<string>USEast1</string>
</dict>
</dict>
</dict>
<key>MobileAnalytics</key>
<dict>
<key>Default</key>
<dict>
<key>AppId</key>
<string>2203ad8470a54fd2845b2ea07a9c0900</string>
<key>Region</key>
<string>USEast1</string>
</dict>
</dict>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Mercados</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>whatsapp</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>googleapis.com</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>sader.gob.mx</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
<key>NSCameraUsageDescription</key>
<string>Upload pictures taken with camera to register your products in App Mercados.</string>
<key>NSLocationUsageDescription</key>
<string>Activa Localización para que &quot;Apoyos Sagarpa&quot; identifique las ventanillas más cercas a tu ubicación.</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Upload pictures you&apos;ve taken to share product in App Mercados.</string>
<key>NSPrincipalClass</key>
<string></string>
<key>UIAppFonts</key>
<array>
<string>FF Clan OT Black.otf</string>
<string>FF Clan OT Bold.otf</string>
<string>FF Clan OT Book.otf</string>
<string>FF Clan OT Medium.otf</string>
<string>FF Clan OT Narrow Black.otf</string>
<string>FF Clan OT Narrow Bold.otf</string>
<string>FF Clan OT Narrow Book.otf</string>
<string>FF Clan OT Narrow Medium.otf</string>
<string>FF Clan OT Narrow News.otf</string>
<string>FF Clan OT Narrow Thin.otf</string>
<string>FF Clan OT Narrow Ultra.otf</string>
<string>FF Clan OT News.otf</string>
<string>FF Clan OT Thin.otf</string>
<string>FF Clan OT Ultra.otf</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIRequiresFullScreen</key>
<true/>
<key>UIStatusBarHidden</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>

最佳答案

这是必需的。

CFBundleExecutable 通常指向 $(EXECUTABLE_NAME)确保:

指定的路径似乎是您的主应用程序,而不是任何框架。

打开应用程序的 Info.plist

  1. key 存在
  2. 键指定的值存在并且是正确

这里有一些注释:

  1. 您应该将 CFBundleName 保留为 $(PRODUCT_NAME)
  2. 您应该将 CFBundlePackageType 保留为 $(PRODUCT_BUNDLE_PACKAGE_TYPE)

尝试将这些值恢复为 Apple 默认值,然后重试。

关于ios - 意外的 CFBundle info.list,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59832406/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com