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

Which one is the right procedure to create the react native app. create-react-native-app MyReactNative or react-native init MyReactNative?

$
0
0

I am new to the React native app. I am integrating my native iOS Framework in the sample react native app. When I try to create a sample app, I saw two option to create and I have added below:

1: npm install -g create-react-native-app:

After installing NodeJS and NPM successfully in my system I have used this command: npm install -g create-react-native-app

For creating the project I have followed this command: create-react-native-app MyReactNative

Ref:https://www.tutorialspoint.com/react_native/react_native_environment_setup.htm

I can able to use”user_framework!” In the pod file and added swift native dependencies, as well as a static library of react native dependencies and I can able to run the app.

2.react-native init MyReactNative :

I have followed this command for creating the project: react-native init MyReactNative

But when I use the ”user_framework!” In the pod file and added swift native dependencies I can not able to run the app. I am getting the dyld: Library not loaded for swift dependencies.

Ref: https://www.smashingmagazine.com/2016/04/the-beauty-of-react-native-building-your-first-ios-app-with-javascript-part-1/


Viewing all articles
Browse latest Browse all 16750

Trending Articles



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