Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Getting error in Xcode no such file or directory found with libReactNativeLocalization.a during build and archive

$
0
0

I am having issue in Xcode while I try to build or archive my react-native project. Xcode throwing error like no such file or directory: '/Users/...../DerivedData/myproject/Build/Products/Debug-iphonesimulator/libReactNativeLocalization.a'.

when I run react-native run-ios or in release mode react-native run-ios --configuration Release then it is working perfectly fine but when I try to build or archive it from Xcode then it is throwing error.

  1. I am using Xcode version 10
  2. My react-native version is 0.57.4
  3. iOS development target is 9.0
  4. react-native-localization version is 2.0.3

Tried things which didn't worked for me

  1. Removed node_modules and pods completely and run npm install and pod install didn't worked for me .

  2. In menue File --> workspace setting changed build system from Use Shared System to Legacy build system. in this particular case app is build and archived successfully but when I lunch my app then it crashes after splash screen.

  3. Removed Derived Data completely and rebuild again still getting this error.

  4. If I remove react-native-localization completely from my project then all the things are working fine and I am able to build and archive the project.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>