美文网首页
because it has an invalid code s

because it has an invalid code s

作者: 简单点的笨演员 | 来源:发表于2021-01-09 14:25 被阅读0次

    使用还没有验证(没有交99$)的个人开发者账号,新建的一个APP,xcode编译后,在一台新ipad上,跑不起来,提示一下的错误:

    Details
    
    Could not launch “EncryptLib_Example”
    Domain: IDEDebugSessionErrorDomain
    Code: 3
    Failure Reason: The operation couldn’t be completed. Unable to launch org.cocoapods.demo.EncryptLib-Example because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.
    User Info: {
        DVTRadarComponentKey = 855031;
        RawLLDBErrorMessage = "The operation couldn\U2019t be completed. Unable to launch org.cocoapods.demo.EncryptLib-Example because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.";
    }
     --
    
    
    System Information
    
    macOS Version 11.0.1 (Build 20B50)
    Xcode 12.2 (17535) (Build 12B45b)
    Timestamp: 2021-01-09T14:11:14+08:00
    

    因为开发者账号没有验证,所以开发的APP不被信任,如果在ipad上点击APP来打开,会出现下面的提示:


    解决办法很简单,到 设置 -> 通用 -> 设备管理 来信任对应的开发者。当然如果要上架AppStore,还是需要验证开发者的(交钱)。

    相关文章

      网友评论

          本文标题:because it has an invalid code s

          本文链接:https://www.haomeiwen.com/subject/ptycaktx.html