while doing flutter build ios / run flutter application on iphone getting the error as
Semantic Issue (Xcode): No member named ‘memory_order_relaxed’ in ‘std::memory_order’; did you mean ‘std::memory_order_relaxed’?
/Users/aswanthr/Downloads/ar_cbt/ios/Pods/leveldb-library/util/env_posix.cc:839:33
Semantic Issue (Xcode): No member named ‘memory_order_relaxed’ in ‘std::memory_order’; did you mean ‘std::memory_order_relaxed’?
/Users/aswanthr/Downloads/ar_cbt/ios/Pods/leveldb-library/util/env_posix.cc:856:34
Could not build the application for the simulator.
Error launching application on iPhone 16 Pro Max.
This bug issues comes after downloading emulator 18.1 version today for flutter project
- Clean prject
- Rebuild
- tried to fix bug
2
Answers
Here is this problem. Wait new version. https://github.com/invertase/react-native-firebase/issues/8082
UPDATE: Have a new version.
CocoaPods leveldb-library Compatibility Issue with Custom Commit
If you’re trying to use a specific commit for the leveldb-library CocoaPods dependency, you may encounter compatibility issues like this:
Add Podfile
This error occurs because the specified commit conflicts with the current locked version (e.g., 1.22.5) in Podfile.lock. Here’s a quick solution:
Update Source Repositories: Run the following command to ensure your source repos are up-to-date:
This should download and integrate the specified commit of leveldb-library. According to the Firebase team, this issue is expected to be resolved with version 1.22.6 in a few days. After this version is released, you should be able to use the latest version without specifying a commit