본 페이지는 App Distribution Guide 문서의 Provisioning Your App for Store Technologies 부분을 번역해 놓은 페이지 압니다. 발 번역이라 이상한 부분이 있을 수 있습니다. 발견즉시 댓글을 달아 주세요.




Provisioning Your App for Store Technologies
스토어 기술들을 위한 앱 프로비저닝.

Certain technologies—such as iCloud, Game Center, and In-App Purchase—are available only to apps distributed through the store. But simply submitting your app to the store doesn’t enable these technologies. You need to provision your app to use these technologies. The first step is to configure App IDs and provisioning profiles to enable the technologies you want to use. Later, you’ll complete the configuration of some technologies using Xcode and iTunes Connect.

확실한 기술들(iCloud, Game Center, 그리고 In-App Purchase 같은)은 오직 (App) store를 통해 배포된 앱만 이용할 수 있습니다. 그러나 당신의 앱을 store로 간단히 보내는 것으로 이 기술들이 활성화 되지 않습니다. 이 기술들을 이용하기 위해서는 앱을 프로비전해야 합니다. 첫 단계는 당신의 App ID를 설정하고 프로비저닝 프로파일로 당신이 사용하기 원하는 기술들을 활성화하는 것입니다. 이후, 당신은 Xcode와 iTunes Connect를 이용해 몇가지 기술들을 환경설정을 완벽히 완료 할 수 있을 것입니다.


The store technologies available for both iOS and Mac apps are:
iOS와 Mac 앱을 위한 스토어 기술 활성화 : 

  • Apple Push Notification service (APNs). Allows an app that is not running in the foreground to notify the user that it has information for the user. (This document and some tools refer to this technology as push notifications.)
    애플 푸시 알림 서비스(APNx) : 앱이 foreground(전면에서 동작함을 말함)에서 동작하지 않아도 사용자를 위한 정보 사용자에게 알림는 것을 허락합니다. (이 문서와 일부 도구는 push notifications로 이 기술을 참고합니다.)

  • Game Center. Apple’s social gaming network that allows players to connect to the service and exchange information with other players.
    게임 센터. 앱의 사회적인 플레이어들 끼리 연결을 허락하여 서비스와 다른 플레이어들과의 정보 교환을 하는 게임 네트워크.

  • iCloud. Allows you to share the user’s data among multiple instances of your app running on different iOS and Mac OS X devices.
    iCloud. 당신이 유저의 데이터를 다른 iOS와 Mac OS X 장치에 동작하는 앱의 다양한 인스턴스들 에게 공유하는 것을 허락합니다.

  • In-App Purchase. Embeds items to purchase directly into your app by allowing you to connect to the store and securely process payments from the user.
    In-App Purchase. 당신이 사용자가 스토어에 접속하는 것과 안전한 지불 처리 허용으로 당신의 앱에 직접결제 기능 항목을 포함합니다.

The additional store technologies available for iOS apps are:
 iOS 앱을 위해 추가적으로 이용할 수 잇는 스토어 기술 :

  • Data protection. Adds a level of security to files stored on-disk by your app.
    데이터 보호. 당신의 앱이 (생성한) 파일을 디스크에 저장하는 보안 레벨을 추가합니다.

  • Newsstand. Allows you to deliver magazine and newspaper subscription content to users.
    뉴스 스탠드. 매거진과 뉴스 구독 컨텐츠가 사용자들에게 배달되도록 허락합니다.

  • Passbook. Presents digital representations of information—such as a coupon, ticket for a show, or boarding pass—that allow users to redeem a real-world product or service.
    패스북. 실제 제품이나 서비스를 보완하기 위해 유저들이 허락한 디지털화된 정보(쿠폰, 쇼 티켓, 또는 탑승권 같은)를 제공합니다.

  • Routing apps. Allows apps that can display point-to-point directions to make those directions available to Maps and other apps.
    앱 경유. 앱이 맵과 다른앱을 찾기 위해 p2p 안내를 표시할 수 있게 허락합니다.

