diff --git a/pkg/apple/JITSupport.m b/pkg/apple/JITSupport.m index fd8058e35a..0f9b1c2b23 100644 --- a/pkg/apple/JITSupport.m +++ b/pkg/apple/JITSupport.m @@ -89,6 +89,10 @@ bool jb_enable_ptrace_hack(void) { void jb_start_altkit(void) { #if HAVE_ALTKIT + // asking AltKit/AltServer to debug us when we're already debugged is bad, very bad + if (jb_has_debugger_attached()) + return; + [[ALTServerManager sharedManager] autoconnectWithCompletionHandler:^(ALTServerConnection *connection, NSError *error) { if (error) return; diff --git a/pkg/apple/iOS/Info.plist b/pkg/apple/iOS/Info.plist index 83ae62ffbf..253e9454db 100644 --- a/pkg/apple/iOS/Info.plist +++ b/pkg/apple/iOS/Info.plist @@ -2,6 +2,8 @@ + ALTBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleDevelopmentRegion en CFBundleDisplayName @@ -48,10 +50,10 @@ _altserver._tcp - NSLocalNetworkUsageDescription - RetroArch uses the local network to find and communicate with AltServer to enable JIT. - ALTDeviceID - + NSLocalNetworkUsageDescription + RetroArch uses the local network to find and communicate with AltServer to enable JIT. + ALTDeviceID + $(TARGET_DEVICE_IDENTIFIER) NSCameraUsageDescription YES UIApplicationExitsOnSuspend