真机调试watch的一系列bug

真机调试watch的一系列bug

系列一

  1. WatchKit 2.0 app's bundle ID com.jiaoshi.memoKB is not prefixed by the parent app's bundle ID followed by a '.'; expected prefix com.jiaoshi.memoKB.
  2. Missing or invalid value of WKCompanionAppBundleIdentifier key in WatchKit 2.0 app's Info.plist: pualus.memoKB (expected com.jiaoshi.memoKB)

解决

用expected prefix后的字符串改写原有字符串


系列二

  1. Keyboard Extension has conflicting provisioning settings. Keyboard Extension is automatically signed, but provisioning profile 137dae0b-0200-4c84-b71d-94e829158ee6 has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor.
  2. Code signing is required for product type 'WatchKit Extension' in SDK 'watchOS 3.2'

解决

  1. 首先检查证书问题
  2. 修改项目/第三方/第三方扩展的Bundle identifier. 替换Identifier即可,不必管后缀
  3. 选择Team(如果步骤1没什么问题,此处问题也不大
  4. 修改项目/第三方/第三方扩展的 Building setting-->Code Signing Identity-->Debug为pp文件

「3,4详见博客【真机测试教程】

posted @ 2017-08-29 19:55  屋中人  阅读(623)  评论(0编辑  收藏  举报
返回顶部