简体   繁体   中英

Compile Phonegap Project on iOS

Recently, not without some headache, I installed iphone-gcc and all required headers on my jailbroken iPod Touch (like this ). Because neither do I have a Mac nor do I know Objective-C, I began looking for alternative solutions for app development.

So, is it possible to compile a Phonegap project directly on the iDevice? In other words, I need to "convert" a web app in Phonegap format into an iOS application, like it is done in XCode.

PS The SDK I have installed is of version 3.2

Progress Report: Following the suggestion by user hatunike ( here ) I tried to link the PhoneGap framework into a dummy project on my iPod to see if it works. It does not. Looks like PhoneGap uses some features that were only introduced in iOS 4. The developers say it is possible to compile a PhoneGap application for an older iOS by weak-linking UIKit, AVFoundation and CoreMedia. Problem is, weak-linking those frameworks requires a newer iOS SDK than the target SDK.

try this:

http://build.phonegap.com/

you still need to have a developer key from Apple but your jailbroken iPod should allow you to put the built file on your device. its free for 1 private app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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