728x90
반응형
* Typescript 템플릿 설치 후 실행 시, ios 에서 에러 발생
# 에러 내용
...
N/A: version "default -> N/A" is not yet installed.
...
You need to run "nvm install default" to install it before using it.
...
xcodebuild[44462:710271] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
xcodebuild[44462:710271] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
...
The following build commands failed: PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/bok/Library/Developer/Xcode/DerivedData/StateManagement-ftsncbqmansazodajbydxiyqhqwi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-46EB2E00014D80.sh (in target 'FBReactNativeSpec' from project 'Pods')
# 원인
xcode 13.3 으로 업데이트 후 발생했고, version default 값이 설정되어 있지 않다고 한다.
설치되어있는 Node.js 를 확인해 보았다.
$ nvm ls
# 해결
간단하게 아래 명령어만 실행하니 해결되었다.
$ nvm alias default system
* reference : https://stackoverflow.com/questions/71185785/running-default-rn-native-project-in-ios-gives-error
이후 다시 설치된 Node.js 를 확인해보면, default 값이 생겼다.
728x90
반응형