简体   繁体   English

为 testflight、app-icon 归档 react-native iOS 项目时出错

[英]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.我正在尝试存档一个 react-native iOS 应用程序,以准备通过 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.我还在项目的常规选项卡中将 App Icons Source 设置为 AppIcon。

This is a react native app, which I am trying to distribute it to testers via TestFlight.这是一个本机应用程序,我试图通过 TestFlight 将其分发给测试人员。

Check your target for the source of App Icons.检查您的目标以获取应用程序图标的来源。

应用程序图标源

It means only icons inside AppIcon are effected.这意味着只有AppIcon内的图标会受到影响。

You could use tool like MakeAppIcon that generate all icons that you need.您可以使用像MakeAppIcon这样的工具来生成您需要的所有图标。

I started the react native development from a seed git repo.我从种子 git repo 开始了 react native 开发。 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".尽管我在 Images.xcassets 中有所有图标,但问题是,在“构建阶段”中,我有另一个 xcassets 的另一个共享资源,它在“复制捆绑资源”中是空白的(没有图标)。 I copied the images from Images.xcassets to that shared resources and I was able to archive it successfully.我将图像从 Images.xcassets 复制到该共享资源,并且能够成功存档。 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 react-native ios 应用程序在模拟器和 TestFlight 安装时立即崩溃 - react-native ios app crashes immediately on simulators and TestFlight installs Qt:在Android和iOS上设置app-icon - Qt: Setting the app-icon on Android and iOS 在 react-native ios 版本中找不到应用程序图标 - Can't find app icon in react-native ios build React Native应用程序立即在iOS TestFlight上崩溃 - React Native app crashes immediately on iOS TestFlight 了解 Testflight 崩溃报告 (iOS / React-Native / XCode) - Understanding a Testflight Crash Report (iOS / React-Native / XCode) React-Native应用程序可以构建用于调试,但不能用于存档 - React-Native app can build for debugging but not for archiving 尝试将react-native应用程序与现有ios应用程序集成时出现“ _fbBatchedBridge未定义”错误 - “_fbBatchedBridge is undefined” error while trying to integrate a react-native app with an existing ios app 在iOS设备上运行棒式快速反应本机项目时出错 - Getting error while running clubbed swift & react-native project on iOS device 使用Testflight分发时,React-Native应用程序呈现不同 - React-Native app is rendered different when distributed with Testflight 归档IOS应用程序时编码错误 - Codesign error while archiving IOS app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM