[AltServer] Adds ALTDebugConnection to “debug” sideloaded apps

Allows AltServer to programmatically enable JIT execution in sideloaded apps.
This commit is contained in:
Riley Testut
2021-05-20 14:16:05 -07:00
parent 8857ccbf86
commit 52fe74fbea
8 changed files with 341 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
@class ALTWiredConnection;
@class ALTNotificationConnection;
@class ALTDebugConnection;
NS_ASSUME_NONNULL_BEGIN
@@ -43,6 +44,7 @@ extern NSNotificationName const ALTDeviceManagerDeviceDidDisconnectNotification
/* Connections */
- (void)startWiredConnectionToDevice:(ALTDevice *)device completionHandler:(void (^)(ALTWiredConnection *_Nullable connection, NSError *_Nullable error))completionHandler;
- (void)startNotificationConnectionToDevice:(ALTDevice *)device completionHandler:(void (^)(ALTNotificationConnection *_Nullable connection, NSError *_Nullable error))completionHandler;
- (void)startDebugConnectionToDevice:(ALTDevice *)device completionHandler:(void (^)(ALTDebugConnection *_Nullable connection, NSError * _Nullable error))completionHandler;
@end