Follow these steps to provision your app to use these technologies:
이 단계들을 따라해 당신의 앱을 프로비전 하고 이 기술들을 이용하세요.

  1. If necessary, create an App ID.
    필요하다면, App ID 생성. (App ID를 아직 안 만들었을 경우)

  2. Enable store technologies for your App ID.
    당신의 App ID를 통해 스토어 기술을 활성화 합니다.

  3. Use the team provisioning profile or create your own development provisioning profile containing your App ID.
    team provisioning profile을 이용하거나 당신의 App ID가 포함된 자체 개발자 프로비저닝 프로 파일을 만듭니다.

  4. Set your bundle ID to match your App ID.
    당신의 번들 아이디를 당신의 App ID와 맞춥니다.

  5. Provision your development devices.
    개발용 장치를 프로비전 합니다.

  6. Build and sign your app using your development provisioning profile.
    빌드와 개발자 프로비저닝 프로파일을 이용해 당신의 앱을 사인합니다.

After performing these steps, follow any additional technology-specific steps described in “Configuring Store Technologies in Xcode and iTunes Connect.”

이 단계들을 실행한 후, 추가할 지정 기술들 단계는 'Xcode와 iTunes Connect 속 스토어 기술들 설정'에 설명된 단계를 따라하세요.

The goal of this chapter is to create a development provisioning profile that is customized for your app.
이장의 목표는 당신의 앱 사용자 지정해 개발자 프로비저닝 을 생성하는 것입니다.

About Development Provisioning Profiles
개발자 프로비저닝 프로파일에 관해서.

You use a development provisioning profile to authorize your app to launch on devices and use certain store technologies during development. It is one of the two types of provisioning profiles you create in the lifetime of your app. Later, you’ll use the other type of provisioning profile, a distribution provisioning profile, for testing and submitting your app to the store.

당신은 개발하는 동안 앱을 장치에 출시하고 확실한 스토어 기술을 이용 권한 부여에 개발자 프로비저닝 프로파일을 이용합니다. 당신의 앱의 생애(?) 동안 당신이 생성하는 프프로비저닝 프로파일의 2가지 형태중 하나입니다. 이 후에, 테스트와 앱을 스토어로 보낼 때, 배포용 프로비저닝 프로파일 (이라는), 다른 타입의 프로비저닝 프로파일을 사용할 것입니다.


In general, your app needs to be authorized by Apple to run on an iOS device. Your app also needs to be authorized by Apple to use certain iOS and OS X technologies. You enable and configure technologies for your app by setting entitlements. Some entitlements are enabled for an App ID (which identifies a set of apps created by your team) and others are set in the Xcode project. You also enter your App ID into iTunes Connect for additional security checks. A provisioning profile contains the App ID and other assets required for that type of profile.

일반적으로, 앱이 iOS 장치에 실행하려면 Apple을 통해 앱에 권한이 부여되어야 합니다. 당신의 앱 또한 iOS와 OS X의 확실한 기술들을 이용하려면 Apple로 부터 보여된 권한이 필요합니다. 당신은 공식적인 자격 세팅을 통해 당신의 앱을 위한 기술들을 활성화 하고 설정합니다. App ID(당신의 팀이 만든 앱의 식별자)를 위한 몇가지 (공식적인)자격은 활성화 되고 다른 것들은 Xcode 프로젝트 속에서 설정합니다. 당신은 또한 추가적인 보안 확인을 위해 당신의 App ID 입력해 iTunes Connect로 들어 갑니다.


A development provisioning profile authorizes a specific set of apps to run, devices to run those apps, and development certificates to sign those apps. Consequently, a development provisioning profile is comprised of these assets: a single App ID, a set of devices, and a set of development certificates. Your development provisioning profiles reside in Member Center, but since Xcode downloads them, you can install them onto devices.

개발자 프로비저닝 프로파일은 실행할 앱의 특정 설정, 장치가 이앱을 실행시키고, 개발인증서가 앱을 사인하는 권한을 부여합니다. 따라서, 개발자 프로비저닝 프로파일은 싱글 App ID, 장치 설정, 그리고 개발 인증서의 셋팅 자원으로 구성되어 있습니다. 당신의 개발 프로비저닝 프로파일은 Member Center 에 존재하지만, Xcode가 이것을 다운로드 하고, 당신은 장치에 설치 할 수 있습니다.


../Art/development_provisioning_2x.png

Each Mac and iOS device in a provisioning profile is identified by its unique device ID (UDID). The devices you register and add to a development provisioning profile are stored by Member Center. Each individual or company can register up to 100 devices for development and testing.

프로비저닝 프로파일 속 각각의 Mac과 iOS 장치는 유일한 device ID (UDID)로 식별되어 있습니다. 개발자 프로비저닝 프로파일에 추가 되고 등록된 장치는 Member Center가 보관합니다. 각각의 개인 또는 회사는 개발과 테스트를 위해 100개의 장치를 등록할  수 있습니다.


