When trying to archive in XCode, I get "no such file - libVasern.a"
dgoenka opened this issue · comments
I'm trying archive my React Native project in XCode which has Vasern integrated. I had followed all steps as mentioned in the guide, and had no problems while developing. But now, when I try to archive my project I keep getting an error saying "no such file or directory - /libVasern.a". Again, I can assure you that Vasern.xcodeproj is added to my Libraries and libVasern.a is added in the Build Phrases > Link Binary with Libraries.
Hi @dgoenka, please try to delete Derived Data by go to
- From top menu File -> Project Settings, then click on the right arrow icon right next to the DerivedData directory
- Delete the folder name that matches your app bundle id. For example DerivedData/com.app.example
- Close xCode and restart
I ran into the issue once and the solution found this solution worked. Source: ivpusic/react-native-image-crop-picker#21 (comment)