首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >使用eas提交的AppIcon应用程序提交失败

使用eas提交的AppIcon应用程序提交失败
EN

Stack Overflow用户
提问于 2022-01-10 15:10:49
回答 2查看 728关注 0票数 0

我正在尝试提交我的iOS应用程序,我收到了以下错误:

代码语言:javascript
运行
复制
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/
代码语言:javascript
运行
复制
[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 buildeas build

检查:

1024x1024

  • Format是.png

  • 图标在博览go

  • 中被配置成:"expo": { ... "icon": "./assets/icon.png",

  • the图标在正确的文件夹H 218H 119由于我使用的是expo prebuild,我确保图标在ios/app/Images.xcassets\AppIcon.appiconset

  • I中也有与其他名称相同的图标:AppIcon.png,这是ios的默认名称,与官方世博会名称相匹配的AppIcon1024x1024.png AppIcon1024x1024.png

  • I在<key>CFBundleIconName</key> <string>AppIcon</string>中添加了<key>CFBundleIconName</key> <string>AppIcon</string>

可能的原因?

  1. 我在用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 addingCFBundleVersion 19andPRODUCT_BUNDLE_IDENTIFIER = com.lab.app;`,它确实反映了构建的过程。

  1. 我的应用程序名包括-,就像我在package.json"name": "app-name"中一样。但是当我使用`appname.xcodeproj.

创建它时,它删除了-,因此ios中的文件夹被命名为:appname &-

EN

回答 2

Stack Overflow用户

发布于 2022-01-10 18:57:02

因此,针对ios应用程序的世博预构建甚至在windows上都不起作用

expo prebuild -p ios

代码语言:javascript
运行
复制
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.
票数 0
EN

Stack Overflow用户

发布于 2022-08-20 10:04:57

我也遇到了类似的问题,但是设置图标i app.config.js (不仅在app.json中)的路径使我能够创建一个构建,以后可以使用"eas -p ios“提交该构建。

app.config.js:

代码语言:javascript
运行
复制
export default {
  icon: "./app/assets/logo.png",
  // Other config...
};
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70654582

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档