---
# System prepended metadata

title: '4/11 10:00 海尼根交接會議'

---

# 4/11 10:00 海尼根交接會議

材料
1. CSRF
2. Certificates:
    1. Distribution Certificate
    2. Development Certificate
3. App IDs 
    1. iPhone: heineken.internal.pggirl
    2. iPad: ipad.heineken.internal.pggirl
4. Provisioning Profiles
    1. iPhone Distribution Provisioning Profile
    2. iPhone Development Provisioning Profile
    3. iPad Distribution Provisioning Profile
    4. iPad Development Provisioning Profile

＊我說一次 iPhone 由對方操作，剩下 iPad 交由對方獨立完成

生成 Certificates
1. CSRF 驗證裝置，向 Apple 註冊換取 Apple 核發的 Certificate
2. Distribution 是打包發佈時要驗證的，Development 是開發時（例如 Build 到實機）需要驗證的
3. KeyChain > Certificate Assistant > Request a Certificate From a Certificate Authority > Save to Disk

iPhone 生成 App ID
1. App ID
    1. App IDs
    2. Configure Description (Naming) & Bundle ID

iPhone 生成 PPs
1. Register Distribution Certificate
    1. In-House and AdHoc
    2. Upload CSRF
    3. Download
2. Register Development Certificate
    1. iOS App Development
    2. Upload CSRF
    3. Download
3. 點擊匯入 Certificates，確認 KeyChain 存在匯入的 Certificates
4. Export Certificates 得到 .p12 妥善保存，建議開發和發佈與其他成員共用即可
5. Register Distribution PP
    1. In House
    2. Selected App ID
    3. Configure Certificate
    4. Generate
    5. Download
6. Register Development PP
    1. iOS App Development
    2. Selected App ID
    3. Configure Certificate
    4. Generate
    5. Download
7. 確認 ${HOME}/Library/MobileDevice/Provisioning Profiles 數量，點擊匯入 PPs 之後，確認增加的數量
8. Open Xcode and Check Signing and Capability
9. Build success

iPhone 打包發佈
1. Archive and Distribute App > Enterprise
2. 覆蓋 .ipa into Dropbox/heineken/iphone-prod.ipa

iPad 生成 App ID 重複 iPhone 生成 App ID

iPad 生成 PPs 重複 iPhone 生成 PPs

iPad 打包發佈
1. Archive and Distribute App > Enterprise
2. 覆蓋 .ipa into Dropbox/heineken/ipad-prod.ipa

Q&A 時間