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;

猜你喜欢

转载自blog.csdn.net/weixin_42998230/article/details/109745269