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) {
|
void jb_start_altkit(void) {
|
||||||
#if HAVE_ALTKIT
|
#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) {
|
[[ALTServerManager sharedManager] autoconnectWithCompletionHandler:^(ALTServerConnection *connection, NSError *error) {
|
||||||
if (error)
|
if (error)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>ALTBundleIdentifier</key>
|
||||||
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
|
@ -48,10 +50,10 @@
|
||||||
<array>
|
<array>
|
||||||
<string>_altserver._tcp</string>
|
<string>_altserver._tcp</string>
|
||||||
</array>
|
</array>
|
||||||
<key>NSLocalNetworkUsageDescription</key>
|
<key>NSLocalNetworkUsageDescription</key>
|
||||||
<string>RetroArch uses the local network to find and communicate with AltServer to enable JIT.</string>
|
<string>RetroArch uses the local network to find and communicate with AltServer to enable JIT.</string>
|
||||||
<key>ALTDeviceID</key>
|
<key>ALTDeviceID</key>
|
||||||
<string></string>
|
<string>$(TARGET_DEVICE_IDENTIFIER)</string>
|
||||||
<key>NSCameraUsageDescription</key>
|
<key>NSCameraUsageDescription</key>
|
||||||
<string>YES</string>
|
<string>YES</string>
|
||||||
<key>UIApplicationExitsOnSuspend</key>
|
<key>UIApplicationExitsOnSuspend</key>
|
||||||
|
|
Loading…
Reference in New Issue