Re: Xcode Project Template

41 views
Skip to first unread message

WebSteve

unread,
Nov 14, 2012, 2:45:13 PM11/14/12
to phon...@googlegroups.com
The project is made with the Terminal app now. See steps here:

http://iphonedevlog.wordpress.com/2012/09/24/phonegap-2-1-0-in-mac-os-x-mountain-lion-10-8-from-download-to-ios-app-store/


On Wednesday, November 14, 2012 9:27:08 AM UTC-8, Eric @ Cevado wrote:
Hey All,

Back when PG 1.5.0 came out, I created a Project Template for Xcode. That was great and helpful. 

But now that my project is on 2+, I am not entirely sure how to create a Project Template out of it now.

Anyone else do this? Anyone got some pointers on where to start?

Thank you,

-- Eric

Eric @ Cevado

unread,
Nov 14, 2012, 9:45:09 PM11/14/12
to phon...@googlegroups.com
Oh yeah. No problem there. But once I am done with my app, I want to create a Project Template from that app. So the Cordova stuff and then my own stuff rolled into one Project Template, that I can use over and over again to produce new Apps with the same guts.

-- Eric

Kerri Shotts

unread,
Nov 14, 2012, 9:51:31 PM11/14/12
to phon...@googlegroups.com
Not sure how to do that. I find it just as easy to do the create script, make the config changes, add the native plugins, and add the www folder. 

Since the cordovalib is part of the project on 2.2, I suppose a copy of everything should suffice?

_________________________________________
~Kerri Shotts, photoKandy Studios LLC
   Wanna be our neighbor? Our Facebook page & Twitter feed.



--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
 
 

Shazron

unread,
Nov 15, 2012, 5:06:01 AM11/15/12
to phonegap
Just look inside the bin/create script:

It copies the template at bin/templates/project/ and does some string substitution in the files. Make a backup of that default template folder first.
So -- you could use that as a template and add your plugins, etc and just modify the script to point to your template or just use the modified default (backup the original of course)

Note that all this is unsupported of course, and may change at anytime -- only the command line scripts and arguments should be stable:


--
Reply all
Reply to author
Forward
0 new messages