If you use certain technologies that require an explicit App ID (that is, an App ID that matches a single bundle ID), you will create a custom development provisioning profile that contains the explicit App ID. (Later, you’ll create a distribution provisioning profile containing the App ID.)

만약 당신이 확실한 기술들을 이용하려면 확실한 App ID가 필요합니다.(즉, 싱글 bundle ID와 맞춰지는 하나의 App ID) 당신은 확실한 App ID를 포함한 개발자 프로비저닝 프로파일을 필요한 바 대로 생성해야 할 것입니다.(이후, 당신은 App ID를 포함한 배포용 프로비저닝 프로파일을 만들게 됩니다.)

Before You Begin
시작하기 전에

Before you begin, decide on what type of App ID and provisioning profile you need for the technologies you want to use. It’s convenient to use the team provisioning profile that Xcode manages for you, as described in “Developing Apps Using the Team Provisioning Profile,” but you can’t use the team provisioning profile for all technologies.

시작하기전, 당신이 이용하기 원하는 기술을 사용하는데 필요한 App ID 타입과 프로비저닝 프로파일이 무엇인지 정해야 합니다. 당신을 위해 Xcode로 관리하는 team provisioning profile을 이용하는 것이 편하며, 'Team Provisioning Profile을 이용한 앱 개발'에 설명되어 있는 것 처럼, 그러나 team provisioning profile이 모든 기술을 이용할 수 있는 것은 아닙니다.


Table 4-1 shows what needs to be configured for each of the store technologies. You configure one App ID to enable all the technologies you want to use for one or more apps. If you don’t need an explicit App ID, you can configure the Xcode wildcard App ID and use the team provisioning profile. Otherwise, you need to create an explicit App ID and corresponding development and distribution provisioning profiles containing the App ID that you manage yourself.

표 4-1은 각각의 스토어 기술을 설정하는 데 무엇이 필요한지 보여줍니다. 하나 또는 그 이상의 앱을 위해 사용하기 원하는 모든 기술 활성화는 하나의 App ID로 설정합니다. 만약 당신이 확싱한 App ID가 필요하지 않다면, 당신은 Xcode 만은 App ID와 team provisioning profile을 이용해 설정할 수 있습니다. 그렇지 않다면, 당신은 확실한 App ID와 당신이 관리하는 App ID를 개발용과 배용 프로비저닝 파일에 일치 시켜야 합니다.


Table 4-1  Tasks you perform to configure store technologies

Create

Explicit App ID

Enable

App ID

Set

Entitlements

Edit

Info.plist

Configure

iTunes Connect

APNs

../Art/checkmark_2x.png

../Art/checkmark_2x.png

Game Center

../Art/checkmark_2x.png

../Art/checkmark_2x.png

../Art/checkmark_2x.png

iCloud

../Art/checkmark_2x.png

../Art/checkmark_2x.png

In-App Purchase

../Art/checkmark_2x.png

../Art/checkmark_2x.png

../Art/checkmark_2x.png

Data protection

../Art/checkmark_2x.png

Newsstand

../Art/checkmark_2x.png

../Art/checkmark_2x.png

Passbook

../Art/checkmark_2x.png

Routing apps

../Art/checkmark_2x.png

../Art/checkmark_2x.png

For example, if your iOS app uses iCloud, data protection, Newsstand, Passbook, or routing apps, you can use the team provisioning profile. For Mac apps, if your app uses iCloud only, you can use the team provisioning profile. However, if you add push notifications, In-App Purchase, or Game Center to your app, you need to create an explicit App ID and custom provisioning profiles for both development and distribution. If you develop multiple apps that use different sets of technologies, you need specialized App IDs and provisioning profiles, too.

예를 들어, 만약 당신의 iOS 앱이 iCloud, Data protection, Newsstand, Passbook, 또는 라우팅 앱을 이용한다면, 당신은 team provisioning profile을 이용할 수 있습니다. Mac 앱들에, iCloud만 사용한다면, team provisioning profile을 이용할 수 있습니다. 그러나, push notifications, In-App Purchase, 또는 Game Center를 당신에 앱에 추가한다면, '확실한 App ID'와 개발과 배포에 사용자 정의된 프로비저닝 프로파일이 필요합니다. 만약 다양한 앱 개발에 다른 기술들을 설정해 사용한다면, 역시 전용 App ID와 프로비저닝 프로파일이 필요합니다.


