react native run ios not working code example
Example 1: react native run ios runing the app in simulator not in Iphone
react-native run-ios --device
this is for connected devices
react-native run-ios --simulator="simulator name"
or
react-native run-ios --simulator
Example 2: react native run ios not building
follow these steps its working for me
The platform version in your PodFile
should be more then 11.0
and another main poin create a new file in your ios folder with any name
my file rt.swift
inside file
import Foundation
=================================================================
after that remove pod folder and podfile.lock file from ios folder then
RUN
cd ios && pod install && cd .. && yarn ios