zoukankan      html  css  js  c++  java
  • 真机调试

    App installation failed

     Could not write to the device.

    错误发生的条件:

    在testFlight 上下载的测试包,出现闪退,然后再次真机测试,出现以上错误,Stack Overflow 有回答说,clean 项目:该保存消失,又出现以下错误。

     

     App installation failed

    A valid provisioning profile for this executable was not found.

     

    自动签名 的问题:

    如果在xCode 中,点击项目名称, Project 和 target 中手动设置了开发者证书和发布证书,签名证书,再在general中设置 签名的profile 时,会直接报错:

    APP NAME has conflicting provisioning settings.

    APP NAME is automatically signed, but code signing identity iPhone Distribution:TEAM ID (OOOOOXXXXX) has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor.

    这个好像是 xCode  9.3 才有的错误,之前没有见过,之前手动设置之后,这里还可以设置,也许是我记错了。

    xCode 9.3之后,设置了自动签名要把  setting 里面的签名设置为iOS developer 。和 iOS distribution 挨着的那个,不是下面的你之前手动设置过得。

    Code Signing Error: APP NAME has conflicting provisioning settings. APP NAME is automatically signed, but code signing identity iPhone Distribution:TEAM ID  (XXXXXOOOOO) has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor.

     

    Code signing is required for product type 'Application' in SDK 'iOS 11.3'

     

  • 相关阅读:
    Invalid bound statement (not found)解决方法
    MySQL的sum()函数
    关于Mybatis的java.lang.UnsupportedOperationException异常处理
    博客迁移
    Building Blog(个性化博客)2
    走一波服务器
    JZ高中OJ 1036. [SCOI2009]迷路
    JZ初中OJ 2296. [noip普及组2]神殿
    JZ初中OJ 2295. [noip普及组2]栈
    JZ初中OJ 2298. [noip普及组2]异或
  • 原文地址:https://www.cnblogs.com/wjw-blog/p/8858746.html
Copyright © 2011-2022 走看看