1/19
npx create-expo-app@latest
엑스포는 이제 프로덕션 등급이라고 하고 react native홈페이지에서도 권장한다
expo안쓸 이유가 없는듯
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에서 탭을 만들수 있다.
cocoapods?
gem?
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
C++
복사
xcode의 ios버전이 업데이트 안되어있어서 발생. settings의 components로 가서 업데이트 진행
npx expo prebuild
can I do prebuild after done working with managed workflow?
prebuild가 필수는 아니다. prebuild는 native모듈을 추가해야할때 사용하는거고 prebuild이후에 로컬에서 xcode나 android studio로 빌드해서 앱을 로컬에서 실행할수 있다.
prebuild한다는것은 bare workflow로 작업하겠다는거
prebuild이후에는 expo go를 사용못한다. 시뮬레이터 사용해야함
prebuild안하고 그냥 eas build —platform ios로 바로 expo를 이용해서 앱스토어에 올릴수 있다. 이렇게하면 로컬에서 빌드는 안하는거다
eas build —profile production하면 production모드로 빌드한다
그러니까 prebuild는 네이티브 모듈 넣을때 하는것!
prebuild버전은 실행도 npx expo run:ios 이다 npx expo start가 아니라
clerk
유저 만명 되기전까지 무료
clerk말고 firebase 인증쓸까?
까먹은것들
dom을 안쓰니까 div없고 View
텍스트는 전부 Text안에 들어가야함
flex:1 부모가 전체영역 차치하도록 함