Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.
Swift apple-siliconcustom-formathomebrewiosipaipadipadosiphonemetalnative-portnintendo-switchnxnativeromfsswitch-games
dlopen probe as an Xcode project: the route around throttled sideloaders
LNPANDY3dcdfdcf2b13
diff --git a/dm/ios/probe/DmProbe.xcodeproj/project.pbxproj b/dm/ios/probe/DmProbe.xcodeproj/project.pbxprojnew file mode 100644index 00000000..8ba60acd--- /dev/null+++ b/dm/ios/probe/DmProbe.xcodeproj/project.pbxproj@@ -0,0 +1,366 @@+// !$*UTF8*$!+{+ archiveVersion = 1;+ classes = {+ };+ objectVersion = 77;+ objects = {++/* Begin PBXBuildFile section */+ 418AA9F224215885616DF281 /* probe.c in Sources */ = {isa = PBXBuildFile; fileRef = 9D35A9F8119FFBEE2C503AAD /* probe.c */; };+ E87D64C1AB95AA2BE70D72EF /* probe_main.m in Sources */ = {isa = PBXBuildFile; fileRef = FB06C46F0E8AB6B859924E6A /* probe_main.m */; };+/* End PBXBuildFile section */++/* Begin PBXFileReference section */+ 43150F93F9204EF615D94F11 /* DmProbe.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = DmProbe.app; sourceTree = BUILT_PRODUCTS_DIR; };+ 9D35A9F8119FFBEE2C503AAD /* probe.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = probe.c; sourceTree = "<group>"; };+ FB06C46F0E8AB6B859924E6A /* probe_main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = probe_main.m; sourceTree = "<group>"; };+ FE4AE6108123D746C5393ED7 /* Probe.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Probe.framework; sourceTree = BUILT_PRODUCTS_DIR; };+/* End PBXFileReference section */++/* Begin PBXGroup section */+ 667940E40ADC709A064A55E0 /* src */ = {+ isa = PBXGroup;+ children = (+ FB06C46F0E8AB6B859924E6A /* probe_main.m */,+ 9D35A9F8119FFBEE2C503AAD /* probe.c */,+ );+ path = src;+ sourceTree = "<group>";+ };+ CA160661865E290DF4649052 = {+ isa = PBXGroup;+ children = (+ 667940E40ADC709A064A55E0 /* src */,+ DDB49E56DB02F4E7561FE966 /* Products */,+ );+ sourceTree = "<group>";+ };+ DDB49E56DB02F4E7561FE966 /* Products */ = {+ isa = PBXGroup;+ children = (+ 43150F93F9204EF615D94F11 /* DmProbe.app */,+ FE4AE6108123D746C5393ED7 /* Probe.framework */,+ );+ name = Products;+ sourceTree = "<group>";+ };+/* End PBXGroup section */++/* Begin PBXNativeTarget section */+ 27BF26B4447D8FE4545DC557 /* DmProbe */ = {+ isa = PBXNativeTarget;+ buildConfigurationList = FB9912A086081F2D19165946 /* Build configuration list for PBXNativeTarget "DmProbe" */;+ buildPhases = (+ FACD769F731E7788343A6BD1 /* Sources */,+ );+ buildRules = (+ );+ dependencies = (+ );+ name = DmProbe;+ packageProductDependencies = (+ );+ productName = DmProbe;+ productReference = 43150F93F9204EF615D94F11 /* DmProbe.app */;+ productType = "com.apple.product-type.application";+ };+ 5A4AE636FE4AFD6115D14AF3 /* Probe */ = {+ isa = PBXNativeTarget;+ buildConfigurationList = F5FB4A1AE609544F88E06253 /* Build configuration list for PBXNativeTarget "Probe" */;+ buildPhases = (+ 63BB0B3F31A174CB8E640B2E /* Sources */,+ );+ buildRules = (+ );+ dependencies = (+ );+ name = Probe;+ packageProductDependencies = (+ );+ productName = Probe;+ productReference = FE4AE6108123D746C5393ED7 /* Probe.framework */;+ productType = "com.apple.product-type.framework";+ };+/* End PBXNativeTarget section */++/* Begin PBXProject section */+ 665957B2F37792FAF81F0760 /* Project object */ = {+ isa = PBXProject;+ attributes = {+ BuildIndependentTargetsInParallel = YES;+ LastUpgradeCheck = 1430;+ TargetAttributes = {+ };+ };+ buildConfigurationList = 9ED6CC584E2C401AB7102CFC /* Build configuration list for PBXProject "DmProbe" */;+ developmentRegion = en;+ hasScannedForEncodings = 0;+ knownRegions = (+ Base,+ en,+ );+ mainGroup = CA160661865E290DF4649052;+ minimizedProjectReferenceProxies = 1;+ preferredProjectObjectVersion = 77;+ productRefGroup = DDB49E56DB02F4E7561FE966 /* Products */;+ projectDirPath = "";+ projectRoot = "";+ targets = (+ 27BF26B4447D8FE4545DC557 /* DmProbe */,+ 5A4AE636FE4AFD6115D14AF3 /* Probe */,+ );+ };+/* End PBXProject section */++/* Begin PBXSourcesBuildPhase section */+ 63BB0B3F31A174CB8E640B2E /* Sources */ = {+ isa = PBXSourcesBuildPhase;+ buildActionMask = 2147483647;+ files = (+ 418AA9F224215885616DF281 /* probe.c in Sources */,+ );+ runOnlyForDeploymentPostprocessing = 0;+ };+ FACD769F731E7788343A6BD1 /* Sources */ = {+ isa = PBXSourcesBuildPhase;+ buildActionMask = 2147483647;+ files = (+ E87D64C1AB95AA2BE70D72EF /* probe_main.m in Sources */,+ );+ runOnlyForDeploymentPostprocessing = 0;+ };+/* End PBXSourcesBuildPhase section */++/* Begin XCBuildConfiguration section */+ 010EAC4E2D1CD340BE7A9DE8 /* Debug */ = {+ isa = XCBuildConfiguration;+ buildSettings = {+ ALWAYS_SEARCH_USER_PATHS = NO;+ CLANG_ANALYZER_NONNULL = YES;+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";+ CLANG_CXX_LIBRARY = "libc++";+ CLANG_ENABLE_MODULES = YES;+ CLANG_ENABLE_OBJC_ARC = YES;+ CLANG_ENABLE_OBJC_WEAK = YES;+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;+ CLANG_WARN_BOOL_CONVERSION = YES;+ CLANG_WARN_COMMA = YES;+ CLANG_WARN_CONSTANT_CONVERSION = YES;+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;+ CLANG_WARN_EMPTY_BODY = YES;+ CLANG_WARN_ENUM_CONVERSION = YES;+ CLANG_WARN_INFINITE_RECURSION = YES;+ CLANG_WARN_INT_CONVERSION = YES;+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;+ CLANG_WARN_STRICT_PROTOTYPES = YES;+ CLANG_WARN_SUSPICIOUS_MOVE = YES;+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;+ CLANG_WARN_UNREACHABLE_CODE = YES;+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;+ COPY_PHASE_STRIP = NO;+ DEBUG_INFORMATION_FORMAT = dwarf;+ ENABLE_STRICT_OBJC_MSGSEND = YES;+ ENABLE_TESTABILITY = YES;+ GCC_C_LANGUAGE_STANDARD = gnu11;+ GCC_DYNAMIC_NO_PIC = NO;+ GCC_NO_COMMON_BLOCKS = YES;+ GCC_OPTIMIZATION_LEVEL = 0;+ GCC_PREPROCESSOR_DEFINITIONS = (+ "$(inherited)",+ "DEBUG=1",+ );+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;+ GCC_WARN_UNDECLARED_SELECTOR = YES;+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;+ GCC_WARN_UNUSED_FUNCTION = YES;+ GCC_WARN_UNUSED_VARIABLE = YES;+ IPHONEOS_DEPLOYMENT_TARGET = 26.0;+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;+ MTL_FAST_MATH = YES;+ ONLY_ACTIVE_ARCH = YES;+ PRODUCT_NAME = "$(TARGET_NAME)";+ SDKROOT = iphoneos;+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";+ SWIFT_VERSION = 5.0;+ };+ name = Debug;+ };+ 1508495D03C30DBD9F3DD3AF /* Release */ = {+ isa = XCBuildConfiguration;+ buildSettings = {+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;+ CODE_SIGN_IDENTITY = "iPhone Developer";+ INFOPLIST_FILE = "probe-Info.plist";+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/Frameworks",+ );+ PRODUCT_BUNDLE_IDENTIFIER = org.nxnative.probe.DmProbe;+ SDKROOT = iphoneos;+ TARGETED_DEVICE_FAMILY = "1,2";+ };+ name = Release;+ };+ 436BA009D88C3728FD6251AD /* Debug */ = {+ isa = XCBuildConfiguration;+ buildSettings = {+ CODE_SIGN_IDENTITY = "";+ CURRENT_PROJECT_VERSION = 1;+ DEFINES_MODULE = YES;+ DYLIB_COMPATIBILITY_VERSION = 1;+ DYLIB_CURRENT_VERSION = 1;+ DYLIB_INSTALL_NAME_BASE = "@rpath";+ INFOPLIST_FILE = "probe-framework-Info.plist";+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/Frameworks",+ );+ PRODUCT_BUNDLE_IDENTIFIER = org.nxnative.probe.Probe;+ SDKROOT = iphoneos;+ SKIP_INSTALL = YES;+ TARGETED_DEVICE_FAMILY = "1,2";+ VERSIONING_SYSTEM = "apple-generic";+ };+ name = Debug;+ };+ 4728C346B0C8082A2E1ECA2F /* Release */ = {+ isa = XCBuildConfiguration;+ buildSettings = {+ ALWAYS_SEARCH_USER_PATHS = NO;+ CLANG_ANALYZER_NONNULL = YES;+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";+ CLANG_CXX_LIBRARY = "libc++";+ CLANG_ENABLE_MODULES = YES;+ CLANG_ENABLE_OBJC_ARC = YES;+ CLANG_ENABLE_OBJC_WEAK = YES;+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;+ CLANG_WARN_BOOL_CONVERSION = YES;+ CLANG_WARN_COMMA = YES;+ CLANG_WARN_CONSTANT_CONVERSION = YES;+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;+ CLANG_WARN_EMPTY_BODY = YES;+ CLANG_WARN_ENUM_CONVERSION = YES;+ CLANG_WARN_INFINITE_RECURSION = YES;+ CLANG_WARN_INT_CONVERSION = YES;+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;+ CLANG_WARN_STRICT_PROTOTYPES = YES;+ CLANG_WARN_SUSPICIOUS_MOVE = YES;+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;+ CLANG_WARN_UNREACHABLE_CODE = YES;+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;+ COPY_PHASE_STRIP = NO;+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";+ ENABLE_NS_ASSERTIONS = NO;+ ENABLE_STRICT_OBJC_MSGSEND = YES;+ GCC_C_LANGUAGE_STANDARD = gnu11;+ GCC_NO_COMMON_BLOCKS = YES;+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;+ GCC_WARN_UNDECLARED_SELECTOR = YES;+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;+ GCC_WARN_UNUSED_FUNCTION = YES;+ GCC_WARN_UNUSED_VARIABLE = YES;+ IPHONEOS_DEPLOYMENT_TARGET = 26.0;+ MTL_ENABLE_DEBUG_INFO = NO;+ MTL_FAST_MATH = YES;+ PRODUCT_NAME = "$(TARGET_NAME)";+ SDKROOT = iphoneos;+ SWIFT_COMPILATION_MODE = wholemodule;+ SWIFT_OPTIMIZATION_LEVEL = "-O";+ SWIFT_VERSION = 5.0;+ };+ name = Release;+ };+ AAD8C8C6848A779F972D00C7 /* Release */ = {+ isa = XCBuildConfiguration;+ buildSettings = {+ CODE_SIGN_IDENTITY = "";+ CURRENT_PROJECT_VERSION = 1;+ DEFINES_MODULE = YES;+ DYLIB_COMPATIBILITY_VERSION = 1;+ DYLIB_CURRENT_VERSION = 1;+ DYLIB_INSTALL_NAME_BASE = "@rpath";+ INFOPLIST_FILE = "probe-framework-Info.plist";+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/Frameworks",+ );+ PRODUCT_BUNDLE_IDENTIFIER = org.nxnative.probe.Probe;+ SDKROOT = iphoneos;+ SKIP_INSTALL = YES;+ TARGETED_DEVICE_FAMILY = "1,2";+ VERSIONING_SYSTEM = "apple-generic";+ };+ name = Release;+ };+ EBEA79193042D912ABBE4EF2 /* Debug */ = {+ isa = XCBuildConfiguration;+ buildSettings = {+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;+ CODE_SIGN_IDENTITY = "iPhone Developer";+ INFOPLIST_FILE = "probe-Info.plist";+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/Frameworks",+ );+ PRODUCT_BUNDLE_IDENTIFIER = org.nxnative.probe.DmProbe;+ SDKROOT = iphoneos;+ TARGETED_DEVICE_FAMILY = "1,2";+ };+ name = Debug;+ };+/* End XCBuildConfiguration section */++/* Begin XCConfigurationList section */+ 9ED6CC584E2C401AB7102CFC /* Build configuration list for PBXProject "DmProbe" */ = {+ isa = XCConfigurationList;+ buildConfigurations = (+ 010EAC4E2D1CD340BE7A9DE8 /* Debug */,+ 4728C346B0C8082A2E1ECA2F /* Release */,+ );+ defaultConfigurationIsVisible = 0;+ defaultConfigurationName = Debug;+ };+ F5FB4A1AE609544F88E06253 /* Build configuration list for PBXNativeTarget "Probe" */ = {+ isa = XCConfigurationList;+ buildConfigurations = (+ 436BA009D88C3728FD6251AD /* Debug */,+ AAD8C8C6848A779F972D00C7 /* Release */,+ );+ defaultConfigurationIsVisible = 0;+ defaultConfigurationName = Debug;+ };+ FB9912A086081F2D19165946 /* Build configuration list for PBXNativeTarget "DmProbe" */ = {+ isa = XCConfigurationList;+ buildConfigurations = (+ EBEA79193042D912ABBE4EF2 /* Debug */,+ 1508495D03C30DBD9F3DD3AF /* Release */,+ );+ defaultConfigurationIsVisible = 0;+ defaultConfigurationName = Debug;+ };+/* End XCConfigurationList section */+ };+ rootObject = 665957B2F37792FAF81F0760 /* Project object */;+}diff --git a/dm/ios/probe/DmProbe.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/dm/ios/probe/DmProbe.xcodeproj/project.xcworkspace/contents.xcworkspacedatanew file mode 100644index 00000000..919434a6--- /dev/null+++ b/dm/ios/probe/DmProbe.xcodeproj/project.xcworkspace/contents.xcworkspacedata@@ -0,0 +1,7 @@+<?xml version="1.0" encoding="UTF-8"?>+<Workspace+ version = "1.0">+ <FileRef+ location = "self:">+ </FileRef>+</Workspace>diff --git a/dm/ios/probe/DmProbe.xcodeproj/xcshareddata/xcschemes/DmProbe.xcscheme b/dm/ios/probe/DmProbe.xcodeproj/xcshareddata/xcschemes/DmProbe.xcschemenew file mode 100644index 00000000..8747bc5e--- /dev/null+++ b/dm/ios/probe/DmProbe.xcodeproj/xcshareddata/xcschemes/DmProbe.xcscheme@@ -0,0 +1,103 @@+<?xml version="1.0" encoding="UTF-8"?>+<Scheme+ LastUpgradeVersion = "1430"+ version = "1.7">+ <BuildAction+ parallelizeBuildables = "YES"+ buildImplicitDependencies = "YES"+ runPostActionsOnFailure = "NO">+ <BuildActionEntries>+ <BuildActionEntry+ buildForTesting = "YES"+ buildForRunning = "YES"+ buildForProfiling = "YES"+ buildForArchiving = "YES"+ buildForAnalyzing = "YES">+ <BuildableReference+ BuildableIdentifier = "primary"+ BlueprintIdentifier = "27BF26B4447D8FE4545DC557"+ BuildableName = "DmProbe.app"+ BlueprintName = "DmProbe"+ ReferencedContainer = "container:DmProbe.xcodeproj">+ </BuildableReference>+ </BuildActionEntry>+ <BuildActionEntry+ buildForTesting = "YES"+ buildForRunning = "YES"+ buildForProfiling = "YES"+ buildForArchiving = "YES"+ buildForAnalyzing = "YES">+ <BuildableReference+ BuildableIdentifier = "primary"+ BlueprintIdentifier = "5A4AE636FE4AFD6115D14AF3"+ BuildableName = "Probe.framework"+ BlueprintName = "Probe"+ ReferencedContainer = "container:DmProbe.xcodeproj">+ </BuildableReference>+ </BuildActionEntry>+ </BuildActionEntries>+ </BuildAction>+ <TestAction+ buildConfiguration = "Debug"+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"+ shouldUseLaunchSchemeArgsEnv = "YES"+ onlyGenerateCoverageForSpecifiedTargets = "NO">+ <MacroExpansion>+ <BuildableReference+ BuildableIdentifier = "primary"+ BlueprintIdentifier = "27BF26B4447D8FE4545DC557"+ BuildableName = "DmProbe.app"+ BlueprintName = "DmProbe"+ ReferencedContainer = "container:DmProbe.xcodeproj">+ </BuildableReference>+ </MacroExpansion>+ <Testables>+ </Testables>+ </TestAction>+ <LaunchAction+ buildConfiguration = "Debug"+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"+ launchStyle = "0"+ useCustomWorkingDirectory = "NO"+ ignoresPersistentStateOnLaunch = "NO"+ debugDocumentVersioning = "YES"+ debugServiceExtension = "internal"+ allowLocationSimulation = "YES">+ <BuildableProductRunnable+ runnableDebuggingMode = "0">+ <BuildableReference+ BuildableIdentifier = "primary"+ BlueprintIdentifier = "27BF26B4447D8FE4545DC557"+ BuildableName = "DmProbe.app"+ BlueprintName = "DmProbe"+ ReferencedContainer = "container:DmProbe.xcodeproj">+ </BuildableReference>+ </BuildableProductRunnable>+ </LaunchAction>+ <ProfileAction+ buildConfiguration = "Release"+ shouldUseLaunchSchemeArgsEnv = "YES"+ savedToolIdentifier = ""+ useCustomWorkingDirectory = "NO"+ debugDocumentVersioning = "YES">+ <BuildableProductRunnable+ runnableDebuggingMode = "0">+ <BuildableReference+ BuildableIdentifier = "primary"+ BlueprintIdentifier = "27BF26B4447D8FE4545DC557"+ BuildableName = "DmProbe.app"+ BlueprintName = "DmProbe"+ ReferencedContainer = "container:DmProbe.xcodeproj">+ </BuildableReference>+ </BuildableProductRunnable>+ </ProfileAction>+ <AnalyzeAction+ buildConfiguration = "Debug">+ </AnalyzeAction>+ <ArchiveAction+ buildConfiguration = "Release"+ revealArchiveInOrganizer = "YES">+ </ArchiveAction>+</Scheme>diff --git a/dm/ios/probe/probe-Info.plist b/dm/ios/probe/probe-Info.plistnew file mode 100644index 00000000..9a54ac27--- /dev/null+++ b/dm/ios/probe/probe-Info.plist@@ -0,0 +1,34 @@+<?xml version="1.0" encoding="UTF-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>CFBundleDevelopmentRegion</key>+ <string>$(DEVELOPMENT_LANGUAGE)</string>+ <key>CFBundleDisplayName</key>+ <string>DmProbe</string>+ <key>CFBundleExecutable</key>+ <string>$(EXECUTABLE_NAME)</string>+ <key>CFBundleIdentifier</key>+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>+ <key>CFBundleInfoDictionaryVersion</key>+ <string>6.0</string>+ <key>CFBundleName</key>+ <string>$(PRODUCT_NAME)</string>+ <key>CFBundlePackageType</key>+ <string>APPL</string>+ <key>CFBundleShortVersionString</key>+ <string>1.0</string>+ <key>CFBundleVersion</key>+ <string>1</string>+ <key>LSSupportsOpeningDocumentsInPlace</key>+ <true/>+ <key>UIFileSharingEnabled</key>+ <true/>+ <key>UILaunchStoryboardName</key>+ <string></string>+ <key>UISupportedInterfaceOrientations</key>+ <array>+ <string>UIInterfaceOrientationPortrait</string>+ </array>+</dict>+</plist>diff --git a/dm/ios/probe/probe-framework-Info.plist b/dm/ios/probe/probe-framework-Info.plistnew file mode 100644index 00000000..db711b14--- /dev/null+++ b/dm/ios/probe/probe-framework-Info.plist@@ -0,0 +1,24 @@+<?xml version="1.0" encoding="UTF-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>CFBundleDevelopmentRegion</key>+ <string>$(DEVELOPMENT_LANGUAGE)</string>+ <key>CFBundleDisplayName</key>+ <string>Probe</string>+ <key>CFBundleExecutable</key>+ <string>$(EXECUTABLE_NAME)</string>+ <key>CFBundleIdentifier</key>+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>+ <key>CFBundleInfoDictionaryVersion</key>+ <string>6.0</string>+ <key>CFBundleName</key>+ <string>$(PRODUCT_NAME)</string>+ <key>CFBundlePackageType</key>+ <string>FMWK</string>+ <key>CFBundleShortVersionString</key>+ <string>1.0</string>+ <key>CFBundleVersion</key>+ <string>1</string>+</dict>+</plist>diff --git a/dm/ios/probe/project.yml b/dm/ios/probe/project.ymlnew file mode 100644index 00000000..77a1aae0--- /dev/null+++ b/dm/ios/probe/project.yml@@ -0,0 +1,41 @@+# The dlopen probe as an Xcode project: the most reliable way to get it onto a device when the+# sideloaders' Apple authentication is throttled (AltStore HTTP 503, 爱思助手 "wrong password"+# behind two-factor) — Xcode signs with the user's own Apple ID and installs over USB itself.+# xcodegen generate -s project.yml (or open the generated DmProbe.xcodeproj)+# Then in Xcode: select DmProbe target → Signing & Capabilities → Team = your Apple ID → Run.+name: DmProbe+options:+ bundleIdPrefix: org.nxnative.probe+ deploymentTarget:+ iOS: "26.0" # same floor as the game host: Metal 4+targets:+ DmProbe:+ type: application+ platform: iOS+ sources:+ - path: src/probe_main.m+ info:+ path: probe-Info.plist+ properties:+ CFBundleDisplayName: DmProbe+ CFBundleShortVersionString: "1.0"+ CFBundleVersion: "1"+ UILaunchStoryboardName: ""+ UIFileSharingEnabled: true # Documents/probe-log.txt visible in the Files app+ LSSupportsOpeningDocumentsInPlace: true+ UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]+ Probe:+ type: framework+ platform: iOS+ sources:+ - path: src/probe.c+ info:+ path: probe-framework-Info.plist+ properties:+ CFBundleDisplayName: Probe+schemes:+ DmProbe:+ build:+ targets:+ DmProbe: all+ Probe: all