MacGapProject / MacGap1

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

Basic macgap settings failed #32

Open BeMoreDifferent opened 12 years ago

BeMoreDifferent commented 12 years ago

Hi. I have some error in the new macgap- Version: http://bemoredifferent.com/macgap_failed.png the old version worked but since i update to the newest macgap- version there this bug. Hope anybody can explain how to fix it.

Daniel

maccman commented 12 years ago

What version of OSX/XCode are you using? You on Lion?

BeMoreDifferent commented 12 years ago

I am unsing Max OS X 10.7.3 (Lion) and Xcode 4.2.1. Do you have any idea whats going wrong?

maccman commented 12 years ago

Nope - that's a weird one. Are you linking the frameworks properly?

BeMoreDifferent commented 12 years ago

I have no idea of how i should link them? kind of a noob in c- programming...

liamks commented 12 years ago

@BeMoreDifferent on the Left side of Xcode there should be a panel listing all the files within MacGap. There should be a folder called Frameworks - Is 'Cocoa.framework' one of the frameworks?

Are you using the ruby gem to create the project? If so try doing a git clone instead:

git clone git@github.com:maccman/macgap.git

to create a new project, and try to run that version.

mattcabb commented 12 years ago

I have the same problem. on the left side of xcode i can see cocoa.framework folder but it's empty - no header file inside. i think that project is referring to path like /system/library/frameworks/cocoa.framework BUT since xcode is now a stand-alone app, path is now /applications/xcode.app/contents/developer/platforms/macosx.platform/... those who didn't use previous versions of Xcode, don't have frameworks at old location...