Table 4-1 also shows which technologies require additional configuration (setting entitlements and editing the information property list) in the Xcode project. Some technologies also require configuration in iTunes Connect. “Configuring Store Technologies in Xcode and iTunes Connect” describes the additional steps you perform after configuring App IDs and provisioning profiles.

또한 표 4-1은 어떤 기술이 Xcode 프로젝트에서 추가 설정(공식적인 자격 설정과 정보 속성 리스트 수정)을 요구하는 지 보여줍니다. 또한 몇몇 기술을 iTunes Connect에서 설정을 요구합니다. 'Xcode와 iTunes Connect속 스토어 기술 설정'은 당신이 App ID와 프로비저닝 프로파일을 설정한 후 해야할 추가 단계를 설명합니다.


Decide on a naming convention now for the App IDs and provisioning profiles you’ll create, especially if you develop multiple apps, to help you identify them later in Member Center, Xcode, and on devices.

당신이 생성할 App ID들과 프로비저닝 프로파일들을 위해 이름제작 규칙을 결정하면, 당신이 다양한 앱을 만든다면 특별히, Member Center, Xcode, 그리고 장치에서 구분하는데 도움이 될 것입니다.

Creating App IDs
App ID들 생성

You’ll create an App ID if you can’t use the Xcode wildcard App ID and team provisioning profile for the technologies you want to use. When you create an App ID, you specify whether it’s an explicit or wildcard App ID and optionally, enable technologies. For iOS apps, Game Center and In-App Purchase are enabled by default for an explicit App ID. For Mac apps, In-App Purchase is enabled by default for an explicit App ID. (You can also enable technologies after you create an App ID.)

당신이 당신이 사용하기 원하는 기술들을 위해 Xcode 만능 App ID와 team provisioning profile을 사용할 수 없다면 App ID를 생성할 것입니다. App ID를 생성할 때, 확실한 App ID 또는 만능 App ID 인지를 뜻에 따라 명확히 하고, 기술들을 활성화 해야 합니다. iOS 앱들을 위해, 확실한 App ID를 통해 기본적으로 Game Center와 In-App Purchase 활성화 됩니다. Mac apps을 위해, explicit App ID로 기본적으로 In-App Purchase가 활성화 됩니다. (당신은 또한 App ID 를 생성한 후 기술들을 활성화 할 수 있습니다.)


Registering an App ID
App ID 등록


The steps to enable each technology are similar with a few variations for specific technologies. For iOS apps, you select a level of protection when you enable data protection.

각각의 기술을 활성화 단계들 간단하고 지정된 기술에 따라 약간의 변화가 있습니다. iOS 앱을 위해, 데이터 보호를 활성화 할 때 보호 레벨을 설정합니다.




Enabling Store Technologies
스토어 기능 활성화.

If you have an existing App ID, including the Xcode wildcard App ID, you can modify the settings to add other capabilities to your app. For iOS apps, Game Center and In-App Purchase are enabled by default for an explicit App ID. For Mac apps, In-App Purchase is enabled by default for an explicit App ID.

당신의 App ID가 있다면, Xcode 만능 App ID를 삽입하고, 다른 기능을 당신의 앱에 추가하기 위해 설정을 변경할 수 있습니다. iOS 앱을 위해, 확실한 앱 ID로 인해 Game Center와 In-App Purchase가 기본적으로 활성화 합니다. Mac App들을 위해, In-App Purchase는 확실한 App ID로 인해 기본적으로 활성화 됩니다.


If you use the team provisioning profile, edit the settings of the wildcard App ID Xcode creates for you. For iOS apps, this App ID is calledXcode iOS Wildcard App ID. For Mac apps, this App ID is called Xcode Mac Wildcard App ID.

만약 당신이 team provisioning profile을 이용한다면, Xcode가 자동생성한 만능 App ID의 셋팅을 수정합니다. iOS 앱을 위해, 앱 ID는 'Xcode iOS Wildcard App ID'를 부릅니다. Mac 앱들을 위해, 이 App ID는 'Xcode Mac Wildcard App ID'를 부릅니다.


