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
iOS: Xcode 15 runtime error: dyld[2683]: Symbol not found: _OBJC_CLASS_$_NSObject #38
Comments
After some research, I have identified the issue. It seems that there is a problem when attempting to catch an exception of an NSObject within a try-catch block, specifically with the new linker in Xcode 15. flutter_keychain/ios/Classes/FlutterKeychainPlugin.m Lines 46 to 60 in 4635beb
It seems to be related to the thread discussed in this post: https://developer.apple.com/forums/thread/735610. When removing the catch clause(L57-L59) for the NSObject, the runtime error mentioned above does not occur. |
This seems to be a linker issue. With xcode 14.3.1 I don't seem to be seeing the issue. |
yep, I have already post it on apple developer forum. I hope Apple can fix this issue in the official release of Xcode 15. Otherwise, we will have to submit workaround code for it. |
Problem still occurring in Xcode 15 latest release |
Has anyone found temporary workarounds? |
https://github.com/idy/flutter_keychain Temporary workaround. |
@jeroentrappers when can we expect a published fix for this issue? |
With the latest release of Xcode 15 , it's still causing the issue while creating the build , can anyone have a temporary solution for this? |
ty guys , it works
ty guys , it works |
Steps to reproduce:
It will build successful but report an runtime error:
dyld[2683]: Symbol not found: _OBJC_CLASS_$_NSObject
.The text was updated successfully, but these errors were encountered: