您需要 Xcode 来编写 iPhone 应用程序吗?

发布于 2024-09-15 10:01:58 字数 75 浏览 7 评论 0原文

我对为 iPhone 制作应用程序很感兴趣。我想知道是否可以在没有 Xcode 的情况下制作应用程序。唯一的原因是我太穷了,买不起苹果。

I'm interested in making apps for the iphone. I was wondering if it were possible to make apps, WITHOUT Xcode. the only reason is because I'm dirt poor, and can't afford an Apple.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

方圜几里 2024-09-22 10:01:58

如果您有兴趣开发游戏,那么另一个选择可能是看看 Unity (http://unity3d.com/ )。这将使您能够在适合初学者的友好环境中免费在 PC 上进行开发。如果您随后开发了一些东西并决定要在 iPhone 上发布,那么此时您可以投资一台 Mac,然后在上面重建适用于 iPhone 的 Unity 应用程序。

此外,Unity 允许您使用 C# 和 Java 编写脚本,因此您无需学习 Obj-C。

If it's games you're interested in developing, then another option might be to take a look at Unity (http://unity3d.com/). This would let you develop on the PC for free in a friendly environment for a beginner. If you then develop something that you decide you want to publish on iPhone, then at that point you could invest in a Mac and just rebuild the Unity app for iPhone on that.

Also, Unity lets you write scripts in both C# and Java so you wouldn't have to learn Obj-C.

苏佲洛 2024-09-22 10:01:58

简短的回答是否定的。长的答案是“不完全是”,但是当您正在努力访问 Mac 时,您可以通过某些方式开始您想做的工作。

“XCode”或多或少实际上是两件事:

(1) IDE

(2) 带有 C/ObjC/C++ 编译器(实际上是 gcc 的一个版本)的工具链和一个大型应用程序库

您不必使用 # 1 为了构建 iPhone 应用程序,尽管它确实很有帮助。你可以用#2 来解决。

但如果没有#2,您将很难构建可以在应用程序商店中销售的应用程序。

所以,这取决于你的目标是什么。

如果确实要构建一个应用程序并将其发布,最简单的路径可能是找到某种方法来访问运行操作系统(可能是 10.5 及更高版本)的计算机,您可以在其上进行开发。这可能是在说服一位有 Mac mini 的朋友让你花一些预定的时间在上面,或者它可能正在工作并攒钱购买一台二手的基于英特尔的 Mac mini(可能是你花 300 美元就能买到的东西),或者它可能正在转向一台已进入 Hackintosh 的 PC(或者如果您在 PC 上设置 Hackintosh 虚拟机)与可能不希望它如此转变的其他人分享它:)。

不过,如果您的目标是在弄清楚如何做上述事情的同时开始学习如何做事,那么好消息是,掌握可以帮助您学习技术/语言的工具并不难涉及 iPhone 应用程序。正如我之前所说,Apple 的编译器实际上只是 gcc 的一个版本。您也许可以在您的计算机上安装 gcc 并用它编写目标 C 程序。您还可以查看GNUStep,它可以帮助您熟悉许多概念和实践Cocoa 库适用于 iPhone 和 OS X。您还可以学习 OpenGL ES,如果您最终要开发 iPhone 游戏,这将是非常有帮助的。

The short answer is no. The long answer is "not exactly," but you can get started in some ways while you're working on getting access to a Mac you can do the work you'd like to do on.

"XCode" is more or less really two things:

(1) an IDE

(2) a toolchain with a C/ObjC/C++ compiler (really a version of gcc) and a big library of apps

You don't have to use #1 in order to build iPhone Apps, though it's genuinely helpful. You can get by with #2.

But without #2, you're going to have a hard time building an App you can sell in the App store.

So, it depends on what your goal is.

If it really is to build an app and get it out there, the easiest path is probably going to be to find some way to get access to a machine running OS (probably 10.5 and up) you can do development on. That might be talking a friend who has one into letting you spend some scheduled time on it, or it might be working and saving up for a used intel-based Mac mini (probably something you could get for $300), or it might be turning a PC you've got into a Hackintosh (or maybe setting up a Hackintosh VM on the PC if you're sharing it with others who might not want it transformed thusly :).

If your goal is to start learning how to do things while you work out how you're going to do the above, though, the good news is that it's not hard to get a hold of tools that will help you learn the technologies/languages involved in iPhone apps. Like I said earlier, Apple's compiler is really just a version of gcc. You can probably install gcc on your machine and write objective C programs with it. You could also look into GNUStep which could help you get familiar with a lot of the concepts and practices underlying how the Cocoa libraries work for the iPhone and OS X. And you could learn OpenGL ES, which would be great help if you ever end up working on an iPhone game.

独﹏钓一江月 2024-09-22 10:01:58

事实上,你可以在没有 Mac 的情况下开发应用程序。您可以使用多种语言和工具来为 iOS 编写应用程序,例如:

- Python
- PhoneGap
- Appcelerator
- Mono
- Unity3D
- Unreal Engine

