iPhone 配置 Xcode 4.2
我一直使用 Xcode 3.2 编写我的应用程序,最近升级到 Xcode 4.2 并将其设置为针对 iOS 3.2 或更高版本进行开发。我现在正在尝试让我的应用程序在运行 iOS 4.2.1 的 iPhone 3G 上运行。 (当前版本。)我在 iPhone 4.3 模拟器和 iPhone 4.3 模拟器上成功运行了我的应用程序。 5.0模拟器。但是,当我尝试在 iPhone 上运行时,出现以下错误:
valid signing identity not found.
我将我的应用程序 ID 命名为 com.myname.App
我已经阅读了几个有关配置此功能的教程,所以我'已经习惯了这些步骤。我尝试过使用 iPhone 配置门户登录来更改捆绑包标识符,并更改钥匙链中钥匙上的名称。
我已删除所有证书和配置并从头开始多次。
当我上周加入苹果开发者计划时,我使用了我的“短”名字,但我的信用卡上有我的“长”名字。现在,我的开发证书显示了我的“短”名称,但我的分发证书显示了我的“长”名称。这有关系吗?
当我检查“钥匙串访问”时,它会在“登录”中显示两个密钥。
我想我的问题主要是,哪些名称必须完全相同,即:应用程序 ID、密钥、开发证书、捆绑包标识符,是否区分大小写?
我在忽略什么?
我的 SDK 与 iOS 是否存在某种冲突?
I been writing my App using Xcode 3.2 and I recently upgraded to Xcode 4.2 and set it for developing for iOS 3.2 or newer. I’m now trying to get my App to run on my iPhone 3G which is running iOS 4.2.1. (Current version.) I successfully run my App on iPhone 4.3 simulators & 5.0 simulators. But, when I try to run on my iPhone, I get the following error:
valid signing identity not found.
I named my App Id as com.myname.App
I‘ve gone through several tutorials on getting this provisioned, so I’ve become accustomed to the steps. I’ve tried changing the Bundle Identifier, using the iPhone Provisioning Portal Login and changing the Name on the Key in the Key Chain.
I’ve deleted all Certificates and Provisioning and started from scratch several times.
When I joined the Apple Developer program last week, I used my “short” name, but my credit card had my “long” name on it. Now, my Development Certificate shows my “short” name, but my Distribution Certificate shows my “long” name. Does that matter?
When I check my Key Chain Access, it shows both keys in Login.
I guess my question mostly is, what names have to be exactly the same ie: App Id, Keys, Development Certificate, Bundle Identifier and is it case sensitive?
What am I overlooking?
Do I have a SDK vs iOS conflict of some sort?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议检查目标部分中附加的配置文件。有时,当您修改项目设置时,这些设置不会反映在目标设置中。因此,我怀疑目标设置仍在使用旧的配置文件(该配置文件的名称可能与您要使用的新配置文件的名称完全相同)。如果是这样,您可以在目标中重新选择配置文件。只需清理并重新运行项目即可。
I will suggest checking the profiles attached in the target section . Sometimes when you modify the project settings , those don't get reflected in the target settings . So I doubt the target settings are still using the older profile ( which may be of the exactly same name like the newer one which you want to use ) . If it is so , you can re-select the provisioning profile there in the target .. Just clean and re-run the project .
当您在 xcode 中使用最新的 ios 并且您的 iPhone 的 ios 版本为 4.2 时,只需在 xcode 中更改与您的 iPhone IOS 版本相关的目标部署版本即可。检查您的捆绑包 identifire 和代码签名身份是否正确?还要在开发者网站上检查您的 iPhone UDID 是否已添加。
As you use latest ios in xcode and your iPhone have a 4.2 ios version, just change the target deployment version relate to your iPhone IOS version in xcode. Check your bundle identifire and code signing identity is correct? also check in developer site that your iPhone UDID is added.