在基于PPC的计算机上开发iPhone [英] Development for iPhone on PPC-based computer

查看:95
本文介绍了在基于PPC的计算机上开发iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其他地方已经说过为iPhone开发需要基于英特尔的计算机,但根据我读过的一些介绍性的Apple文档,情况似乎并非如此。例如,请参见,其中仅说开发应用程序 iPhone OS,你需要一台运行Xcode工具的Mac OS X计算机。任何人都可以提供参考吗?

解决方案

我已经从PowerPC G5成功编译,模拟和设备调试了iPhone应用程序的每个版本iPhone SDK最多但不包括iPhone SDK 3.0。



您只需要编辑两件事:更改Xcode的安装程序脚本,以便安装程序将其安装在PowerPC上并且< a href =http://blog.flextip.net/en/2008/12/iphone-no-architectures-to-compile-for-ppc/ =nofollow noreferrer>更改默认模拟器配置因此它认为PPC是一个有效的模拟器目标体系结构。



有时从PPC安装到设备上会出现问题,但它会起作用。



对于iPhone SDK 3.0,Apple尚未使用PPC代码构建Interface Builder组件。这意味着使用SDK 3.0 Interface Builder是不可能的(没有黑客或解决方法)。在PPC上构建和运行iPhone应用程序的乐趣很快就会结束 - 很可能是Snow Leopard,其中Xcode本身可能会丢失PPC代码(不是说PPC用户无论如何都会运行Snow Leopard,但是Snowless Leopard的Xcode更新将会结束)。 p>

摘要:是的,它适用于PPC。是的,从PPC调试设备很复杂。不,它不会持续很长时间 - PPC代码将被慢慢删除。


It has been said elsewhere that developing for iPhone requires an Intel-based computer, but this doesn't seem to be the case according to the few introductory Apple docs I've read. See this for example, which says merely, "To develop applications for iPhone OS, you need a Mac OS X computer running the Xcode tools." Can anyone provide a reference?

解决方案

I have successfully compiled, simulated and device debugged iPhone apps from a PowerPC G5 for every version of the iPhone SDK up to but not including iPhone SDK 3.0.

You only need to edit two things: change Xcode's installer script so the installer will install it on a PowerPC and change the default Simulator configuration so it considers PPC a valid simulator target architecture.

It is sometimes flakey installing onto a device from a PPC but it will work.

For iPhone SDK 3.0, Apple have not built the Interface Builder components with PPC code. This means it is impossible (no hack or workaround) to use the SDK 3.0 Interface Builder. The fun of building and running iPhone apps on the PPC will end soon -- likely Snow Leopard where Xcode itself will likely lose PPC code (not that PPC users will be running Snow Leopard anyway but Xcode updates for Snowless Leopard will end).

Summary: Yes, it works on PPC. Yes, debugging the device from a PPC is flakey. No, it won't last long -- the PPC code will slowly be removed.

这篇关于在基于PPC的计算机上开发iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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