我正在尝试将我的 iOS 应用安装到运行 iOS 5.1 的设备上.它目前尚未越狱,但如果需要的话,我会这样做.
I'm trying to install my iOS app on to my device running iOS 5.1. It's not currently jailbreaked but if that's what it takes I'll do that.
当我运行 iOS 5.0.1 时,我关注了这个线程:如何将 iPhone 应用程序从 Xcode 部署到真正的 iPhone 设备上? 并创建了一个自签名证书,效果非常棒.
When i was running iOS 5.0.1 I followed this thread: How can I deploy an iPhone application from Xcode to a real iPhone device? and created a self-signed certificate, that worked like a charm.
更新到 Xcode 4.3.2 和 iOS 5.1 后,我无法让它工作
I'm not able to get it working after updating to Xcode 4.3.2 and iOS 5.1
我也试过关注这个帖子,但没有成功:在没有苹果开发者程序或越狱的设备上测试iOS应用
I'v also tried following this thread but with no success: Test iOS app on device without apple developer program or jailbreak
那么如何在不成为开发者计划成员的情况下将我的应用从 Xcode 4.3.2 安装到运行 iOS 5.1 的 iPhone 4 上?
我现在可以将应用程序放到 iPhone 上.但是当我尝试启动它们时,它们崩溃了,甚至启动图像都没有出现.我已经越狱了设备,安装了 Appsync,编辑了 SDKSettings.plist 并将构建属性更改为不要编码签名".
I am now able to get the applications on to the iPhone. But when i try to start them they crash, not even the launch image comes up. I've Jailbroken the device, installed Appsync, edited the SDKSettings.plist and changed the build properties to "Don't code Sign".
这是我尝试启动应用程序时控制台给我的信息,我在 Xcode 中没有收到任何崩溃日志:
This is what the console gives me when i try to start the app, i'm not getting any crash log in Xcode:
May 8 18:25:35 unknown SpringBoard[54] <Warning>: Unable to obtain a task name port right for pid 1017: (os/kern) failure
May 8 18:25:35 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.KerschApps.Test[0x2fa8]) Exited: Killed: 9
May 8 18:25:35 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.KerschApps.Test[0x2fa8]) Throttling respawn: Will start in 2147483647 seconds
May 8 18:25:35 unknown SpringBoard[54] <Warning>: Application 'Test' exited abnormally with signal 9: Killed: 9
May 8 18:25:36 unknown kernel[0] <Debug>: AMFI: hook..execve() killing pid 1017: no code signature
为什么我的所有应用程序在模拟器中运行良好时都会在 iPhone 中崩溃?
谢谢/蒂姆
我遇到了和你一样的问题,让应用程序在 iOS 5.1 和 Xcode 4.3.2 上运行,我刚刚设法让它几乎可以运行在这里完美使用此方法:
I've had exactly the same problem as you, getting apps running on iOS 5.1 with Xcode 4.3.2 and I've just managed to get it working almost perfectly using this method here:
使用 Xcode 4.3.2 为 iOS 5.1 构建应用程序
它基于 这个来自 iPhone Dev wiki,但我必须包含一些更改 - -gtaswitch 会导致构建错误,并且说明并不完全明确.完整的教程在该博客文章中,但步骤基本上是:
It's based on this one from iPhone Dev wiki, but I had to include some alterations - the -gta switch results in a build error, and the instructions aren't exactly explicit. The complete tutorial is in that blog post, but the steps basically are:
我碰巧使用 Unity 进行调试,因此没有使用 -gta 进行 Xcode 调试的问题并没有困扰我 - 显然 Objective C 开发人员将需要此功能,因此希望有人可以在此功能上进行扩展.我目前正在我的 iPhone 5.1 上使用我的应用程序的开发版本,手指交叉你可以获得相同的结果.
I happen to use Unity for debugging so the lack of Xcode debugging with -gta didn't bother me - obviously Objective C developers will need this functionality, so hopefully someone can expand on this if they get it working. I'm currently playing with a dev build of my app on my iPhone on 5.1, and fingers cross you can get the same result.
这篇关于在没有开发人员程序的设备上安装 iOS 应用程序,iOS 5.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!