简体   繁体   中英

Error while archiving react-native iOS project for testflight, app-icon

I am trying to Archive a react-native iOS app in preparation of distributing via TestFlight. I already added app icons of several resolutions, but I am still getting errors of missing app icons. 应用程序图标

and here is the error.

存档时出错

I also have App Icons Source set to AppIcon in the General tab of the project.

This is a react native app, which I am trying to distribute it to testers via TestFlight.

Check your target for the source of App Icons.

应用程序图标源

It means only icons inside AppIcon are effected.

You could use tool like MakeAppIcon that generate all icons that you need.

I started the react native development from a seed git repo. Even though I had all the icons in Images.xcassets, the problem was, in the "Build Phases" I had another shared resources of another xcassets which was blank (had no icons) in the "Copy Bundle resources". I copied the images from Images.xcassets to that shared resources and I was able to archive it successfully. 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM