Provisioning Profile Profile of WatchKit Extension?

I'm trying to submit an iOS application to the App Store right now. It compiles fine and installs on my test device without any one error or even warning. I have an Apple Watch app that is going to go along with it, but that seems to be giving me problems. When I create the Application Archive, I get the following 5 warnings:

[App Name] WatchKit Extension warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** Watch App.app/_WatchKitStub/WK warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** Watch App.app/*** Watch App [App Name] warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** Watch App.app/_WatchKitStub/WK warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** Watch App.app/*** Watch App warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** WatchKit Extension 

And then he continued this error:

From Xcode v6.3

Does anyone else have these problems? Any help would be greatly appreciated!

+1
ios provisioning-profile watchkit apple-watch
Apr 10 '15 at 5:04
source share
2 answers

I had both of these problems when I created the WatchKit app.

(1) For your first problem: warning: skip the copy strip phase.

I found solutions here:

Warning during archive. App with iOS 8 extension in Xcode 6

and here:

Xcode 6 Archiving and receiving the warning “Skip phase copy bandwidth, code with binary code” when adding a “sharing extension” for targeting

In particular, here are the steps I used to fix the problem:

  • Launch Xcode and open your project.

  • Select the blue project icon in the upper left corner.

  • In the second column, which contains the sections: PROJECT and TARGETS, select the primary target in the TARGETS section.

  • Select the "Build Settings" tab.

  • Scroll down to the Deployment section.

  • Locate and expand the section called "Debug Debugging Symbols While Copying"

  • Find the line called "Release".

  • Change the value from Yes to No.

Build Settings> Deployment> Strip Debug Symbols

(2) For your second problem: Failed to find or create the corresponding signature assets. The solutions are here:

No training profiles for WatchKit extension found when sending to App Store

and here:

Submit WatchKit Provisioning Error

I had to update the Provisioning Profile "Distribution" profile, which I used to send my entire application before I turned on the WatchKit extension. In particular, these steps fixed my problem:

I went to developer.apple.com by selecting "Certificates, identifiers, and profiles."

  • On the Identity and Profile Identifiers page> Profile Profiling page, click the Application Store profile.
  • Click "Edit."
  • Click Create
+4
Apr 10 '15 at 14:09
source share

I have a solution that worked (for me)

First: make sure you turn on all the services that you used in your application (chat application) and (extension of the clock set),

For example, if you used iCloud in your native application, you should include iCloud in your Watch Kit and (Kit Kit Kit extension), even if you did not use iCloud in your watch application.

The same goes for application groups.

Secondly: make sure that the package identifier (Watch Kit application) and (Kit Kit extension) extend your own application,

For example, if the application com.company.myapp identifier (Watch Kit App) should be: com.company.myapp.watchkitapp and further (extension of the watch set) should be: com.company.myapp.watchkitextension

Hope this helps.

+3
Jun 05 '15 at 9:45
source share



All Articles