Reputation: 89
I am trying to find my Xcode project file inside React Native so I can setup React Native Firebase (https://rnfirebase.io/docs/v5.x.x/installation/ios)
However, I cannot find where the Xcode project file is? Can anyone help.
Upvotes: 2
Views: 8913
Reputation: 28539
If you use Expo or create react native app you will not have an iOS folder as these are abstracted away from you.
If you wish to use a dependency that requires you to edit native code then you need to eject your application. https://docs.expo.io/versions/latest/expokit/eject
From your command line run expo eject
and it will build the necessary ios and android folders for you. However there are several ramifications if you eject your app. You should read the above link carefully.
Upvotes: 4
Reputation: 3822
You can find Xcode project files here:
yourProjectDir/ios/yourprojectname.xcodeproj
If You use cocoapods then you should always use this file:
yourProjectDir/ios/yourprojectname.xcworkspace
Upvotes: 8
Reputation: 1549
Open your react native folder
you can see ios folder
this folder is what you search for
Upvotes: 0