millenomi / afloat

Afloat is a Mac extender that adds useful window management commands to most Mac apps.
http://infinite-labs.net/afloat/
Other
700 stars 225 forks source link

does not build in xcode on maverick/10.9.2 #11

Open nycshane opened 10 years ago

nycshane commented 10 years ago

Garbage Collection has been removed, is this something you can easily change or comment out ?

RaoKarthik commented 10 years ago

Try using earlier versions of Xcode to build

niftylettuce commented 10 years ago

@nycshane @RaoKarthik do you guys know how to fix this garbage collection stuff? /cc @millenomi

niftylettuce commented 10 years ago

/cc @dmarcotte @fjolnir

RaoKarthik commented 10 years ago

@niftylettuce in Xcode project-> build settings->architecture-> Build active architecture only-> debug

set it no. do the same for the target as well

Equidamoid commented 10 years ago

@RaoKarthik I have that set to No by default, any ideas?

RaoKarthik commented 10 years ago

@Equidamoid In the newer version of Xcode when u load a project it will display a dialog to perform some changes to the build setting. if you have accepted it then it would change the above setting to yes. If you haven't checked that dialog then your old setting will be retained.

The easiest workaround to fix this garbage collection was to use earlier version of xcode

RaoKarthik commented 10 years ago

/cc @niftylettuce

niftylettuce commented 10 years ago

@RaoKarthik @Equidamoid I'll give either of you a $50-$100+ bug bounty reward by PayPal or Gittip if you can resolve this garbage collection stuff properly.

fjolnir commented 10 years ago

My fork builds in xcode 5 now: https://github.com/fjolnir/afloat/commit/4a280a4e3befee736cf5e0d94c28c9e2cd7e320a

Obviously won't load in apps that use garbage collection though.

niftylettuce commented 10 years ago

@fjolnir can you submit a PR here?

fjolnir commented 10 years ago

https://github.com/millenomi/afloat/pull/5

AndrewMcSwain commented 9 years ago

any way to do this without downloading a 2GB program? I tried downloading xcode-select, but the xcode-build command isn't included. I can supposedly use gcc but am unsure as to how to proceed.