AlexHarker / FrameLib

A library for arbitrary-rate arbitrary-size frame processing
BSD 3-Clause "New" or "Revised" License
74 stars 9 forks source link

i386 error with XCode 11 #77

Closed weefuzzy closed 2 years ago

weefuzzy commented 3 years ago

Since XCode 11 having i386 in your ARCHS produces a hard build error (rather than the warning XCode 10 produced).

The workaround for now is to edit the xconfig file to ARCHS = x86_64. I don't know if there's scope to put something conditional in there.

AlexHarker commented 3 years ago

I think Xcode 10 is where this starts - I build in Xcode 9. Xcode .xcconfigs are pretty minimal in terms of conditionals, but it might be possible to use the SDK as the conditional.

That said - likely in the not too distant future things will change to a universal binary 2.

AlexHarker commented 3 years ago

Yeah - for now this is a manual fix, as the xcconfig can't detect the Xcode version. I'll consider dropping 32 bit support soon, even in the absence of an ARM build, as it seems fairly unnecessary in the modern era, or I could add a config to build with 32bit, which might be a nicer solution - I'll have a think.

AlexHarker commented 2 years ago

The fix for this is on develop which is to remove 32bit builds and build a UB2. I'm closing this now, because I hope that develop will soon be on main, and in the meantime I'd suggest anyone daring enough to build at home should use develop. It's just used for upcoming changes, rather than experimental work (which would go elsewhere)