Recent 1.3.1 release breaks iOS build if linked with pods
See original GitHub issueRepro steps
I’ve created an example app at https://github.com/timmywil/react-native-async-storage-1.3.1
This app was created with react-native init
and async-storage included with react-native link... && cd ios/ && pod install
after creating a Podfile.
Building without pods seems to work fine, but if async-storage is included with pods, you get the error shown above.
Downgrading to 1.3.0 fixes the issue.
Environment
- Async Storage version: 1.3.1
- React-Native version: 0.59.4
- Platform tested: iOS only
Issue Analytics
- State:
- Created 4 years ago
- Reactions:11
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Recent 1.3.1 release breaks iOS build if linked with pods #73
Building without pods seems to work fine, but if async-storage is included with pods, you get the error shown above. Downgrading to 1.3.0...
Read more >Versioning breaks with cocoapods... | Apple Developer Forums
I recently switched to using coocapods for my sdk's. Now having the run script makes the build fail with error. line 3: $(CURRENT_PROJECT_VERSION)...
Read more >CocoaPods Errors on Project Build - Stack Overflow
The simplest fix is to close the project in Xcode and reopen it. If you go to the target's Build Settings and filter...
Read more >Blog - Apache Cordova
We have bumped all platform pinnings to use the latest released platforms. This means new Cordova app projects will now use the latest...
Read more >Firebase Apple SDK Release Notes - Google
Firebase now requires at least Xcode 13.3.1. Usage of the Firebase pod, the Firebase module ( import Firebase ), and Firebase.h is deprecated....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Open
node_modules/@react-native-community/async-storage/ios/RNCAsyncStorage.h
On line 10, change#import <RNCAsyncStorage/RNCAsyncStorageDelegate.h>
to#import <RNCAsyncStorageDelegate.h>
Merged and released as 1.3.2: https://github.com/react-native-community/react-native-async-storage/pull/75#issuecomment-482943581.
Thanks, everyone ❤️ Let us know how you go.