Skip to content

Conversation

@sophia22001
Copy link
Member

@sophia22001 sophia22001 commented Dec 2, 2025

🔗 관련 이슈 (Related Issue):


✍️ 변경 내용 (Description):

개발/리뷰할 때마다 Development Team과 Build Identifier을 Xcode에서 매번 설정해야 하는 번거로움이 있습니다. 이를 위해 이 Id들을 config로 설정했습니다.


🛠️ 작업 내용 상세 (Detailed Changes):

수행된 작업들을 세분화하여 목록 형태로 나열해주세요.

  • ios/폴더에 Develop.xcconfig, Release.xcconfig 파일 생성
  • .gitignore에 Develop.xcconfig 추가
  • Release.xcconfig은 개발자마다 변경될 필요가 없어 .gitignore에 넣지 않았습니다.

🧪 테스트 방법 (How to Test):

이 PR의 변경 사항이 올바르게 작동하는지 확인하기 위한 테스트 방법을 구체적으로 설명해주세요.

  1. ios/Develop.xcconfig 파일 생성하고 본인의 ID를 설정한다. (프론트 팀 .env 문서 참고)
DEVELOPMENT_TEAM = ..
PRODUCT_BUNDLE_IDENTIFIER = ..

Develop.xcconfig 파일을 생성하는 법: New File -> File From Template -> Configuration Settings File -> 이름 쓰고, target까지 체크
image

  1. Project > Info 에서 Develop.xcconfig 설정되어 있는지 확인. 안되어있으면 설정하기
스크린샷 2025-12-02 오후 10 02 39
  1. Targets > Build Settings > Signing > Development Team , Build Identifier 에서 Debug.xcconfig, Release.xcconfig가 잘 적용되었는지 확인하기
스크린샷 2025-12-04 오전 1 13 37
  1. ios 빌드했을 때 Develop.xcconfig 에서 설정한 build identifier로 build successful 하면 성공!

체크리스트 (Checklist):

PR을 올리기 전 아래 항목들을 확인해주세요.

  • main 브랜치에 직접 푸시하지 않았나요?
  • 모든 변경 사항에 대한 테스트를 수행했나요?
  • 코드 주석이 필요한 부분에 적절히 추가되었나요?
  • 변경으로 인한 새로운 버그가 발생할 가능성은 없나요?
  • 의존성 변경이 필요한 경우 package.json 또는 build.gradle 등을 업데이트했나요?

Copilot AI review requested due to automatic review settings December 2, 2025 08:59
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @sophia22001, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 풀 리퀘스트는 iOS 개발 환경 설정을 간소화하고, 토큰 재발급 로직의 안정성을 향상시키며, 사용자 인터페이스의 일부를 개선하는 데 중점을 둡니다. Xcode 빌드 설정을 .xcconfig 파일로 외부화하여 개발 팀 설정을 유연하게 만들고, Axios 인터셉터의 잠재적 문제를 해결하여 인증 흐름을 더욱 견고하게 합니다. 또한, 몇몇 UI 컴포넌트의 시각적 및 기능적 조정을 통해 전반적인 앱의 완성도를 높였습니다.

Highlights

  • Xcode 설정 간소화: 개발 팀과 빌드 식별자를 Xcode에서 수동으로 설정하는 번거로움을 줄이기 위해 .xcconfig 파일을 도입하여 구성 설정을 자동화했습니다. Debug.xcconfig.gitignore에 추가되어 민감한 정보가 저장소에 커밋되지 않도록 합니다.
  • 토큰 재발급 로직 개선: Axios 인터셉터 내에서 토큰 재발급 시 발생할 수 있는 무한 루프를 방지하기 위해, 인터셉터가 없는 별도의 Axios 인스턴스(noInterceptorAxiosInstance)를 사용하여 토큰 재발급 로직을 분리하고 개선했습니다.
  • UI 컴포넌트 개선: 메인 화면의 HomeWorkTypeChip에서 불필요한 Text 임포트를 제거하고 DividerLine 컴포넌트를 주석 처리하여 UI를 간소화했습니다. 또한, Tooltip 컴포넌트의 스타일과 위치를 조정하고, HealthGuideSection에서는 툴팁을 제거하고 RecommendMealSection으로 이동시켜 사용자 경험을 개선했습니다.
  • 종속성 업데이트: Podfile.lock 파일을 통해 react-native-safe-area-context, ReactNativeHealthkit, RNGestureHandler, RNPermissions, RNReanimated, RNScreens, RNSVG, RNWorklets 등 여러 React Native 관련 종속성 버전이 업데이트되었습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@sophia22001 sophia22001 changed the title [PR]: [chore] development team 설정 [PR]: [chore] development team, build id - config 설정 Dec 2, 2025
@sophia22001 sophia22001 requested review from KanuKim97 and removed request for Copilot December 2, 2025 09:01
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이 PR은 Xcode 개발 팀 및 번들 식별자 설정을 xcconfig 파일로 분리하여 개발 편의성을 높였습니다. 또한, 토큰 재발급 시 무한 루프를 방지하기 위해 인터셉터가 없는 Axios 인스턴스를 도입하고 관련 로직을 개선했습니다. UI 측면에서는 툴팁 컴포넌트의 스타일이 변경되었고, 일부 섹션에서 툴팁 기능이 이동 및 제거되었습니다. 전반적으로 기능 개선과 개발 환경 설정에 중점을 둔 변경사항입니다.

@sophia22001 sophia22001 self-assigned this Dec 2, 2025
@sophia22001 sophia22001 added the 🔨 enhancement 새 기능의 추가 혹은 새 기능의 요청에 해당 라벨을 적용합니다. label Dec 2, 2025
@sophia22001 sophia22001 requested review from KanuKim97 and removed request for KanuKim97 December 2, 2025 09:33
Copilot AI review requested due to automatic review settings December 2, 2025 12:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to streamline iOS development by configuring Xcode build settings through .xcconfig files to avoid manual setup of Development Team and Build Identifier for each developer. However, the PR includes several unrelated code changes that appear to be from concurrent development work, including authentication flow improvements, UI tooltip implementations, and dependency updates.

Key changes in this PR:

  • Xcode configuration file setup for developer-specific build settings (though with implementation issues)
  • Token reissue infinite loop fix by introducing a non-interceptor axios instance
  • UI improvements including tooltip additions and styling corrections

Reviewed changes

Copilot reviewed 12 out of 15 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
.gitignore Adds entry for developer-specific xcconfig file (incorrect path)
ios/Develop.xcconfig New configuration file with hardcoded team ID and bundle identifier
ios/Offnal.xcodeproj/project.pbxproj Updates Xcode project to use xcconfig and adds debug shell script
ios/Podfile.lock Updates several pod dependencies to newer versions
src/infrastructure/remote/api/noInterceptorAxiosInstance.ts Creates new axios instance without interceptors
src/infrastructure/remote/api/AuthService.ts Refactors token reissue with helper method and no-interceptor variant
src/infrastructure/remote/api/axiosInstance.ts Adds debug comment for logging full request URL
src/store/useAuthStore.ts Switches to no-interceptor API for token reissue to prevent infinite loop
src/presentation/splash/SplashScreen.tsx Changes state access pattern and adds debug logging
src/presentation/main/ui/RecommendMealSection.tsx Adds tooltip feature and fixes CSS class name
src/presentation/main/ui/HealthGuideSection.tsx Removes tooltip implementation and fixes CSS class name
src/presentation/main/components/Tooltip.tsx Redesigns tooltip positioning and styling
src/presentation/main/components/HomeWorkTypeChip.tsx Comments out alarm time section and adjusts layout

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sophia22001 sophia22001 marked this pull request as draft December 5, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 enhancement 새 기능의 추가 혹은 새 기능의 요청에 해당 라벨을 적용합니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Development Team 설정

3 participants