Windows 上的 iPhone SDK(替代解决方案)

发布于 2024-07-22 18:14:56 字数 277 浏览 13 评论 0原文

我知道Windows没有官方的SDK,这很烦人。 除了在 VMware 中运行 Mac 操作系统之外,还有什么方法可以在 Windows 计算机上开发应用程序吗? 我知道您可以使用 Xcode 来完成此操作,但这也仅适用于 Mac OS X。 谷歌搜索绝对没有透露任何信息。

如果我无法使用 SDK 或 Xcode,有什么方法可以检查语法或其他内容,然后在记事本中编写代码并使用正确的扩展名保存它? 我不知道我是否能够做到这一点,可能是因为我从未尝试过 SDK,而且如果不购买 Mac,可能永远不会尝试。

I know there is no official SDK for Windows, which is very annoying. Is there any way to develop applications on a Windows computer, other than somehow running a Mac OS in VMware? I know you can do it with Xcode, but that is also only for Mac OS X. Google searches have revealed absolutely nothing.

If I cannot use the SDK or Xcode, is there any way I can just check syntax or something and just make my code in Notepad and save it with the proper extension? I have no idea whether or not I would be able to do that, probably because I have never even tried the SDK and probably never will without buying a Mac.

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

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

发布评论

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

评论(10

凉风有信 2024-07-29 18:14:56

在购买 Mac Mini 之前,我研究了这一点。 答案基本上是否定的。 您几乎必须购买 Leopard Mac 才能为在非越狱 iPhone 上运行的应用程序进行 iPhone SDK 开发。

不是100%不可能,而是99.99%不合理。 就像用脚换灯泡一样。

您不仅必须在 Xcode 中,而且还必须将证书获取到钥匙串管理器中能够让 Xcode 和 iPhone 进行通信。 而且你必须在 Xcode 中正确设置各种设置。

I looked into this before buying a Mac Mini. The answer is, essentially, no. You pretty much have to buy a Leopard Mac to do iPhone SDK development for apps that run on non-jailbroken iPhones.

Not that it's 100% impossible, but it's 99.99% unreasonable. Like changing light bulbs with your feet.

Not only do you have to be in Xcode, but you have to get certificates into the Keychain manager to be able to have Xcode and the iPhone communicate. And you have to set all kinds of setting in Xcode just right.

脸赞 2024-07-29 18:14:56

您可以使用 PhoneGapAppcelerators Titanium Mobile

这两个本质上都充当 WebKit 包装器,因此您可以使用 HTML/CSS/JavaScript 构建应用程序。 这也是一个非常便携的解决方案,但是您可以制作的内容有些有限 - 即没有密集渲染或任何东西。 这实际上完全取决于您想要做什么。

You could easily build an app using PhoneGap or Appcelerators Titanium Mobile.

Both of these essentially act as a WebKit wrapper, so you can build your application with HTML/CSS/JavaScript. It's a pretty portable solution, too, but you are somewhat limited in what you can make - i.e, no intensive rendering or anything. It really all depends on what you're looking to do.

像你 2024-07-29 18:14:56

您可以像 Cydia 的 saurik 那样,在 PC 上编写代码,然后在越狱后在 iPhone 本身上构建它(从技术上讲,它是一台 Mac!)。 但是,您没有 Interface Builder,因此您基本上是在代码中手动创建 UI。 在没有 Mac 的情况下实际提交应用程序也相当困难。

You could do what saurik of Cydia does, and write your code on a PC then build it on the iPhone itself (it is a Mac, technically!) after you jailbreak it. However, you don't get Interface Builder, so you're basically creating UIs in code by hand. It'd also be pretty tough to actually submit your app without a Mac.

一花一树开 2024-07-29 18:14:56

不,您必须拥有某种 Intel Mac。 我去了百思买,利用他们的 18 个月无息促销,以 1499 美元的价格买了一台 24 英寸、4G RAM 的 iMac。我每月支付的最低付款额约为 16 美元。只要我在 18 个月内付清全部费用 - 不这是我进入 iPhone 开发的唯一途径。

No, you must have an Intel Mac of some sort. I went to Best Buy and got a 24" iMac with 4G RAM for $1499 using their 18 month no interest promotion. I pay a minimum payment of something like $16 a month. As long as I pay the entire thing off within 18 months - no interest. That was the only way I was getting into iPhone development.

任性一次 2024-07-29 18:14:56

如果您想使用 C/C++ 进行开发,还有另一种解决方案。 http://www.DragonFireSDK.com 将允许您在 Windows 上的 Visual Studio 中构建 iPhone 应用程序。 确实值得一看。

There is another solution if you want to develop in C/C++. http://www.DragonFireSDK.com will allow you to build iPhone applications in Visual Studio on Windows. It's worth a look-see for sure.

心房敞 2024-07-29 18:14:56

从技术上讲,您可以使用 .NET 语言编写代码并使用 Mono 框架 (http://www.mono-project .com/)以在 iPhone 上运行它。 我从未见过有人从头开始这样做,但编写 Unity 游戏开发平台 (http://unity3d.com/" rel="nofollow noreferrer">http://unity3d. com/)使用它来使他们的游戏兼容 iPhone。 游戏本身是用 .NET 编写的,然后他们提供了带有 Mono 框架的 iPhone shell,允许所有内容在 iPhone 上运行。 我不知道他们是否将对 Mono 的所有修改贡献回开源存储库,但如果您认真考虑在 Mac 环境之外编写 iPhone 应用程序,那么这是可能的。

也就是说,我认为你可以花几周的时间来让它发挥作用,而且最好还是投资一台 Mac :-)

Technically you can write code in a .NET language and use the Mono Framework (http://www.mono-project.com/) to run it on the iPhone. I haven't ever seen someone do this from scratch, but the folks that write the Unity Game Development platform (http://unity3d.com/) use it to make their games iPhone-compatible. The game itself is written in .NET, and then they provide an iPhone shell with the Mono frameworks that allows everything to run on the iPhone. I don't know whether they've contributed all of their modifications to Mono back to the open-source repository, but if you're serious about writing iPhone apps outside the Mac environment, it might be possible.

That said, I think you could dump weeks into getting that to work, and it might be best to invest in a Mac instead :-)

妥活 2024-07-29 18:14:56

这实际上取决于您对时间的重视程度。 正如其他海报所提到的,有几种方法可以在没有 Mac 的情况下构建 iPhone 应用程序。 然而,您正在跨越严重的障碍,并且比使用适当的开发链要困难得多并且需要更长的时间。

您可以在 eBay 上花几百美元购买二手 Mac Mini。 如果您认真从事 iPhone 开发,您将很快就能节省时间。

This really comes down to how much you value your time. As the other posters have mentioned, there are a couple of ways you can build iPhone apps without a Mac. However, you are jumping through serious hoops, and it'll be much more difficult and take longer than it would with the proper development chain.

You can buy a second-hand Mac Mini for a couple of hundred bucks on eBay. If you're serious about doing iPhone development you'll make this back in saved time very quickly.

懵少女 2024-07-29 18:14:56

没有人提出hackintosh。 如果您有支持的硬件,这可能是最好的选择。

No one has brought up the hackintosh. If you have supported hardware it might be the best option.

知你几分 2024-07-29 18:14:56

有两种方法:

  1. 如果您有耐心(需要 Ubuntu Corral pc 和 Android SDK 以及一些繁重的终端工作才能完成所有设置)。 请参阅在不支付费用的情况下使用 3.0 SDK权限

  2. 如果您不道德(需要 Mac OS X Leopard 和虚拟化,两者只能通过巨额费用或盗版才能获得)- 从以下链接中删除空间。
    htt p://iphonewo rld。 codinghut.com /2009/07/using-the-3-0-sdk-without-paying-for-the-privilege/

我自己使用Ubuntu方法。

There are two ways:

  1. If you are patient (requires Ubuntu corral pc and Android SDK and some heavy terminal work to get it all set up). See Using the 3.0 SDK without paying for the priviledge.

  2. If you are immoral (requires Mac OS X Leopard and virtualization, both only obtainable through great expense or pirating) - remove space from the following link.
    htt p://iphonewo rld. codinghut.com /2009/07/using-the-3-0-sdk-without-paying-for-the-priviledge/

I use the Ubuntu method myself.

一花一树开 2024-07-29 18:14:56

http://maniacdev.com/2010/01/iphone-development- windows-options-available/

检查这个网站,他们已经展示了许多解决方案。

  1. Phonegap
  2. 钛等

http://maniacdev.com/2010/01/iphone-development-windows-options-available/

check this website they have shown many solutions .

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