stefalda / ReactNativeLocalization

Class to localize the ReactNative interface
MIT License
899 stars 124 forks source link

Having issue in iOS during build and archive in Xcode getting error no such file or directory with libReactNativeLocalization.a #151

Closed imsantoshyadav closed 5 years ago

imsantoshyadav commented 5 years ago

Hi,

I am using 2.0.3 version of your package I am getting error in iOS compilation where when I try to build or archive the project it throws error no such file or directory: '/Users/...../DerivedData/myproject/Build/Products/Debug-iphonesimulator/libReactNativeLocalization.a' .

william-normann commented 5 years ago

open your xcode project try to remove and add libReactNativeLocalization.a again in Build Phases -> Link Bynary with Libraries clean project and build again.

imsantoshyadav commented 5 years ago

@thuan-nguyen-logivan thanks for your reply I have already tried it but didn't worked for me

imsantoshyadav commented 5 years ago

To get rid of this issue I have commented pod 'ReactNativeLocalization', :path => '../node_modules/react-native-localization' in podfile and run pod install after that i have linked library manually and it workd for me

imsantoshyadav commented 5 years ago

Because this solution worked for me I am closing this issue

william-normann commented 5 years ago

oh, i forget it 👍