Building a react-native project
[about setting command line tools ]
react-native run-ios 로 실행을 시도했을 때 command line tools 없다는 에러가 발생하는데,
xcode-select --install로 설치를 해도 반응이 없다.
단순히 설치만 해서는 안되고 xcode preferences에 설정을 해야 한다.
XCode > Preferences > Locations 화면에서 Command Line Tools 이 비어 있다면 이를 설정하면 된다.
--------------------------------------------------------------------------------------------------------
when it occurs an error there is no command line tools you run "react-native run-ios" command
in my case, it doesn't work even I installed the tool like this "xcode-select --install"
the reason is ... you have to set an information in XCode > Preferences > Locations.
[8081 port problem]
sudo lsof -i :8081 로 해당 프로세스 찾아서 kill.
--------------------------------------------------------------------------------------------------------
Find a process using the port 8081 like this " sudo lsof -i : 8081" and kill it.
[Build failed]
Entry, ":CFBundleIdentifier", Does Not Exist
signing 관련 이슈. 생성한 프로젝트의 xcodeproj 로 xcode 실행 후 General > Signing 설정. 이후 빌드하면 관련 에러없이 애뮬레이터로 실행됨.--------------------------------------------------------------------------------------------------------
The reason is about signing. You have to set a signing information in XCode project > General/Signing on XCode project that you made.
[error : npm update check failed]
sudo chown -R $USER:$(id -gn $USER) /Users/YOUR_USERNAME_HERE/.config