这些都可以导出到 iOS。

唯一需要 Mac 的步骤就是发布到应用商店。但您可以使用任何 Mac 来实现此目的,因此您可以从朋友/邻居或实际上任何人的 Mac 进行发布。当您确定一切运行正常时,这是最后一步。也许您的应用程序将为您赢得属于您自己的 Mac。

互联网上还有许多发布服务提供商(其成本几乎没有 Mac 那么多)。我现在不记得任何特定的,但我确信如果你搜索你会找到很多。祝你好运!

Actually You can develop apps without a Mac. You can use a number of languages and tools that enable writing apps for iOS like:

- Python
- PhoneGap
- Appcelerator
- Mono
- Unity3D
- Unreal Engine

These all can export to iOS.

The only step that requires a Mac is publishing to the app store. But You can use any Mac for that, so You can publish from a friend's/neighbour's or actually anyone's Mac. That is the last step when You're sure everything is running perfectly. Perhaps Your application will earn You Your own Mac.

Also there are a number of publishing service providers in the internet (which don't cost nearly as much as a Mac). I don't remember any particular one at the moment, but I'm sure if You search You will find many. Good luck!

坐在坟头思考人生 2024-09-22 10:01:58

不幸的是,尽管有“替代品”(phonegap、mono touch 等),但我相信您最终需要 Xcode 及其工具来打包/签名/发布您的应用程序。

如果您真的有动力,您可以了解在 PC 上安装 Mac OS X 的方法,但这超出了本网站的范围。

Unfortunately, although there are 'alternatives' (phonegap, mono touch, etc.) I believe you ultimately need Xcode and its tools to package/sign/publish your applications.

If you are really motivated though, you can look about ways of installing Mac OS X on a PC, though that is beyond the scope of this website.

拧巴小姐 2024-09-22 10:01:58

简而言之,你需要一台 Mac。在没有 Mac 的情况下,有很多糟糕的方法可以做到这一点,但无论出于何种目的,你都需要一台 Mac。你可以在 eBay 上花 300 美元购买一台 mac mini 来实现这一目的。您不需要强大的机器。

In short, you need a mac. There a number of screwed up ways to do this without a mac, but for all intents and purposes you need a mac. A mac mini you can buy used for $300 on ebay will do the trick. You don't need a powerful machine.

咆哮 2024-09-22 10:01:58

尽管 Xcode 本身是免费的,但它确实需要运行 Snow Leopard 的基于 Intel 的 Mac。您有 2 个选择:

更新:

对于 Objective C,您可以参考 目标 C 语言,位于 iPhone 开发者门户。还有许多其他文档,例如 内存管理人机界面指南帮助您开始。

一旦您熟悉了 Objective C,您就可以浏览 iPhone 开发中心的各种编程指南。如果你想遵循系统化的方法,你可以参考《Beginning iPhone Development》一书,其中我发现还不错。

Though Xcode itself is free it does require an Intel based Mac running Snow Leopard. You have 2 options:

  • Buy a refurbished Mac Pro or Mac mini from Apple website. They are not that expensive. You can use non-Apple peripherals with them to bring down the cost. And you will not be disappointed with quality.
  • Use Hackintosh to run the OS X on other Intel platform. Its hacky, difficult (carshes) and illegal.

Update:

For Objective C you can refer a pretty good documentation of Objective C language at iPhone developer portal. There are many other documents like memory management and human interface guidelines which should help you get started.

Once you have developed the familiarity with Objective C, you can then browse through various programming guides on iPhone development centre. If you want to follow a systematic approach, you may refer to "Beginning iPhone Development" book which I found pretty good.

猫七 2024-09-22 10:01:58

是的,可以在没有 Xcode 和没有 mac/ipad/iphone 的情况下为 mac/ipad/iphone 开发应用程序。我拥有一个 imac、一个 ipad 和一个 mac book pro。我尝试在 xcode 中开发。

在互联网上快速搜索后,我发现了这个 http://www.gnustep.org/。这是一个你可以用GCC(GNU编译器)用目标C语言进行开发的框架。你还可以使用其他工具,比如GNU STEP应用程序项目:这似乎是一种IDE(我没有测试一下)。

Yes it's possible to develop applications for the mac/ipad/iphone without Xcode and without a mac/ipad/iphone.I own a imac,an ipad,and and a mac book pro.I tried to develop in xcode.

After some quick search on the internet I found this http://www.gnustep.org/. This is a framework you can use to develop in the objective C language,using GCC (the GNU compiler).There are other tools you can use,like GNU STEP Application project:this seems to be a sort of IDE (I didn't test it yet).

爱情眠于流年 2024-09-22 10:01:58

是和不是。您可以使用替代 SDK,但它们使用起来很麻烦,并且不提供 Xcode 提供的发布/签名功能。

Yes and no. You can use alternative SDK's but they can be a pain to use and don't offer the publish/signing capabilities that Xcode does.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文