Async-storage: No podspec found issue

Created on 15 Apr 2019  路  4Comments  路  Source: react-native-async-storage/async-storage

You want to:

Prevent issue for others.
Hopefully, it will help someone.

Details:


In case of this issue:

[!] No podspec found for `react-native-async-storage` in `../node_modules/@react-native-community/async-storage`

Just check out this commit and at Podfile change line:
Form

pod 'react-native-async-storage', :path => '../node_modules/@react-native-community/async-storage'

To

pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'
iOS

Most helpful comment

To anyone running into this issue with a monorepo, make sure you're not hoisting @react-native-community/async-storage

All 4 comments

To add to @zmefz comment, don't forget to update your pods after changing the pod name.

Just in case, I would suggest to remove Podfile.lock, as well as the Pods folder, do a complete pod install from scratch, clean the build folder, and rebuild the project. This way, you are sure not to have any leftover reference to the wrongly named react-native-async-storage pod in your project.

thanks for the life saver <3

To anyone running into this issue with a monorepo, make sure you're not hoisting @react-native-community/async-storage

Was this page helpful?
0 / 5 - 0 ratings

Related issues

loic-lopez picture loic-lopez  路  37Comments

sumanthyedoti picture sumanthyedoti  路  25Comments

while-it picture while-it  路  51Comments

Waqas-Jani picture Waqas-Jani  路  28Comments

cohawk picture cohawk  路  28Comments