简体   繁体   English

Phonegap:适用于iOS4的应用

[英]Phonegap: app for iOS4

I have Snow Leopard Mac OS and old version of xcode and iOS SDK (xcode v. 3.2 and SDK 4) and for some reason I can't update it right now, but I need to keep developing as is. 我有Snow Leopard Mac OS和旧版本的xcode和iOS SDK(xcode v。3.2和SDK 4),由于某种原因,我现在无法对其进行更新,但我需要保持开发现状。 Later, I'm going to update my app to SDK 5, app wont be too complicated for it. 稍后,我将把我的应用程序更新到SDK 5,应用程序并不会太复杂。

But I got a problem with Phonegap. 但是我对Phonegap有问题。 The latest version (that available on their website) doesn't support old xcode and SDK, as I understood. 据我了解,最新版本(可在其网站上获得)不支持旧的xcode和SDK。 With proper installion there are 15 errors after building app (with blank, "non"-touched index.html). 正确安装后,构建应用后会出现15个错误(带有空白的,“非”修饰的index.html)。

The question is can I fix somehow the latest release of Phonegap for working with old xcode, or I have to search older Phonegap? 问题是我可以以某种方式修复最新版本的Phonegap以使用旧的xcode,还是必须搜索旧的Phonegap? Or maybe, I'm wrong at all, and the problem not in versions, but in something else. 或者,也许我完全错了,问题不在于版本,而在于其他。 Would appreciate your help. 感谢您的帮助。

When you say, "For some reason I can't update [Xcode] right now", my guess is that you installed it via the App Store. 当您说“由于某种原因我现在无法更新[Xcode]”时,我猜测您是通过App Store安装的。 The App Store version has been updated to Xcode 4.2 for Lion, so if you are still on Snow Leopard you can't update via that route. App Store版本已更新为Lion的Xcode 4.2,因此,如果您仍在Snow Leopard上,则无法通过该路线进行更新。 However, you can download XCode 4.2 for Snow Leopard manually via the iOS Dev Centre if you are a Registered Apple Developer... 但是,您可以通过iOS的开发中心手动下载的XCode 4.2雪豹,如果你是一个注册的苹果开发者...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM