question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Recent 1.3.1 release breaks iOS build if linked with pods

See original GitHub issue
Screenshot 2019-04-12 14 45 19

Repro 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:closed
  • Created 4 years ago
  • Reactions:11
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
dblazeskicommented, Apr 12, 2019

Open node_modules/@react-native-community/async-storage/ios/RNCAsyncStorage.h On line 10, change #import <RNCAsyncStorage/RNCAsyncStorageDelegate.h> to #import <RNCAsyncStorageDelegate.h>

1reaction
tido64commented, Apr 14, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found