·您现在的位置: 江北区云翼计算机软件开发服务部 >> 文章中心 >> 网站建设 >> app软件开发 >> IOS开发 >> WatchKitAppSubmissionIssues

WatchKitAppSubmissionIssues

作者:佚名      IOS开发编辑:admin      更新时间:2022-07-23

查看原文: http://leancodingnow.com/watchkit-app-submission-issues/

 

I submitted a new version of my app Pomodoro Tracker yesterday, adding support for Apple Watch. I encountered several issues when submitting the app, just list them below.

1.Version and Build Number

Make sure the version and build numbers for your iphone app, WatchKit extension, and WatchKit app are the same in the binary you upload.

2.No matching PRovisioning profiles found for WatchKit extension

I found the answer on stackoverflow

You need to create two new AppIDs in the Developer Portal with the correct bundle identifier for your Watchkit app and Watchkit extension. The bundle identifier has to extend the main apps identifier, so if your app is com.myapp it should be com.myapp.watchkitextension and com.myapp.watchkitapp. You also need to create the related Provisioning Profiles for the AppIDs, one for the Watchkit extension and one for the Watchkit app.

3.Invalid Icon - The watch application 'Pomodoro.app/PlugIns/Pomodoro WatchKit Extension.appex/Pomodoro WatchKit App.app' contains an icon file 'Pomodoro.app/PlugIns/Pomodoro WatchKit Extension.appex/Pomodoro WatchKit App.app/AppIcon29x29@2x.png' with an alpha channel. Icons should not have an alpha channel.

You just need to re-export the icons in Preview, but uncheck the Alpha checkbox when saving.

 

其它博文:

  • Swift learning resources
  • Xcode 6 模拟器路径
  • Scrum Planning Card
  • Watch​Kit Learning Resources

More blog posts on http://leancodingnow.com/ 

欢迎关注我的微信公众号

 

Hope this helps, 
Michael