Enable AltServer JIT for builds installed by Xcode
This commit is contained in:
parent
47d71646c9
commit
23211dc1a1
|
@ -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;
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>ALTBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
|
@ -48,10 +50,10 @@
|
|||
<array>
|
||||
<string>_altserver._tcp</string>
|
||||
</array>
|
||||
<key>NSLocalNetworkUsageDescription</key>
|
||||
<string>RetroArch uses the local network to find and communicate with AltServer to enable JIT.</string>
|
||||
<key>ALTDeviceID</key>
|
||||
<string></string>
|
||||
<key>NSLocalNetworkUsageDescription</key>
|
||||
<string>RetroArch uses the local network to find and communicate with AltServer to enable JIT.</string>
|
||||
<key>ALTDeviceID</key>
|
||||
<string>$(TARGET_DEVICE_IDENTIFIER)</string>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>YES</string>
|
||||
<key>UIApplicationExitsOnSuspend</key>
|
||||
|
|
Loading…
Reference in New Issue