简体   繁体   English

iPhone应用程序的代码签名

[英]code signing of iPhone application

1) i developed one application.. it is working fine in simulator. 1)我开发了一个应用程序..它在模拟器中工作正常。 does it work in real 真的有效吗
iPhone with out any modification.. iPhone没有任何修改。

2) 2)
a) when i select in xcode projectmenu -> SetActiveSDK -> Device-iPhone OS 2.2 getting one a)当我在xcode项目菜单-> SetActiveSDK-> Device-iPhone OS 2.2中选择一个
error. 错误。 but i can't see what is the error, how to solve this ?. 但我看不出是什么错误,如何解决? b) if it is not working with Device -iPhone OS SDK, is it work on the real iPhone.? b)如果它不能与Device -iPhone OS SDK一起使用,则可以在真正的iPhone上使用吗?

pls help , thanx and regards. 请帮助,感谢和问候。

Good job on your app. 做好您的应用程序。 It's a good sign that it works in the simulator, but you never know if it will work on the device until you try. 这是一个很好的信号,它可以在模拟器中运行,但是直到尝试之前,您都不知道它是否可以在设备上运行。 Some things will be faster on the device and many things will be slower. 有些事情在设备上会更快,而很多事情会更慢。 There are other differences. 还有其他区别。 It's possible to have your app crash on the device but not on the sim, or the other way around. 您的应用可能会在设备上崩溃,而在SIM卡上则不会崩溃,反之亦然。 It's even more common to have memory leaks on one but not the other. 一个内存泄漏而另一内存泄漏更常见。 XCode lets you debug on either and run the code tools on either. XCode使您可以在任何一个上调试并在其中一个上运行代码工具。

Signing is a bit of a nightmare. 签名有点噩梦。 It's easy to mess it up. 很容易弄乱它。 Follow the instructions carefully. 请仔细按照说明进行操作。 If you think you've messed up your project beyond hope, start a new project and move your source and assets over to it. 如果您认为自己把项目弄得一团糟,那就开始一个新项目,并将源和资产移到该项目上。

At some point you'll have everything working, then you'll turn off your computer or something and you'll get a message that you don't have a valid device connected. 在某个时候,您将一切正常,然后关闭计算机或其他设备,并且会收到一条消息,提示您未连接有效的设备。 Reboot your iPhone when that happens. 发生这种情况时,请重新启动iPhone。

Be warned that it's even hairier signing your code for the App store. 请注意,为App Store签名代码更加麻烦。

Just stay calm and keep trying. 保持冷静,继续努力。 Also, ask on Apple's boards. 另外,向苹果董事会提问。 Many people have gone through the trama and shared your pain. 许多人经历了曲马,并分担了你的痛苦。 Good luck. 祝好运。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM