이 페이지에는 iOS용 Unity 애플리케이션을 빌드하는 방법에 대한 지침이 포함되어 있습니다.iOS용 빌드 프로세스 및 Unity에서 사용하는 툴에 대한 자세한 내용은 Unity에서 iOS 애플리케이션 빌드 방법을 참조하십시오.
iOS 빌드 프로세스는 크게 두 단계로 나뉩니다.
Unity can perform step one on all operating systems that run the Unity Editor. However, since you can only install Xcode on a macOS device, Unity can only perform step two on a macOS device. This means to fully build an iOS application locally, your development machine must run macOS. If it doesn’t, one alternative is to use Unity Build Automation which can build your applications for you in the cloud. This makes it possible to develop iOS applications on a non-macOS machine. For information on how to set up Unity Build Automation, see Unity Build Automation.
iOS용 Unity 애플리케이션을 빌드하려면:
팁:처음 출력 경로를 지정한 다음에는 Cmd+B 키보드 단축키를 사용하여 애플리케이션을 빌드하고 실행할 수 있습니다.Unity는 Append 모드를 사용하여 Xcode 프로젝트를 다시 생성합니다.
Unity가 Xcode 프로젝트를 생성한 후에는 커맨드 라인에서 애플리케이션을 빌드하고 실행할 수 있습니다.이 작업을 수행하는 방법은 다음과 같습니다.
<device-id>
가 기기 ID인 터미널에 다음 커맨드를 입력합니다.unity$ xcodebuild test -destination "platform=iOS,id=<device-id>" -scheme Unity-iPhone
.