且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在没有开发人员程序的设备上安装 iOS 应用程序,iOS 5.1

更新时间:2023-01-01 21:38:31

我遇到了和你一样的问题,让应用程序在 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:

  1. 创建名为iPhone Developer"的自签名证书
  2. 重新打开 Xcode 项目构建设置中的代码签名身份" - 以使用您的自签名证书​​iPhone 开发人员"
  3. 按照说明更改 info.plist 的出现次数
  4. 下载ldid,使其可执行
  5. 创建 python 脚本,将其粘贴在/usr/bin 中,相应地更改 python 脚本引用
  6. 将 iPhoneCodeSign.xcspec 更改为使用 ldid3.py
  7. 通过 touch over ssh 在设备上创建 tdmtanf 文件
  8. 不要将 -gta 标志放在其他代码签名标志"中

我碰巧使用 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.