iPhone/iPad 애플리케이션 빌드 프로세스는 다음 두 단계로 진행됩니다.
“Build settings” 다이얼로그에서 “Build”를 누르면 첫 번째 단계만 완수됩니다. “Build and Run”을 누르면 두 단계 모두 수행됩니다. 프로젝트 저장 다이얼로그에서 사용자가 이미 존재하는 폴더를 선택하면 경고가 표시됩니다. 다음 두 가지 Xcode 프로젝트 생성 모드 중에서 선택할 수 있습니다.
Cmd+B를 누르면 자동 빌드 및 실행 프로세스가 호출되고 최근에 사용한 폴더가 빌드 타겟으로 간주됩니다. 이 경우 append 모드가 디폴트로 간주됩니다.
참고: 위의 1 단계는 PC 또는 Mac에서 수행할 수 있습니다. 2 단계는 Mac에서만 수행할 수 있습니다. 따라서 Unity 프로젝트를 iOS 기기에서 실행하려면 Mac이 있어야 합니다.
Unity를 사용하여 Xcode 프로젝트를 빌드한 후 커맨드 라인에서 빌드 및 실행 작업을 수행할 수 있습니다. 에디터가 Xcode 프로젝트를 빌드한 후 터미널에서 다음 작업을 수행해야 합니다.
unity$ xcodebuild test -destination "platform=iOS,id=400d20d00baf8d4997b47be0416cf5c44dd2d3bc" -scheme Unity-iPhone
위의 커맨드 라인 예에서 400d20d00baf8d4997b47be0416cf5c44dd2d3bc는 프로젝트를 실행할 iOS 기기의 ID입니다. Xcode에서 Window > Devices 메뉴를 사용하여 기기 ID를 확인해야 합니다.
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.