1/19

npx create-expo-app@latest

엑스포는 이제 프로덕션 등급이라고 하고 react native홈페이지에서도 권장한다

expo안쓸 이유가 없는듯

https://news.hada.io/topic?id=18815

  1. npx create-expo-app@latest myapp
  2. npx expo install expo-dev-client
  3. npm run reset-project
  4. npx expo prebuild -p -ios —clean ⇒ ios폴더 생김

app의 tabs에서 탭을 만들수 있다.

CommandError: Failed to build iOS project. "xcodebuild" exited with error code 70.
To view more error logs, try building the app with Xcode directly, by opening /Users/hank/Desktop/vocasimple/ios/vocasimple.xcworkspace.

Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/hank/Desktop/vocasimple/ios/vocasimple.xcworkspace -configuration Debug -scheme vocasimple -destination id=A853AAD6-2559-453B-9D13-A44AAAAC73FB

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

2025-01-28 18:24:54.590 xcodebuild[59473:599841] Writing error result bundle to /var/folders/qn/zgcff6d14sn6xjkds8qzzk0c0000gn/T/ResultBundle_2025-28-01_18-24-0054.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
                { id:A853AAD6-2559-453B-9D13-A44AAAAC73FB }

        Ineligible destinations for the "vocasimple" scheme:
                { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 18.2 is not installed. To use with Xcode, first download and install the platform }
Build logs written to /Users/hank/Desktop/vocasimple/.expo/xcodebuild.log

xcode의 ios버전이 업데이트 안되어있어서 발생. settings의 components로 가서 업데이트 진행