react-native项目Xcode打包错误处理

1、ERROR ITMS-90717: “Invalid App Store Icon. The App Store Icon in the asset catalog in ‘xxx.app’ c…

在这里插入图片描述

解决:查看解决方法

2、在这里插入图片描述

解决:需要升级Xcode版本

3、IOS打包app到appstore,一直在Authenticating with the iTunes Store…状态的解决办法

解决:查看解决方法

4、MacBook Air查看图片的种类格式

解决:查看解决方法

5、图片关闭alpha通道(或者打开)

解决:查看解决方法

6、iOS打包“doesn’t support the Push Notifications capability”错误解决方法

解决:查看解决方法

7、使用Xcode10打开老项目,会报这个错误提示 Multiple commands produce

(一堆ttf文件报错)

解决方法:不使用New Build System,在File > Project/Workspace Settings中的Share Project/Workspace Settings 里build system 将New Build System(Default)切换成Legacy build system。参考:查看解决方法

8、在这里插入图片描述

解决:尝试给default:return ‘undefined’

9、error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can’t open file: /Users/admin/Desktop/ZYQMmobile/node_modules/realm/src/…/vendor/realm-ios/librealm-ios-dbg.a (No such file or directory)

翻译:错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法打开文件:/Users/admin/Desktop/ZYQMmobile/node_modules/realm/src/…/vendor /realm-ios/librealm-ios-dbg.a(无此类文件或目录)

解决:将赛格项目此文件放进去

10、ld: library not found for -lstdc++.6.0.9 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Xcode10: -lstdc++.6.0.9 not found

解决:查看解决方法

11、ld: framework not found MAMapKit clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决:复制桌面的 MAMapKit.framework文件放进ZYQMmobile/Libraries中。

12、Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

搜索:*** -[__NSArrayM objectAtIndexedSubscript:]: index 1 beyond bounds [0 … 0]’ was thrown while invoking getCurrentAppState on target AppState with params ( 2, 3)

解决:查看解决方法
查看解决方法

13、react-native iOS UIWebView 解决苹果上架问题

解决:查看解决方法

14、上架app store 邮件提示 The app’s Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.

解决:查看解决方法

15、上架app store提示缺少出口合规证明

解决:查看解决方法

16、undefined is not an object(evaluating RNFSManager.RNFSFileTypeRegular’);

解决:react-native link react-native-fs;
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值