For iOS apps, you can also set the level of protection programmatically for files created by your app, as described in “Protecting Data Using On-Disk Encryption” in iOS App Programming Guide.
iOS 앱들을 위해, 당신은 또한 앱으로 생성한 파일을 위해 계획에 따라 보호 레벨을 설정할 수 있으며, 'iOS App Programming Guide'속 'Protecting Datg Using On-Disk Encryption'속에 설명되어 있는 것 처럼.

Creating Development Provisioning Profiles
개발용 프로비저닝 프로파일 생성

If you created an App ID, use Xcode to create a development provisioning profile containing your new App ID. You can also use the Xcode wildcard App ID to create a variation of the team provisioning profile (containing a subset of development certificates and devices).

App ID가 생성되어 잇다면, Xcode를 이용해 당신의 새로운 App ID가 포함된 개발용 프로비저닝 프로파일을 생성합니다. 당신은 또한 Xcode 만능 App ID를 사용해 team provisioning profile의 변화를 줄수 있습니다. (개발인증서와 장치의 일부가 포함된)


To create a development provisioning profile, you select an App ID, one or more development certificates, and one or more devices. If you need to create your development certificates, read “Creating Your Signing Certificates.” If you need to register devices, read “Developing Apps Using the Team Provisioning Profile.”

당신이 선택한 App ID, 하나 또는 그 이상의 인증서, 그리고 하나 또는 그 이상의 장치, 개발 인증서 생성하기. 개발인증서 생성을 햐야 한다면, '사인용 인증서 생성'을 읽으세요. 장치등록을 해야 한다면, 'Team Provisioning Profile을 이용해 App 개발'을 읽으세요.



Regenerating the Provisioning Profile
프로비저닝 프로파일 재생성

If you edit an App ID, provisioning profiles that contain that App ID become invalid until you regenerate them. For example, if you edit the Xcode wildcard App ID, any provisioning profile containing it—including the team provisioning profile—needs to be regenerated. After you regenerate a provisioning profile, update it on all devices you previously installed it on. The steps to regenerate the team provisioning profile are different from the steps to regenerate a provisioning profile you created.

당신이 App ID를 수정했다면, 당신이 재생성할 때까지 프로비저닝 프로파일에 포함된 App ID 'invalid'(유효하지 않음)가 유효하지 않음 상태 일 것입니다. 예를 들어, Xcode 만능 App ID를 수정했다면, 이 것을 포함한 프로비저닝 프로파일(team provisioning profile이 포함된)은 재 생성이 필요합니다. 프로비저닝 프로파일을 재생성한 뒤, 이 것들을 이전에 설치했던 장치들은 모두 업데이트 해야 합니다. team provisioning profile 재생성하는 단계는 당신이 생성한 프로비저닝 프로파일 단계와 다릅니다.


Regenerating the Team Provisioning Profile
Team Provisioning Profile 재생성.

The team provisioning profile, which is managed by Xcode, is not regenerated immediately when you make changes in Member Center. This is true even when you register devices using Member Center, not Xcode. To regenerate the team provisioning profile, you refresh the provisioning profiles or make some other change to the team provisioning profile using Xcode. Xcode regenerates the team provisioning profile and, for iOS apps, automatically replaces it on any connected iOS devices. For Mac apps, you need to replace the team provisioning profile in System Preferences yourself.

Team provisioning profile는, Xcode로 이것을 관리하면, Member Center에서 변경했을 때 즉시 재생성 되지 않습니다. Xcode가 아닌, Member Center를 이용해 장치를 등록했을 때에도 마찬가지 입니다. team provisioning profile 재 생성하기는, 프로비저닝 프로파일 리프레쉬 또는 Xcode를 이용해 team provisioning profile의 몇가지를 변경하는 경우, team provisioning profile을 재생성합니다.

For Mac apps, you need to replace the team provisioning profile on your Mac. (Xcode updates the team provisioning profile automatically only on an iOS device.)

Mac 앱들을 위해, 당신의 Mac team Provisioning profile을 교체 해야 합니다.(Xcode는 iOS 장치만 자동으로 team provisioning profile을 업데이트 합니다.)




Regenerating Provisioning Profiles Managed By You
당신이 관리한 Provisioning Profile 재생성하기


If a provisioning profile you created is invalid because you edited its App ID, regenerate the provisioning profile manually using Member Center.

만약 당신이 생성한 프로비저닝 프로파일이 App ID 수정으로 유효하지 안하면, Member Center를 이용한 수동조작으로 provisioning profile을 재생성할 수 있습니다.


