Appcelerator Titanium:代码签名错误:未找到代码签名身份 [英] Appcelerator Titanium: Code Sign error: No codesigning identities found

查看:41
本文介绍了Appcelerator Titanium:代码签名错误:未找到代码签名身份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这让我发疯了,我花了大约 10 个小时为我的 Appcelerator Titanium iPad 应用删除和重新生成 Apple 密钥和配置文件.1 年前,我完成了所有工作和编译,然后我的 Mac 崩溃了,我不得不重新格式化并重新开始.

我无法克服此错误:代码签名错误:未找到与您的构建设置(‘Okland Construction 2014’)中指定的配置文件匹配的代码签名身份(即证书和私钥对)."

>

在 Apple 开发人员中心,我创建了必要的分发配置文件并将它们安装在我的钥匙串中,但我总是收到此错误.

我只是不知道遗漏了什么或错了什么.

我已经阅读了此内容并按照说明进行操作,但无济于事:

​​iOS 7.0 未找到代码签名身份

我希望有人能在我失去理智之前提供帮助.10 小时,100 多次尝试,重新启动、删除、重新生成.

解决方案

假设您正在尝试将应用程序部署到设备中,

在几种情况下,会出现此问题.

  1. 当您尚未在您的机器中安装临时配置文件和相应的开发者证书时.

    • 您需要使用正确的开发者证书和配置文件.转到您的钥匙串并检查是否安装了与您的配置文件对应的开发者证书.
    • 如果未安装开发者证书,您可以从开发者中心下载正确的开发者证书,或者您需要创建新的开发者证书.
    • 如果是创建开发者证书,需要向权威机构申请证书,然后上传.certSigningRequest文件到开发者中心,生成开发者证书.然后还要更新您当前的配置文件.
  2. 您项目的运行配置不正确.

    • 在某些情况下,Titanium Studio 不会自动重置您的项目配置.所以你需要手动重置它.为此
    • 打开您的 Titanium Studio,然后打开您的项目.
    • 右键单击项目,然后选择运行方式 -> 运行配置..(见图 1)

  • 在下一个屏幕中选择开发证书、配置文件和设备(见图 2).

  • 点击运行按钮,然后点击应用按钮.

希望对你有帮助.

This is driving me crazy, I have spent about 10 hours now deleting and regenerating Apple keys and provisioning profiles for my Appcelerator Titanium iPad app. I had this all working and compiling 1 year ago, then my Mac crashed and I had to reformat and start over.

I cannot get past this error: "Code Sign error: No codesigning identities found (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings ('Okland Construction 2014') were found."

In the Apple developer center I created the necessary distribution profiles and installed those in my keychain, but I always get this error.

I just have no idea what is missing or wrong.

I already read this and following instructions, to no avail:

iOS 7.0 No code signing identities found

I hope someone can help before I lose my sanity. 10 hours, 100+ attempts, restarts, deletes, regens.

解决方案

Assuming that you are trying to deploy the application into the device,

In a couple of situations, this issue occurs.

  1. When you haven't installed provisional profile and corresponding developer certificate in your machine.

    • You need to use the correct developer certificate and provisioning profile. Go to your keychain and check whether the developer certificate corresponding to your provisioning profile is installed.
    • If the developer certificate is not installed, you can either download the correct one from developer center or you need to create new developer certificate.
    • If you are creating a developer certificate, you need to request for a certificate from the authority, then upload the .certSigningRequest file to the developer center and generate your developer certificate. Then update your current provisioning profile also.
  2. Run configuration for your project is not correct one.

    • In some cases, Titanium Studio does not reset your project configuration automatically. So you need to reset it manually. For that
    • Open your Titanium Studio, then open your project.
    • Right click on the project then select Run as -> Run configurations.. (see the image 1)

  • Select the development certificate, provisioning profile and device in the next screen(see image 2).

  • Click the run button followed by the apply button.

I hope it helped you.

这篇关于Appcelerator Titanium:代码签名错误:未找到代码签名身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