-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[helpwanted] Compile Errors of libcephei #58
Comments
You need a newer version of the Swift toolchain - the one you’re using doesn’t support async/await and Task. It was introduced in Swift 5.5. |
@kirb Thanks for your reply. I ran
It seems that, I already have Swift 5.7.2 with XCode (14.2). Is it possible that despite having Xcode 14.2 installed on my Mac with Swift version 5.7.2, the correct version was not used when building How can I troubleshoot this issue? |
Which SDK are you using? It’ll also need to be iOS 15 or newer. I’m using Xcode 14.2/Swift 5.7.2 and iOS 16.2 SDK. |
Well, nevermind.
This could be fixed by #58. And after the fix, it comes:
It seems that recent modifications have been made to the |
Are you using the Theos orion branch? Those files aren’t emitted on the master branch currently. |
Yes, I'm compiling
|
Sorry, I'm actually on
|
Now, when I switched THEOS to the
This is strange because the
|
I’ll need to push the header changes I made shortly, although the changes are pretty minimal: Preferences/PSTableCell.h: -- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier specifier:(PSSpecifier *)specifier;
+- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier specifier:(PSSpecifier *)specifier NS_DESIGNATED_INITIALIZER; MobileCoreServices/MobileCoreServices.h: #import <MobileCoreServices/LSAppLink.h>
#import <MobileCoreServices/LSApplicationProxy.h>
#import <MobileCoreServices/LSApplicationWorkspace.h>
#import <MobileCoreServices/LSBundleProxy.h>
#import <MobileCoreServices/LSDocumentProxy.h>
#import <MobileCoreServices/LSOpenOperation.h>
#import <MobileCoreServices/LSPlugInKitProxy.h>
#import <MobileCoreServices/LSResourceProxy.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import <MobileCoreServices/NSString+LSAdditions.h>
#import <MobileCoreServices/NSURL+LSAdditions.h>
#import <MobileCoreServices/_LSQueryResult.h> MobileCoreServices/module.modulemap: module MobileCoreServices {
umbrella header "MobileCoreServices.h"
link framework "MobileCoreServices"
export *
module * { export * }
} MobileIcons/module.modulemap: module MobileIcons {
umbrella header "MobileIcons.h"
link framework "MobileIcons"
export *
module * { export * }
} |
Hi @kirb ,
I'm a tweak developer, and now I want to derootify my previous tweaks that are depending on libcephei. I've noticed that libcephei is now with rootless support (but under testing...), thus the compilling.
Installed lates patched sdks,
make
gives the following error report. Would you please have a look and any clues to fix this would be appreciated.The text was updated successfully, but these errors were encountered: