반응형
250x250
Notice
Recent Posts
Recent Comments
Link
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Archives
Today
Total
관리 메뉴

가끔 보자, 하늘.

Building a react-native project 본문

개발 이야기/개발 및 서비스

Building a react-native project

가온아 2018. 11. 6. 14:19

[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

 

 

 

 

반응형