微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

有没有办法修复错误:在钥匙串中找不到有效的 iOS 代码签名密钥你需要向苹果申请一个代码签名证书

如何解决有没有办法修复错误:在钥匙串中找不到有效的 iOS 代码签名密钥你需要向苹果申请一个代码签名证书

我尝试在我的 Iphone XS 上调试应用程序,但是当我开始调试时,我收到以下消息:

Error: No valid iOS code signing keys found in keychain. You need to request a codesigning certificate from https://developer.apple.com.

当我点击他在这部分代码上发送的错误时:

<Target Name="_DetectSigningIdentity" Condition="'$(_CanOutputAppBundle)' == 'true'" DependsOnTargets="_DetectAppManifest;_DetectSdkLocations;_ComputeTargetFrameworkMoniker">
    <DetectSigningIdentity
        SessionId="$(BuildSessionId)"
        Condition="'$(IsMacEnabled)' == 'true'"
        AppBundleName="$(_AppBundleName)"
        AppManifest="$(_AppManifest)"
        Keychain="$(CodesignKeychain)"
        RequireCodeSigning="$(_RequireCodeSigning)"
        RequireProvisioningProfile="$(_RequireProvisioningProfile)"
        SdkIsSimulator="$(_SdkIsSimulator)"
        SdkPlatform="$(_SdkPlatform)"
        ProvisioningProfile="$(CodesignProvision)"
        SigningKey="$(_SpecifiedCodesignKey)"
        DetectedCodeSigningKey="$(_CodeSigningKey)"
        TargetFrameworkMoniker="$(_ComputedTargetFrameworkMoniker)"
        >

我的目标操作系统是 14.2 - 和我的 iOS 一样。我该怎么做才能解决这个错误

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。