ClassiCube icon indicating copy to clipboard operation
ClassiCube copied to clipboard

ClassiCube iOS fails to compile on newer XCode versions

Open Skryptonyte opened this issue 1 year ago • 2 comments

Apple removed libarclite in recent XCode versions which is required to compile iOS apps with deployment targets set at iOS 8 or below. Since Classicube's minimum deployment target is currently iOS 6, this results in the following error as of XCode 15.3.

SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target

Two possible workarounds that come to mind:

  1. Increase the minimum deployment target to iOS 9.
  2. Pull the libarclite binaries from elsewhere online and put it in the right spot.

Skryptonyte avatar Oct 12 '24 09:10 Skryptonyte

The fact that someone is hosting these files shows how bad the issue is: https://github.com/kamyarelyasi/Libarclite-Files

TheComputerGuy96 avatar Oct 12 '24 11:10 TheComputerGuy96

Increasing minimum deployment target isn't really an option since people both use and compile for versions older than iOS 9.

I don't think ClassiCube should be altering system SDK state. Maybe there should be separate legacy (iOS 6) and modern (iOS 9) xcode projects instead

UnknownShadow200 avatar Oct 14 '24 10:10 UnknownShadow200