Provisioning Your Development Devices
개발장치 프로비저닝

Except for the iOS team provisioning profile, after you create or regenerate a provisioning profile, you need to install it on your device. The provisioning profile you use to sign your app needs to be installed on the device before you can run your app on the device. If you previously installed a provisioning profile on a device, you need to replace it with the current version. First, you download the latest provisioning profiles from Member Center, and then you update the provisioning profiles on the device.

iOS team provisioning profile을 제외하고, provisioning profile을 생성하거나 재생성한 뒤, 당신의 장치에 설치가 필요합니다. 앱 사인요 이용할 provisioning profile은 앱을 장치에서 되려면 장치에 설치가 필요합니다. 만약 당신이 장치에 이전에 provisioning profile을 설치했다면, 현재의 버전으로 교채가 필요합니다. 첫 째로, Member Center로 부터 마지막 provisioning profile을 다운로드 받고, 당신의 장치에 provisioning profile을 업데이트 합니다.


If you use the team provisioning profile, you completed this step when you regenerated it, as described in “Regenerating the Team Provisioning Profile.”

team provisioning profile을 이용한다면, 'Team Provisioning Profile 재생성'의 설명의, 단계를 완료해 재생성 합니다.


Refreshing Your Provisioning Profiles Using Xcode
Xcode를 이용해 당신의 Provisioning Profile들 리프레쉬 하기

Changes you make in Member Center are not automatically downloaded until you refresh provisioning profiles in Xcode. To keep the Xcode copies up to date, always perform this step after you regenerate provisioning profiles in Member Center.

Member Center에서 변경은 당신이 Provisioning Profile을 XCode에서 리프레쉬 하기 전 까지 자동으로 다운로드 되지 않습니다. Xcode 날짜를 복사해 유지하려면, Member Center에서 Provisioning profile을 재생성한 후 항상 이 단계를 실행하세요.


Updating Provisioning Profiles on Your Device
장치에서 Provisioning Profile 업데이트 하기

It’s your responsibility to maintain provisioning profiles that you manage on your devices. When provisioning profiles become invalid, you need to remove them from the device. A provisioning profile becomes invalid on a device if it doesn’t match the provisioning profile in Xcode. To install and remove provisioning profiles, read “Installing and Removing Provisioning Profiles from Devices.”

당신의 장치에서 관리하는 provisioning profile을 유지하는 것은 당신의 책무입니다. provisioning profile이 유효하지 않게 되었을 때, 장치에서 삭제 해야합니다. Xcode속 provisioning profile과 맞지 않다면 당신의 장치에서 provisioning profile이 유효하지 않게 됩니다. provisioning profile을 설치하고 삭제를 하려면, '장치에서 Provisioning Profile 설치하고 삭제하기'를 읽으세요.

Setting the Bundle ID to Match Your App ID
Bundle ID 설정해 App ID 일치 시키기.

Next, set your app’s bundle ID in Xcode to match your App ID. If you use the team provisioning profile or the Xcode wildcard App ID in your provisioning profile, you can skip this step because the Xcode wildcard App ID matches all your apps.

다음, Xcode속 당신 앱의 bundle ID를 설정해 App ID와 일치 시킵니다. provisioning profile속 team provisioning profile 또는 Xcode 만능 App ID를 이용한다면,  Xcode 만능 App ID가 모든 앱과 맞춰지므로 이 단계를 건너 뛸수 있습니다.


Signing Your App Using Your Development Provisioning Profile
당신의 개발자 인증서를 이용해 당신의 앱 사인하기

Your last step is to set the Code Signing Identity build setting to your development certificate that resides in your development provisioning profile. By selecting the development certificate in the provisioning profile, you are instructing Xcode to install the provisioning profile in your app’s bundle. The operating system uses the embedded provisioning profile to determine whether your app can launch on the device and use certain services. Consequently, your app won’t be able to access store technologies if it’s not configured correctly.

마지막 단계는 Code Signing Identity 빌드 셋팅으로 개발 프로비저닝 프로파일속에 있는 개발 식별자 설정하는 것입니다. 프로비저닝 프로파일 속 개발인증서 선택으로, Xcode로 당신의 앱 bundle속 provisioning profile을 설치합니다. 운영 체제는 포함된 provisioning profile을 이용해 당신의 앱이 장치에 실핼될 수 있는 지와 확실한 서비스인지 알아냅니다. 그결과로, 당신의 앱이 바르게 설정되어 있지 않다면 스토어 기술에 접근하지 못합니다.


