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

Crash on startup after update to XCode 16 (iOS 18) #794

Open
mxkdev opened this issue Sep 23, 2024 · 0 comments
Open

Crash on startup after update to XCode 16 (iOS 18) #794

mxkdev opened this issue Sep 23, 2024 · 0 comments

Comments

@mxkdev
Copy link

mxkdev commented Sep 23, 2024

I upgraded to XCode 16 (iOS18.0) and I am getting the following crash when running the app on a device other than IOS 18.0. I have double checked that it's the problematic package, so removing the use of FSS makes the app run. The crash occurs before any Flutter main code is executed. It is enough to have the package imported. Cleaning, deintegrating, etc. did not help unfortunately.

dyld[714]: Symbol not found: _$sSS10FoundationE4data5using20allowLossyConversionAA4DataVSgSSAAE8EncodingV_SbtF Referenced from: <CE61E755-2CA0-3F5C-A8B6-B3E498CCFC0C> /private/var/containers/Bundle/Application/5DDEE4C7-511A-4C41-9885-05ADC7228007/Runner.app/Frameworks/flutter_secure_storage.framework/flutter_secure_storage (built for iOS 18.0 which is newer than running OS) Expected in: <D27A6EC5-943C-3B0E-8D15-8840FD2914F0> /System/Library/Frameworks/Foundation.framework/Foundation

flutter_secure_storage: ^9.2.2

It also happened on 8.0.0 so maybe just something with the build process? I did the CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; fix for Firebase but nothing else. I am targeting iOS 12.0.

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

1 participant