How do I produce an iOS Release Build that my client can sign on their end?

前端 未结 10 723
你的背包
你的背包 2020-12-12 09:17

My scenario

I wrote an iOS app for a client. The project is almost over and now it\'s time for them to put it in the App Store. I\'ve been sending t

10条回答
  •  情歌与酒
    2020-12-12 09:59

    I had the same problem. This was how I finally solved it:

    1. Client created a development certificate.
    2. Client created a development provisioning file using the same App ID as the distribution provisioning file.
    3. Client exported development certificate (.p12).
    4. Client sent me the .p12 file and the development mobile provisioning file.
    5. I imported the clients p12 file into my keychain
    6. I imported the client's provisioning file into Xcode.
    7. Set the code signing Identity for my build configuration to use the client's provisioning file.
    8. I Archived the app.
    9. I Sent the Archive to the client.
    10. The client created their distribution build by signing the app with their distribution provisioning file. (They were distributing the app internally for testing.)

    The client was not so concerned with sharing a development certificate as they would be sharing their distribution certificate.

    I also had to create entitlements.plist with "Can be debugged" (get-task-allow) set to NO, and reference it in the build configuration (under Code Signing, Code Signing Entitlements).

提交回复
热议问题