Before continuing, review the tasks you should have previously performed in this chapter:
계속하기전, 이 장에서 해야 했던 작업을 검토합니다.

Task

../Art/checkbox_checked_2x.png

Enable the App ID to use store technologies.

../Art/checkbox_checked_2x.png

Regenerate the provisioning profile.

../Art/checkbox_checked_2x.png

Install the provisioning profile on your device.

Then set the code signing identity and run your app.
다음 코드 사인 식별자를 설정하고 앱을 동작합니다.

To run your iOS app on your device, connect your device to your Mac, select your device from the Scheme pop-up menu, and click Run. To run your Mac app, click Run.
iOS 앱을 장치에서 동작시키려면, 당신의 장치를 Mac에 연결하고, Scheme pop-up 메뉴에서 당신의 장치를 선택하고, 'Run'을 클릭하니다. Mac App을 동작하려면, 'Run'을 클릭합니다.

Verify Your Steps
단계들 확인

You should verify that code signing works, that the App ID is configured correctly, and that the provisioning profile embedded in your app is correct. However, some technologies won’t be fully configured until you follow the steps in “Configuring Store Technologies in Xcode and iTunes Connect.” Nevertheless, you should troubleshoot any code signing and provisioning problems early.

App ID가 바르게 설정되 되었는지, 당신의 앱속에 provisioining profile이 바르게 삽입되었는지, 코드 사인을 확인해야 합니다. 하지만, 'Xcode와 iTunes Connect에 스토어 기술 설정'속 단계를 따라하기 전까지 몇몇 기술들은 완벽히 설정할 수 없습니다. 그러기는 하지만, 당신은 code signing과 provisioning 문제를 조기에 해결해야 합니다.


Later, you can verify the entitlements of the embedded provisioning profile in your app bundle, as described in “Verify Your Steps.”

이후, '단계 확인'에 서술된 것 처럼 앱 bundle 속 포함된 프로비저닝 프로파일의 자격을 확인할 수 있습니다.

Verify Code Signing
코드 사인 확인하기

To verify that there are no code signing errors, build and run your app. For iOS apps, connect your device to your Mac, select it from the Destination pop-up menu, and click the Run button to build, sign, and launch your app. (For more details on launching your iOS app, read“Launching Your iOS App on the Device.”) For Mac apps, click the Run button. If a code signing error occurs, read “Troubleshooting Code Signing Errors.”

코드 사인 에러가 없는지 확인하려면, 당신의 앱을 빌드하고 실행합니다. iOS 앱을위해, 당신의 장치를 다인의 Mac에 연결하고, Destination 팝업 메뉴에서 연결한 장치를 선택하고, 'Run' 버튼을 클릭해 빌드, 사인, 그리고 당신의 앱에 실행합니다. (당신의 앱이 실행에 더 자세한 것은, '장치에서 당신의 앱 실행하기'를 읽으세요) Mac 앱은, Run 버튼을 클릭하면 됩니다. 만약 코드 사인 오류가 발생하면, '코드 사인 오류 해결하기'를 읽습니다.


Verify the App ID Settings in Member Center
Member Center 속 앱 ID 셋팅 확인

The first time you enable store technologies, verify that the App ID and provisioning profile you are using are configured correctly.

 스토어 기술 활성화의 첫 째는, 당신이 사용하는 할 것의 앱 ID와 provisioning profile이 바르게 설정되었는지 확인하는 것입니다.


Troubleshooting
문제해결

If you encounter problems code signing, building, and launching your app, follow the steps in this section.

만약 코드 사인, 빌드, 앱에서 실행에서 문제와 만나면, 이 섹션의 단계를 따르세요.

Troubleshooting Code Signing Errors
코드 사인 오류 해결

If your development certificate or team provisioning profile doesn’t appear in the Code Signing Identity menu (in the Build Settings pane of the project editor), read “Your Provisioning Profile Doesn’t Appear in the Code Signing Identity Menu.”

Code Signing Identity 메뉴에 개발인증서 또는 team provisioning profile이 나타나지 않는다면, 'Code Signing Identity 메뉴 속 당신의 프로비저닝 프로파일이 나타나지 않음'을 읽으세요.

If a code signing error occurs when you build the app, verify that the Code Signing Identity build setting is correct. Also, check whether the Code Signing Identity build setting is set at the project or target level (target settings override project settings).

