Repository navigation
fix: iOS 모노레포 환경에서 node_modules 경로 수정 - #138
Merged
Merged
Conversation
모노레포 마이그레이션(#127) 후 pnpm hoisted 모드로 node_modules가 apps/mobile이 아닌 루트에만 생성되는데, iOS 쪽 상대 경로들이 이를 반영하지 못해 pod install / Xcode 빌드가 실패했음. Android는 이미 동일한 문제가 #130, #136에서 수정됐으나 iOS는 누락되어 있었음. - Podfile: require_relative 경로, react_native_post_install의 react_native_path 인자 추가 - Local/Staging/clubhouse.xcscheme: react-native-config 프리액션 스크립트 경로 - project.pbxproj: 번들링/패키저 스크립트 페이즈 및 react-native-vector-icons 폰트 리소스 경로 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 내용
pod install/ Xcode 빌드가 실패하던 것 수정Podfile:require_relative경로,react_native_post_install호출의react_native_path인자Local.xcscheme/Staging.xcscheme/clubhouse.xcscheme: react-native-config 프리액션 스크립트 경로project.pbxproj: "Bundle React Native code and images" / "Start Packager" 스크립트 페이즈,react-native-vector-icons폰트 리소스(16개) 경로변경 이유
pod install부터 실패했음테스트한 내용
pnpm install→apps/mobile/ios에서pod install성공xcodebuild빌드 성공, 앱 설치 후 홈 화면까지 정상 진입 확인체크
빌드는 이 PR로 되지만, 아래 파일들은
.gitignore에 걸려 있어서 이 PR / 저장소에 포함되어 있지 않습니다. 없으면 각각 아래 증상이 나므로 로컬에 직접 준비해야 합니다.apps/mobile/ios/GoogleService-Info.plist(Firebase 설정)pod install이후 Xcode 빌드가CopyPlistFile ... GoogleService-Info.plist단계에서 "Build input file cannot be found" 에러로 실패apps/mobile/.env.local,apps/mobile/.env.prod(.env.example참고해서 채우기)API_SERVER_BASE_URL이 비어서 앱 초기화 API 호출이 계속 실패 → 스플래시(초기화 로딩) 화면에서 영원히 안 넘어감기존
allclear-app(모노레포 이전) 저장소를 로컬에 아직 갖고 있다면 거기서 그대로 복사해와도 됩니다. 못 구하는 팀원은 문의 주세요.