tomaszpoliszuk / AppLibraryController

App Library Controller - Control App Library
http://cydia.saurik.com/package/com.tomaszpoliszuk.applibrarycontroller/
GNU General Public License v3.0
15 stars 6 forks source link

Request support iOS 16.3.1 #10

Open emranovin opened 1 year ago

emranovin commented 1 year ago

I wanted this tweak for my iPhoneX 16.3.1 and I'm ready to test it. I've tried to change the control file compile it with Theos but it gave me some unknown errors:

Your current SYSROOT, “/Users/{USER}/theos/sdks/iPhoneOS14.4.sdk”, appears to be missing.

==> Compiling AppLibraryController.xm (arm64)… bash: /Volumes/Xcode_11.7/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory

`==> Compiling AppLibraryController.xm (arm64)… In file included from AppLibraryController.xm:18: /Users/{USER}/Downloads/AppLibraryController/headers.h:24:12: error: cannot find interface declaration for 'UIView' @interface UIView (AppLibraryController) ^


AppLibraryController.xm:20:1: error: unknown type name 'NSMutableDictionary'
NSMutableDictionary *tweakSettings;
^`

Should I install xCode 11.7 and have iPhoneOS14.4.sdk  to be able to compile?
tomaszpoliszuk commented 1 year ago

Those are defined in Makefile (PREFIX & SYSROOT) , PREFIX & Xcode 11.7 (needed for arm64e below 14) is not needed here as this project is 14+ only SYSROOT can be removed as SDK version is defined in TARGET errors with UIView are because these stopped adding headers by default at some point.

Finally at this point code will crash springboard since there were many changes to App Library between iOS 14 & 15

I'll keep it open since I have to finally update this tweak.