我正在尝试提交我的iOS应用程序,我收到了以下错误:
Your iOS app icon is missing or is an invalid format. The icon must be a 1024x1024 PNG image with no transparency.
Please check your icon image and icon configuration in app.json.
Learn more: https://docs.expo.dev/guides/app-icons/
[stderr] [!] Error uploading ipa file:
[stderr] [Transporter Error Output]: ERROR ITMS-90713: Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'com.lab.app'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7.
[stderr] [Transporter Error Output]: ERROR ITMS-90022: Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface
[stderr] [Transporter Error Output]: ERROR ITMS-90704: Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review. For details, see https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/.
[stderr] \nERROR ITMS-90704: Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review. For details, see https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/. entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface
[stderr] [Transporter Error Output]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
fastlane pilot failedfastlane exited with non-zero code: 1
我正在使用eas build
和eas build
。
检查:
1024x1024
"expo": { ... "icon": "./assets/icon.png",
H 218H 119
由于我使用的是expo prebuild
,我确保图标在ios/app/Images.xcassets\AppIcon.appiconset
AppIcon.png
,这是ios的默认名称,与官方世博会名称相匹配的AppIcon1024x1024.png
AppIcon1024x1024.png
<key>CFBundleIconName</key> <string>AppIcon</string>
中添加了<key>CFBundleIconName</key> <string>AppIcon</string>
可能的原因?
expo prebuild
。但是,当我删除ios
文件夹并尝试使用expo prebuild
再次生成它时,它不会生成。不知道为什么。我之所以拥有ios
文件夹的唯一原因是因为我使用expo init --template bare-minimum
启动了一个新的世博项目。我已经尝试了各种方法来获得iosfolder generated but no success. **BUT**, when I edited files in the folder like adding
CFBundleVersion 19and
PRODUCT_BUNDLE_IDENTIFIER = com.lab.app;`,它确实反映了构建的过程。-
,就像我在package.json
:"name": "app-name"
中一样。但是当我使用`appname.xcodeproj.创建它时,它删除了-
,因此ios
中的文件夹被命名为:appname
&-
发布于 2022-01-10 18:57:02
因此,针对ios应用程序的世博预构建甚至在windows上都不起作用
expo prebuild -p ios
Ejecting is unsupported locally on windows, use eas build instead
⚠️ Skipping generating the iOS native project files. Run expo eject again from macOS or Linux to generate the iOS project.
发布于 2022-08-20 10:04:57
我也遇到了类似的问题,但是设置图标i app.config.js (不仅在app.json中)的路径使我能够创建一个构建,以后可以使用"eas -p ios“提交该构建。
app.config.js:
export default {
icon: "./app/assets/logo.png",
// Other config...
};
https://stackoverflow.com/questions/70654582
复制相似问题