-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 debug builds failing when compiling AESCrypt.cpp #1468
Comments
same builds failing |
It's fixed in the 1.3.x_lts branch. |
@lingol you can't be serious, right? Critical bug that breaks everything and you won't ship 1.3.13 because........ 1.3.12 is just released? Seriously? |
So no, it's not a critical bug to fix in a hurry. |
Here's the hot-fix solution to modify the Podfile to redirect to the lts branch. target 'YourTarget' do
# pod 'MMKV', '~> 1.3.12'
pod 'MMKV', :git => 'https://github.com/Tencent/MMKV.git', :branch => '1.3.x_lts'
end |
@lingol how can Expo users specify a branch in |
@paulschreiber I'm not familiar with that. Tried asking ChatGPT and get a looks like working solution. You can try AI too. Here's my prompt:
|
We fixed our expo builds by just using 1.3.9 |
Not releasing a fix because you just did a release makes no sense. Why not just publish 1.3.13 with this fix?! |
Just out of curiosity, if this is such a pain in the ass, why don't you guys just upgrade to v2.0+? |
Because it's an indirect dependency in their apps via react-native-mmkv-storage. People don't want to fork that library just because there is an unreleased fix in MMKV that's already been written and is just waiting to be released. I've already worked around this but you will save the world many hours of wasted labor by releasing this fix. |
Thanks for the info. @trcoffman |
With these background info, I will publish an update as soon as possible. Sorry for any inconvenience. |
MMKV for iOS v1.3.13 is live. |
@lingol Thank you very much! Your hard work on MMKV is much appreciated. |
@lingol can u also release a flutter version with this fix please ? |
@nateshmbhat The mmkv plugin for flutter adopted the federated plugin framework. In iOS it is the mmkv_iOS plugin that implements the ffi functionality. And it depends the MMKV pod by ">=1.3.9, <2.0". So it is already fixed. All you need to do is upgrade your pod, like https://github.com/Tencent/MMKV/blob/1.3.x_lts/flutter/mmkv_ios/ios/mmkv_ios.podspec#L23 |
Note:
Having upgraded from MMKV Core 1.3.9 to 1.3.12 I can no longer build my project. AESCrypt.cpp won't compile.
The version of MMKV
MMKV Core 1.3.12 LTS
The platform of MMKV
iOS
The installation of MMKV
Cocoapods
What's the issue?
Compile AESCrypt.cpp (arm64) fails to build
The text was updated successfully, but these errors were encountered: