Unity는 Xcode를 사용하여 iOS 애플리케이션을 빌드하므로 빌드 프로세스 및 Unity가 Xcode와 상호작용하는 방법을 파악하는데 유용합니다.최종 빌드의 대부분의 측면을 설정하기 위해서 플레이어 설정과 기타 Unity 창을 사용할 수 있지만, 더 효율적으로 제어하기 위해 Unity가 Xcode 프로젝트를 빌드하고 사용자는 Xcode 프로젝트 파일을 직접 수정해야 합니다.
libGameAssembly.a
와 il2cpp.a
라는 라이브러리로 컴파일링하는 IL2CPP 프로그램을 호출합니다.다른 Xcode 프로젝트가 이미 포함된 디렉토리에서 프로젝트를 빌드하는 경우, Unity는 경고를 표시하고 진행 방법을 선택하도록 합니다.다음과 같이 두 가지 옵션이 있습니다.
Data
및 Libraries
하위 디렉토리에 있는 모든 파일을 제거합니다.그런 다음 이러한 디렉토리를 새로 생성된 Xcode 프로젝트 콘텐츠로 채웁니다.그러면 Unity는 최근 Unity 프로젝트 변경 사항에 따라 Xcode 프로젝트 파일을 업데이트합니다.Unity는 동일한 Unity iOS 버전으로 생성된 기존 Xcode 프로젝트에 대해서만 이 모드를 지원합니다.참고:Append 모드를 사용하는 경우 Classes
하위 폴더에 커스텀 네이티브 코드를 저장할 수 있습니다.Unity는 덮어쓰지 않지만, 정기적으로 백업하는 것이 가장 좋습니다.
Unity는 iOS용 Xcode 프로젝트를 생성할 때 증분 빌드 파이프라인을 사용합니다.즉, Unity는 Information Property List(plist) 파일 및 Entitlement 파일과 같은 파일을 점진적으로 빌드 및 생성합니다.증분 빌드 파이프라인이 사용하는 iOS 파일 또는 에셋을 수정하거나 이동하는 콜백을 구현하는 경우, 비증분 빌드 생성을 참조하십시오.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.