WatchKit Upload

前端 未结 5 1259
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-15 09:24

I am trying to submit my WatchKit app t iTunesConnect. I click \"Archive\" and then validate and I am shown the message below. I have created an App Id for the app, extensio

相关标签:
5条回答
  • 2021-01-15 09:42

    To properly sign a watch app, you need three different App IDs and each App ID needs a provision profile.

    1. Go to Developer Member Center

    2. Add/Edit the three App IDs:

      • One for your main App bundle, you may need to add the entitlements you need, like App Groups, Keychain Access Group.
      • One for your watchkit extension bundle, you may need to add the entitlements you need.
      • One for your watchkit app bundle. No entitlements needed.
    3. Delete the distribution provision profiles for the three App IDs, if they already exists.

    4. Add three new distribution provision profiles for the three App IDs.

    5. Now go back to Xcode, open Preference and go to Accounts.

    6. Choose your Apple ID, click View Details on the bottom right.

    7. Click the refresh button on the bottom left, wait for the list of provision profiles to change.

    8. In Build Settings for all your targets, configure the Code Signing part as below.

    Code Signing

    1. Try Archive again.

    2. When you submit your app, XCode will ask you to confirm the provision profile it uses to sign each of your bundles. You need to be sure that the provision profile names match those you configured in Developer Member Center.

    0 讨论(0)
  • 2021-01-15 09:45

    Judging by the screenshot, it looks like your profiles need to have the missing entitlements (beta-reports-active, keychain-access-groups) added to them.

    0 讨论(0)
  • 2021-01-15 09:45

    Using XCode 6.3 solved the problem to me. I previously used 3 provisionning profiles for watch apps source : Watchkit Extension - No matching provisioning profiles found

    0 讨论(0)
  • 2021-01-15 09:48

    You will need to create a provisioning profile for the watchkit extension as well as the provision that you have for your app.

    If you download the Apple Lister App Code Sample there is a guide to getting started that show you everything that you need to do to setup your app to work properly on a device with Apple Watch.

    https://developer.apple.com/library/ios/samplecode/Lister/Introduction/Intro.html

    Click on the Download Sample Code button, and in that folder there is a file called iOS and Watch Quick Start.pdf

    0 讨论(0)
  • 2021-01-15 10:01

    I have uploaded one app to itunesconnect with watch app.

    This is very simple. You need to create 3 appstore provisioning profiles and the bundle identifier for the extention and watchApp are like

    com.abc.app      - Phone app
    com.abc.app.extention - Extention
    com.abc.app.watchapp  - watch app
    

    and also sync app group in capabilities tab in all 3 targets.

    All are well.

    you just needs to create Archive for only Phone App (Main Target). That's It. When user will download your app. And if phone have attached Watch then this will automatically get informed to you for watchapp download.

    0 讨论(0)
提交回复
热议问题