MacGapProject / MacGap1

Desktop WebKit wrapper for HTML/CSS/JS applications.
Other
3.55k stars 208 forks source link

Cannot use XCode #74

Closed Fyb3roptik closed 11 years ago

Fyb3roptik commented 11 years ago

I do a macgap build appname and it only gives me a .app file. How can I use XCode from here? I am really confused!!!

Venerons commented 11 years ago

the .app file is just the build you need, that's the app that you will redistribute. If you want to manually work on the XCode project, just open the project.pbxproj with XCode.

However, I agree about the fact that this beautiful project need a sort of "Quick Start" or "Getting Started" document, that illustrate how to setup a project, how to change the configurations (and what configurations must/should change), and how to get a distributable build.

Fyb3roptik commented 11 years ago

I realize what the .app is for, but I see references in the issues to using Xcode to modify settings in the project, but I do not see any other file than the .app file so I was wondering HOW I can use xcode to modify these settings and then to have xcode distribute it to the app store.

christopherjones commented 11 years ago

My bad... I read that completely wrong. PhoneGap on the mind... Anyway, what you download should already be an xcode file... just open it and begin to create your app. When you build it, of course only a .app file will come out because that is the completed app... In order to change things you will have to go back into xcode, change them and then hit build again.

Fyb3roptik commented 11 years ago

Yes I read the docu wrong. For anyone else thats wondering here are the steps:

  1. Clone THIS repo into a folder
  2. gem install macgap
  3. macgap new Appname
  4. Copy files from macgap clone into the project directory and use the index.html file inside of the public folder in Xcode