afloat icon indicating copy to clipboard operation
afloat copied to clipboard

does not build in xcode on maverick/10.9.2

Open nycshane opened this issue 10 years ago • 12 comments

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

nycshane avatar Mar 23 '14 18:03 nycshane

Try using earlier versions of Xcode to build

RaoKarthik avatar Mar 27 '14 12:03 RaoKarthik

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

niftylettuce avatar Apr 22 '14 02:04 niftylettuce

/cc @dmarcotte @fjolnir

niftylettuce avatar Apr 22 '14 02:04 niftylettuce

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

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

RaoKarthik avatar Apr 22 '14 06:04 RaoKarthik

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

Equidamoid avatar May 04 '14 09:05 Equidamoid

@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 avatar May 05 '14 06:05 RaoKarthik

/cc @niftylettuce

RaoKarthik avatar May 05 '14 06:05 RaoKarthik

@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.

niftylettuce avatar May 05 '14 19:05 niftylettuce

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.

fjolnir avatar May 09 '14 04:05 fjolnir

@fjolnir can you submit a PR here?

niftylettuce avatar May 09 '14 05:05 niftylettuce

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

fjolnir avatar May 09 '14 05:05 fjolnir

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.

AndrewMcSwain avatar May 29 '15 15:05 AndrewMcSwain