美文网首页
ios版本各类报错处理方法

ios版本各类报错处理方法

作者: insomniax | 来源:发表于2016-12-17 10:03 被阅读0次

初学Reac Native,发现各种坑,各种异常报错,整理如下报错情况及解决办法以便日后回顾。
如果你觉得帮到你了,请点赞。

1. 当发布状态设置为Release时出现"___gxx_personality_sj0", referenced from

解决方法:
在发布时,去掉Test发布

Edit Scheme

Paste_Image.png

确认Dead Code Stripping里面Debug=No

Paste_Image.png

2. 安装到手机时出现 App installation failed

This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.

Paste_Image.png

Xcode->Device里面删除有冲突的APP,一般为之前发到手机上使用统一bundleID的APP有冲突。

Paste_Image.png Paste_Image.png

3. Code signing is required for XXXXX requires a development team error

确认添加了正确的Apple Developer ID

Paste_Image.png

注意要在Targets中项目本身和Test项目中都设置

Paste_Image.png

如果可以的话万事大吉,不可以的话运行一下

Product->Clean,然后重启XCode

Paste_Image.png

相关文章

网友评论

      本文标题:ios版本各类报错处理方法

      本文链接:https://www.haomeiwen.com/subject/sguomttx.html