Post

Replies

Boosts

Views

Activity

XCode 10, WatchKit app and distribution error ITMS-90334 with com.apple.wk
I have a project with WatchKit app inside.It used to work smooth with XCode 8 and XCode 9 with automatic signing and distribution. XCode 10 broke something.What i have at the moment is thishttps://i.stack.imgur.com/lJ4Vy.pngERROR ITMS-90334: "Invalid Code Signature Identifier. The identifier "com.apple.WK" in your code signature for "myApp Watch App" must match its Bundle Identifier "com.myApp.watchkitapp""The main point here is "com.apple.wk"It has been added somewhere at the re-signing stage by the organizer as far as i can understand.I checked my project quadriple and i'm 100% sure it doesn't contain "com.apple.wk" string anywhere.I switched to manual signing. Created new iOS Distribution certificate. Generated 3 Provision profiles with the correct bundles for app, watch app, watchapp extension. The same error is here.I tried to clean the project, open\close XCode, reboot the system. No luck.I'm unable to dilever my IPA to iTunes with the error above.I tried to export IPA and distribute it with Application Loader. No luck.The only one place i Found "com.apple.wk" string was in packaging log2018-09-21 06:54:33 +0000 /var/folders/gg/jxvtgf9n07s9m0z_vzqlx0c00000gn/T/XcodeDistPipeline.4mX/Root/Payload/myApp.app/Watch/myApp Watch App.app: replacing existing signature 2018-09-21 06:54:34 +0000 /var/folders/gg/jxvtgf9n07s9m0z_vzqlx0c00000gn/T/XcodeDistPipeline.4mX/Root/Payload/myApp.app/Watch/myApp Watch App.app: signed app bundle with Mach-O universal (armv7k (33554444:1)) [com.apple.WK]the same time main app and extension have resigned with the correct bundle ids2018-09-21 06:54:34 +0000 /var/folders/gg/jxvtgf9n07s9m0z_vzqlx0c00000gn/T/XcodeDistPipeline.4mX/Root/Payload/myApp.app: replacing existing signature 2018-09-21 06:54:34 +0000 /var/folders/gg/jxvtgf9n07s9m0z_vzqlx0c00000gn/T/XcodeDistPipeline.4mX/Root/Payload/myApp.app: signed app bundle with Mach-O universal (armv7 arm64) [com.myAppBundleName] & 2018-09-21 06:54:33 +0000 /var/folders/gg/jxvtgf9n07s9m0z_vzqlx0c00000gn/T/XcodeDistPipeline.4mX/Root/Payload/myApp.app/Watch/myApp Watch App.app/PlugIns/myApp Watch App Extension.appex: signed bundle with Mach-O universal (armv7k (33554444:1)) [com.myAppBundleName.watchkitapp.watchkitextension]Any ideas how to fix the issue app are greatly appreciated.
8
0
2.7k
Sep ’18