스마트폰 프로그래밍/Swift 6

인앱결재 영수증 확인 php소스

header("Content-Type: text/html; charset=UTF-8"); header("Cache-Control:no-cache"); header("Pragma:no-cache");     /**     * Verify a receipt and return receipt data     *     * @param   string  $receipt    Base-64 encoded data     * @param   bool    $isSandbox  Optional. True if verifying a test receipt     * @throws  Exception   If the receipt is invalid or cannot be verified     * @return  ar..

4단계 개발자 디바이스 빌드

출처 : http://nagom.tistory.com/ 1. https://developer.apple.com/membercenter/index.action 사이트 접속 2. Apple Member Center 에서 iOS Provisioning Portal 선택 3. iOS Provisioning Portal - Provisioning - New Profile 버튼을 선택합니다. 4. Development Provisioning Profile 생성 - Profile Name : 프로파일명 입력 - Certificates : 인증서 선택 - App ID : 어플 ID 선택 - Devices : 실행할 디바이스 선택 (여러대 선택 가능) 정보 입력 후 Submit 버튼을 선택합니다. 5. 웹페이지를 새로고..

3단계 디바이스 추가

출처 : http://nagom.tistory.com/ 1. https://developer.apple.com/membercenter/index.action 사이트 접속 2. Apple Member Center 에서 iOS Provisioning Portal 선택 3. iOS Provisioning Portal - Devices - Add Devices 버튼을 선택합니다. 4. 디바이스 내용 입력 - Device Name : 디바이스 명 입력 - Device ID : 디바이스를 연결하고 아이툰즈를 실행하고 장비 요약 정보에서 일련번호를 클릭하면 나오는 식별자 UDID를 복사(command + C) 한후 붙여넣기(command + V) 하면됩니다. 5. 디바이스 등록 완료

2단계 어플 ID등록

출처 : http://nagom.tistory.com/ 1. https://developer.apple.com/membercenter/index.action 사이트 접속 2. Apple Member Center 에서 iOS Provisioning Portal 선택 3. iOS Provisioning Portal - Manage - New App ID 버튼을 선택합니다. 4. App 정보 입력 - Description : nagom - Bundle Idenitfier : com.tistory.nagom.nagom ※ App ID는 한번 생성하면 삭제가 안됨니다. Bundle Idenitfier 는 중복 생성되지 않습니다. 고유한 이름입니다. 5. App IDs 등록 완료

1단계 인증서 인증

출처 : http://nagom.tistory.com/ 유료 개발자 등록을 마친 후 1. https://developer.apple.com/membercenter/index.action 사이트 접속 2. Apple Member Center 에서 iOS Provisioning Portal 선택 3. WWDR 인증서 다운로드 - Certificates 메뉴에서 WWDR 다운로드 *If you do not have the WWDR intermediate certificate installed, click here to download now. 4. 다운로드 받은 AppleWWDRCA.cer 파일을 실행 시켜 키체인 인증서에 추가합니다. ※ 키체인 위치 : 응용프로그램 - 유틸리티 - 키체인 접근 5. 인증 기..