Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

手机更新到iOS16 Xcode14运行报错…… #650

Closed
bingoShawn opened this issue Sep 26, 2022 · 5 comments
Closed

手机更新到iOS16 Xcode14运行报错…… #650

bingoShawn opened this issue Sep 26, 2022 · 5 comments

Comments

@bingoShawn
Copy link

react-native版本: "react-native": "0.62.2"

报错信息:'Application circumvented Objective-C runtime dealloc initiation for object.'
terminating with uncaught exception of type NSException

有没有大神指点一下 不胜感激!

@sunnylqm
Copy link

别说0.62了,最新的0.70都不支持xcode14,cocoapods好像也有兼容问题,且官方还没有明确说明改动

facebook/react-native#34673
CocoaPods/CocoaPods#11402

建议先回滚xcode(以及任何时候不要首先更新)

@bingoShawn
Copy link
Author

别说0.62了,最新的0.70都不支持xcode14,cocoapods好像也有兼容问题,且官方还没有明确说明改动

facebook/react-native#34673 CocoaPods/CocoaPods#11402

建议先回滚xcode(以及任何时候不要首先更新)
回滚Xcode没问题 但是手机已经更新到iOS16了 真机调试没法跑了 这个咋办呢?有什么建议吗? 谢谢了

@xiangsj
Copy link

xiangsj commented Dec 7, 2022

我也报错,刚更新到
macOS 13.0.1
xcode14.1
请问 新系统里 xcode 能回滚不?

@bingoShawn
Copy link
Author

我也报错,刚更新到 macOS 13.0.1 xcode14.1 请问 新系统里 xcode 能回滚不?
目前我的做法是还是用xcode13 然后下载最新的iOS真机的支持包放进去用 就行了 邮件里说错了 还是得回滚低版本xcode 但是我的macOS是12.6 你升级了macOS能不能装xcode13就不知道了 你可以试试 如果不行那你再研究一下该怎么办吧 解决了以后别忘了告诉我一下哈 因为我以后也要面临同样的问题呢

@sunnylqm
Copy link

sunnylqm commented Dec 7, 2022

更新到0.70.3或更高版本,或自己把这个补丁写到 podfile 里
facebook/react-native@37790e4#diff-9237612755b27db29ea9b295070f8a09850608a97583fac9d3555c4a987c2cc0

@sunnylqm sunnylqm closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants