• 真机调试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详见博客【真机测试教程】

  • 相关阅读:
    test1
    servlet的生命周期
    关与JdbcTemplate"的thread "main" org.springframework.jdbc.BadSqlGrammarException
    正则表达式
    @Autowired和@Resource的区别
    kubernetes安装
    docker相关
    KIBANA
    mysql在centos上安装
    MySql不错的文章
  • 原文地址:https://www.cnblogs.com/pualus/p/7450014.html
Copyright © 2020-2023  润新知