Estimote / react-native-proximity

React Native wrapper for Estimote Proximity SDK
Apache License 2.0
61 stars 38 forks source link

dyld: Library not loaded #25

Closed tomtomgo92 closed 5 years ago

tomtomgo92 commented 5 years ago

Hello I think have problem with SDK I have this error when I want compile

MacOS  10.14.2 (18C38b)
react-native-cli: 2.0.1
Xcode Version 10.1 (10B61)
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /private/var/containers/Bundle/Application/264F88BB-4DF5-4EF9-8152-7ABEF75F846F/mca.app/Frameworks/EstimoteProximitySDK.framework/EstimoteProximitySDK
  Reason: image not found
(lldb) 

Could you please advise ?

Thank you in advance :)

heypiotr commented 5 years ago

You need to enable "Always Embed Swift in Standard Libraries" in the Xcode project's Build Settings.

This is mentioned in the README, in the "Installation", "On iOS, you also need to:", point 2. Easy to miss, so no worries (:

tomtomgo92 commented 5 years ago

Thank :)