당신의 앱을 빌드할 때 오류가 발생하면, Code Signing Identity 빌드 셋팅이 바른지 확인합니다. 또한 Code Signing Identity 빌드 셋티이 프로젝트 또는 타겟 레벨인지 확인합니다.(target 셋팅은 project setting을 무시합니다.)

Read “Certificate Issues” to troubleshoot other code signing problems.

다른 코드 사인 문제들을 해결하기 위해 '인증서 논점들'을 읽으세요.

Troubleshooting Failure to Launch

실행 실패 해결.


If you build the app but it fails to launch on the device, the provisioning profile installed on the device may be wrong. Replace the provisioning profile on the device with the new provisioning profile.

앱이 빌드 되었으나 장치에서 실행이 실패한다면, 장치에 프로비저닝 프로파일이 잘못 설치된 것일지도 모릅니다. 장치에 프로비저닝 프로파일을 새 프로비저닝 프로파일로 교체 하세요.


Development Provisioning Profiles in Depth
깊이 있는 프로비저닝 프로파일

An app needs to match the installed development provisioning profile to launch. When you are ready to run your app, you sign it using your development certificate contained in the development provisioning profile. Then you install the provisioning profile and the app on the device. The app successfully launches if the app’s bundle ID matches the App ID, the signature matches a development certificate, and the device is in the device list contained in the provisioning profile.

앱이 실행되기 위해 설치된 개발 프로비저닝 프로파일과 일치해야합니다. 앱의 실행 준비가 되엇을 때, 개발인증서 프로파일 속에 포함된 개발인증서를 이용해 사인합니다. 다음 프로비저닝 프로파일과 앱을 장치에 설치합니다. 앱이 앱의 bundle ID와 App ID가 맞춰지고, 서명과 개발인증서가 맞춰지며, provisioning profile속 장치 리스트에 장치가 포함되어 있다면 성공적으로 실행합니다.


../Art/DeveloperProfileLaunch_2x.png

Therefore, a development provisioning profile allows a team member to build an app on his or her Mac and share it with other team members, who can then run that app on their devices. For small teams, you might have one development provisioning profile (for example, the team provisioning profile) containing all team member devices and certificates. For larger teams, you can create multiple development provisioning profiles for specific purposes and groups.

그러므로, 개발 프로비저닝 프로파일은 팀 멤버가 그들의 Mac에서 앱을 빌드하는 것과 다른 팀 멤버와 공유하는 해, 그들의 장치로 앱을 실행할수 있게 허가합니다. 작은 팀은, 모든 팀 멤버의 장치와 인증서가 포함된 하나의 개발 프로비저닝 프로파일을 가질 수 있습니다. 큰 팀은,  특정 목적과 그룹을 위해 많은 개발 프로비저닝 프로파일을 만들 수 있습니다.


When you create a development provisioning profile, you can limit any of these three areas to provide additional security:
개발 프로비저닝 프로파일을 생성햇을 때, 당신은 추가적으로 제공하는 세가지 보안 영역중 하나로 제한 할 수 있습니다.

  • With a wildcard App ID, you can limit the profile to a subset of your apps; with an explicit App ID, you can limit the profile to a single app.
    '만능 App ID'와, 당신의 프로파일을 앱을 일부로 제한합니다. (명시한 App ID와, 프로파일을 싱글 앱으로 제한 할수 있습니다.)

  • You can restrict the developers allowed to sign an app using the profile.
    당신은 프로파일을 이용해 앱에 사인하는 개발자 허가 범위를 제한할 수 있습니다.

  • You can restrict the devices that the app runs on.
    당신은 앱이 실행되는 장치 범위를 제한할 수 있습니다.

Recap
요약정리

In this chapter you learned how to enable store technologies for an App ID and create or regenerate a development provisioning profile containing the App ID using Member Center. These same steps work for wildcard and explicit App IDs. The next chapter describes additional configuration of store technologies using Xcode and iTunes Connect.

이 장에서 App ID로 스토어 기술 활성화 방법과 Member Center를 이용해 App ID를 포함하는 개발 프로비저닝 프로파일 생성과 재생성하는 방법을 배웠습니다. 이것은 만능형과 명시형 App ID 작업이 같습니다. 다음 장에서는 Xcode와 iTunes Connet 스토어 기술의 추가 설정을 설명합니다.

Posted by 창업자닉군
,