Check out example codes for "Library not loaded: @rpath/App.framework/App". It will help you in understanding the concepts better.

Code Example 1

// This is for xcode compilation
// In the target General tab, there is an Embedded Binaries 
// field. When you add the framework (embed & sign) the problem is solved
//

Learn ReactJs, React Native from akashmittal.com