Skip to content

Manic EMU is an all-in-one retro game emulator for iOS. It packs powerful features while keeping a clean, sleek UI and delivering buttery-smooth gameplay.

Swift

Fix the build issues in Xcode 26.4; add tvOS code templates.

Daiuno1c65a1c38284
diff --git a/.gitignore b/.gitignore
index e416b804..1d2c7de9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -104,6 +104,7 @@ Cores/dosbox-pure
Cores/mupen64plus
Cores/libretro-common
StikDebug
+MetalToy
i18n/
#claude code
diff --git a/ChromaColorPicker/.swiftpm/xcode/xcshareddata/xcschemes/ChromaColorPicker.xcscheme b/ChromaColorPicker/.swiftpm/xcode/xcshareddata/xcschemes/ChromaColorPicker.xcscheme
new file mode 100644
index 00000000..3e4d505f
--- /dev/null
+++ b/ChromaColorPicker/.swiftpm/xcode/xcshareddata/xcschemes/ChromaColorPicker.xcscheme
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "2640"
+ version = "1.7">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES"
+ buildArchitectures = "Automatic">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "ChromaColorPicker"
+ BuildableName = "ChromaColorPicker"
+ BlueprintName = "ChromaColorPicker"
+ ReferencedContainer = "container:">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ shouldAutocreateTestPlan = "YES">
+ </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"
+ queueDebuggingEnableBacktraceRecording = "Yes">
+ </LaunchAction>
+ <ProfileAction
+ buildConfiguration = "Release"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ debugDocumentVersioning = "YES">
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "ChromaColorPicker"
+ BuildableName = "ChromaColorPicker"
+ BlueprintName = "ChromaColorPicker"
+ ReferencedContainer = "container:">
+ </BuildableReference>
+ </MacroExpansion>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
diff --git a/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/ios-arm64-simulator/Headers/fmt/chrono.h b/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/ios-arm64-simulator/Headers/fmt/chrono.h
index ff3e1445..26479043 100644
--- a/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/ios-arm64-simulator/Headers/fmt/chrono.h
+++ b/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/ios-arm64-simulator/Headers/fmt/chrono.h
@@ -1109,7 +1109,9 @@ void write_floating_seconds(memory_buffer& buf, Duration duration,
num_fractional_digits = 6;
}
- format_to(std::back_inserter(buf), FMT_STRING("{:.{}f}"),
+ // fmt::runtime: dynamic precision is not a constant expression; FMT_STRING
+ // (consteval) fails on newer Clang (e.g. Xcode 16.4).
+ format_to(std::back_inserter(buf), fmt::runtime("{:.{}f}"),
std::fmod(val * static_cast<rep>(Duration::period::num) /
static_cast<rep>(Duration::period::den),
static_cast<rep>(60)),
diff --git a/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/ios-arm64/Headers/fmt/chrono.h b/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/ios-arm64/Headers/fmt/chrono.h
index ff3e1445..26479043 100644
--- a/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/ios-arm64/Headers/fmt/chrono.h
+++ b/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/ios-arm64/Headers/fmt/chrono.h
@@ -1109,7 +1109,9 @@ void write_floating_seconds(memory_buffer& buf, Duration duration,
num_fractional_digits = 6;
}
- format_to(std::back_inserter(buf), FMT_STRING("{:.{}f}"),
+ // fmt::runtime: dynamic precision is not a constant expression; FMT_STRING
+ // (consteval) fails on newer Clang (e.g. Xcode 16.4).
+ format_to(std::back_inserter(buf), fmt::runtime("{:.{}f}"),
std::fmod(val * static_cast<rep>(Duration::period::num) /
static_cast<rep>(Duration::period::den),
static_cast<rep>(60)),
diff --git a/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/tvos-arm64-simulator/Headers/fmt/chrono.h b/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/tvos-arm64-simulator/Headers/fmt/chrono.h
index ff3e1445..26479043 100644
--- a/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/tvos-arm64-simulator/Headers/fmt/chrono.h
+++ b/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/tvos-arm64-simulator/Headers/fmt/chrono.h
@@ -1109,7 +1109,9 @@ void write_floating_seconds(memory_buffer& buf, Duration duration,
num_fractional_digits = 6;
}
- format_to(std::back_inserter(buf), FMT_STRING("{:.{}f}"),
+ // fmt::runtime: dynamic precision is not a constant expression; FMT_STRING
+ // (consteval) fails on newer Clang (e.g. Xcode 16.4).
+ format_to(std::back_inserter(buf), fmt::runtime("{:.{}f}"),
std::fmod(val * static_cast<rep>(Duration::period::num) /
static_cast<rep>(Duration::period::den),
static_cast<rep>(60)),
diff --git a/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/tvos-arm64/Headers/fmt/chrono.h b/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/tvos-arm64/Headers/fmt/chrono.h
index ff3e1445..26479043 100644
--- a/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/tvos-arm64/Headers/fmt/chrono.h
+++ b/Cores/Citra/Dependencies/XCFrameworks/libfmt.xcframework/tvos-arm64/Headers/fmt/chrono.h
@@ -1109,7 +1109,9 @@ void write_floating_seconds(memory_buffer& buf, Duration duration,
num_fractional_digits = 6;
}
- format_to(std::back_inserter(buf), FMT_STRING("{:.{}f}"),
+ // fmt::runtime: dynamic precision is not a constant expression; FMT_STRING
+ // (consteval) fails on newer Clang (e.g. Xcode 16.4).
+ format_to(std::back_inserter(buf), fmt::runtime("{:.{}f}"),
std::fmod(val * static_cast<rep>(Duration::period::num) /
static_cast<rep>(Duration::period::den),
static_cast<rep>(60)),
diff --git a/Cores/Citra/Dependencies/nihstro/bit_field.h b/Cores/Citra/Dependencies/nihstro/bit_field.h
index 5430b15b..04b6bbcc 100644
--- a/Cores/Citra/Dependencies/nihstro/bit_field.h
+++ b/Cores/Citra/Dependencies/nihstro/bit_field.h
@@ -39,6 +39,22 @@
namespace nihstro {
+// BitField needs an unsigned "mask" type for shifts. std::make_unsigned is only
+// valid for (signed) integer types; nihstro uses std-layout structs that wrap
+// u32 (SourceRegister, etc.). Newer libc++ (e.g. Xcode 26.4) rejects user
+// specializations of std::make_unsigned, so we use a local helper instead of
+// extending namespace std.
+template<typename StorageType, typename = void>
+struct bit_field_storage_unsigned {
+ using type = typename std::make_unsigned<StorageType>::type;
+};
+
+template<typename StorageType>
+struct bit_field_storage_unsigned<StorageType,
+ typename std::enable_if<!std::is_integral<StorageType>::value && !std::is_enum<StorageType>::value>::type> {
+ using type = StorageType;
+};
+
/*
* Abstract bitfield class
*
@@ -187,7 +203,7 @@ private:
std::enable_if < true, T >> ::type::type StorageType;
// Unsigned version of StorageType
- typedef typename std::make_unsigned<StorageType>::type StorageTypeU;
+ typedef typename bit_field_storage_unsigned<StorageType>::type StorageTypeU;
__forceinline StorageType GetMask() const
{
diff --git a/Cores/Citra/Dependencies/nihstro/shader_bytecode.h b/Cores/Citra/Dependencies/nihstro/shader_bytecode.h
index c3fe6462..41b69a06 100644
--- a/Cores/Citra/Dependencies/nihstro/shader_bytecode.h
+++ b/Cores/Citra/Dependencies/nihstro/shader_bytecode.h
@@ -479,23 +479,6 @@ private:
} // namespace nihstro
-namespace std {
- template<>
- struct make_unsigned<nihstro::SourceRegister> {
- using type = nihstro::SourceRegister;
- };
-
- template<>
- struct make_unsigned<nihstro::DestRegister> {
- using type = nihstro::DestRegister;
- };
-
- template<>
- struct make_unsigned<nihstro::OpCode> {
- using type = nihstro::OpCode;
- };
-}
-
namespace nihstro {
#pragma pack(1)
diff --git a/KeyboardKit/.swiftpm/xcode/xcshareddata/xcschemes/KeyboardKit.xcscheme b/KeyboardKit/.swiftpm/xcode/xcshareddata/xcschemes/KeyboardKit.xcscheme
new file mode 100644
index 00000000..eaafa42f
--- /dev/null
+++ b/KeyboardKit/.swiftpm/xcode/xcshareddata/xcschemes/KeyboardKit.xcscheme
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "2640"
+ version = "1.7">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES"
+ buildArchitectures = "Automatic">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "KeyboardKit"
+ BuildableName = "KeyboardKit"
+ BlueprintName = "KeyboardKit"
+ ReferencedContainer = "container:">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ shouldAutocreateTestPlan = "YES">
+ </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"
+ queueDebuggingEnableBacktraceRecording = "Yes">
+ </LaunchAction>
+ <ProfileAction
+ buildConfiguration = "Release"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ debugDocumentVersioning = "YES">
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "KeyboardKit"
+ BuildableName = "KeyboardKit"
+ BlueprintName = "KeyboardKit"
+ ReferencedContainer = "container:">
+ </BuildableReference>
+ </MacroExpansion>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
diff --git a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
index 052dedec..523d201c 100644
--- a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
+++ b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
@@ -689,6 +689,17 @@
57AD35EA2D7DEB9D0092FD03 /* WebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AD35E92D7DEB900092FD03 /* WebViewController.swift */; };
57AD35EC2D7DEF360092FD03 /* SheerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AD35EB2D7DEF2E0092FD03 /* SheerExtensions.swift */; };
57AEB9DC2F2614C6005CB496 /* NavigationBlurView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AEB9DA2F2614BF005CB496 /* NavigationBlurView.swift */; };
+ 57B591E52FD06473003C4235 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 57B591DC2FD06473003C4235 /* Assets.xcassets */; };
+ 57B591E72FD06473003C4235 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 57B591DF2FD06473003C4235 /* LaunchScreen.storyboard */; };
+ 57B591E92FD06473003C4235 /* TVAppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57B591DB2FD06473003C4235 /* TVAppDelegate.swift */; };
+ 57B591EA2FD06473003C4235 /* TVAppSceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57B591E22FD06473003C4235 /* TVAppSceneDelegate.swift */; };
+ 57B592322FD06BDD003C4235 /* HomeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57B592312FD06BDD003C4235 /* HomeViewController.swift */; };
+ 57B592342FD06D3A003C4235 /* UIWindowExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 579C114C2D1D0E0A00CFD1F5 /* UIWindowExtensions.swift */; };
+ 57B5923C2FD072C3003C4235 /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = 57B5923B2FD072C3003C4235 /* SnapKit */; };
+ 57B592402FD07394003C4235 /* SwifterSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 57B5923F2FD07394003C4235 /* SwifterSwift */; };
+ 57B592462FD0799C003C4235 /* RswiftLibrary in Frameworks */ = {isa = PBXBuildFile; productRef = 57B592452FD0799C003C4235 /* RswiftLibrary */; settings = {ATTRIBUTES = (Required, ); }; };
+ 57B592572FD07B05003C4235 /* SFSafeSymbols in Frameworks */ = {isa = PBXBuildFile; productRef = 57B592562FD07B05003C4235 /* SFSafeSymbols */; };
+ 57B592692FD07CE2003C4235 /* LookinServer in Frameworks */ = {isa = PBXBuildFile; productRef = 57B592682FD07CE2003C4235 /* LookinServer */; };
57B5E3142ECC625E00DE17E9 /* Arcade.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57B5E3122ECC625600DE17E9 /* Arcade.swift */; };
57B5E31B2ECC738500DE17E9 /* mame.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57B5E3192ECC735D00DE17E9 /* mame.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
57B5E3242ECCCD0800DE17E9 /* MAMEKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57B5E3222ECCCD0100DE17E9 /* MAMEKit.swift */; };
@@ -2169,6 +2180,13 @@
57ADFED92D94F52500502E5C /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
57ADFEDA2D94F52500502E5C /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
57AEB9DA2F2614BF005CB496 /* NavigationBlurView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NavigationBlurView.swift; sourceTree = "<group>"; };
+ 57B5917A2FD06468003C4235 /* ManicEmuTV.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ManicEmuTV.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 57B591DB2FD06473003C4235 /* TVAppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TVAppDelegate.swift; sourceTree = "<group>"; };
+ 57B591DC2FD06473003C4235 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+ 57B591DD2FD06473003C4235 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+ 57B591DE2FD06473003C4235 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
+ 57B591E22FD06473003C4235 /* TVAppSceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TVAppSceneDelegate.swift; sourceTree = "<group>"; };
+ 57B592312FD06BDD003C4235 /* HomeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeViewController.swift; sourceTree = "<group>"; };
57B5E3122ECC625600DE17E9 /* Arcade.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Arcade.swift; sourceTree = "<group>"; };
57B5E3192ECC735D00DE17E9 /* mame.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = mame.libretro.framework; path = ../Cores/mame.libretro.framework; sourceTree = SOURCE_ROOT; };
57B5E3222ECCCD0100DE17E9 /* MAMEKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MAMEKit.swift; sourceTree = "<group>"; };
@@ -2423,6 +2441,18 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 57B591772FD06468003C4235 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 57B592692FD07CE2003C4235 /* LookinServer in Frameworks */,
+ 57B5923C2FD072C3003C4235 /* SnapKit in Frameworks */,
+ 57B592402FD07394003C4235 /* SwifterSwift in Frameworks */,
+ 57B592572FD07B05003C4235 /* SFSafeSymbols in Frameworks */,
+ 57B592462FD0799C003C4235 /* RswiftLibrary in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
57BFBE142DD32F7700AABF98 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@@ -4408,6 +4438,75 @@
path = VIews;
sourceTree = "<group>";
};
+ 57B591E42FD06473003C4235 /* ManicEmuTV */ = {
+ isa = PBXGroup;
+ children = (
+ 57B592152FD068B8003C4235 /* Sources */,
+ 57B592172FD068C0003C4235 /* Resources */,
+ );
+ path = ManicEmuTV;
+ sourceTree = "<group>";
+ };
+ 57B592152FD068B8003C4235 /* Sources */ = {
+ isa = PBXGroup;
+ children = (
+ 57B5921A2FD068CF003C4235 /* Base */,
+ 57B592202FD068F5003C4235 /* Business */,
+ 57B5921E2FD068EC003C4235 /* Tools */,
+ );
+ path = Sources;
+ sourceTree = "<group>";
+ };
+ 57B592172FD068C0003C4235 /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 57B591DC2FD06473003C4235 /* Assets.xcassets */,
+ 57B591DD2FD06473003C4235 /* Info.plist */,
+ 57B591DF2FD06473003C4235 /* LaunchScreen.storyboard */,
+ );
+ path = Resources;
+ sourceTree = "<group>";
+ };
+ 57B5921A2FD068CF003C4235 /* Base */ = {
+ isa = PBXGroup;
+ children = (
+ 57B591DB2FD06473003C4235 /* TVAppDelegate.swift */,
+ 57B591E22FD06473003C4235 /* TVAppSceneDelegate.swift */,
+ );
+ path = Base;
+ sourceTree = "<group>";
+ };
+ 57B5921E2FD068EC003C4235 /* Tools */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ path = Tools;
+ sourceTree = "<group>";
+ };
+ 57B592202FD068F5003C4235 /* Business */ = {
+ isa = PBXGroup;
+ children = (
+ 57B5922E2FD06B90003C4235 /* Home */,
+ );
+ path = Business;
+ sourceTree = "<group>";
+ };
+ 57B5922E2FD06B90003C4235 /* Home */ = {
+ isa = PBXGroup;
+ children = (
+ 57B5922F2FD06BB9003C4235 /* ViewControllers */,
+ );
+ path = Home;
+ sourceTree = "<group>";
+ };
+ 57B5922F2FD06BB9003C4235 /* ViewControllers */ = {
+ isa = PBXGroup;
+ children = (
+ 57B592312FD06BDD003C4235 /* HomeViewController.swift */,
+ );
+ path = ViewControllers;
+ sourceTree = "<group>";
+ };
57B6EC612D77F224002E619C /* Views */ = {
isa = PBXGroup;
children = (
@@ -4946,6 +5045,7 @@
5768F8272DAE005F009974D1 /* ThreeDS */,
57BFBE482DD3321A00AABF98 /* Libretro */,
578F235B2F7A759300C8D834 /* azahar.xcodeproj */,
+ 57B591E42FD06473003C4235 /* ManicEmuTV */,
A5A001F024555A5F006E0F0E /* Products */,
20137E78C79666610E451EFB /* Pods */,
E2E460DE79D75653B9E6B44C /* Frameworks */,
@@ -4958,6 +5058,7 @@
A5A001EF24555A5F006E0F0E /* ManicEmu.app */,
571744142DA2637F007CCE25 /* libThreeDS.a */,
57BFBE172DD32F7700AABF98 /* Libretro.framework */,
+ 57B5917A2FD06468003C4235 /* ManicEmuTV.app */,
);
name = Products;
sourceTree = "<group>";
@@ -5184,6 +5285,31 @@
productReference = 571744142DA2637F007CCE25 /* libThreeDS.a */;
productType = "com.apple.product-type.library.static";
};
+ 57B591792FD06468003C4235 /* ManicEmuTV */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 57B591922FD06468003C4235 /* Build configuration list for PBXNativeTarget "ManicEmuTV" */;
+ buildPhases = (
+ 57B591762FD06468003C4235 /* Sources */,
+ 57B591772FD06468003C4235 /* Frameworks */,
+ 57B591782FD06468003C4235 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 57B592492FD07A5E003C4235 /* PBXTargetDependency */,
+ );
+ name = ManicEmuTV;
+ packageProductDependencies = (
+ 57B5923B2FD072C3003C4235 /* SnapKit */,
+ 57B5923F2FD07394003C4235 /* SwifterSwift */,
+ 57B592452FD0799C003C4235 /* RswiftLibrary */,
+ 57B592562FD07B05003C4235 /* SFSafeSymbols */,
+ 57B592682FD07CE2003C4235 /* LookinServer */,
+ );
+ productName = ManicEmuTV;
+ productReference = 57B5917A2FD06468003C4235 /* ManicEmuTV.app */;
+ productType = "com.apple.product-type.application";
+ };
57BFBE162DD32F7700AABF98 /* Libretro */ = {
isa = PBXNativeTarget;
buildConfigurationList = 57BFBE202DD32F7700AABF98 /* Build configuration list for PBXNativeTarget "Libretro" */;
@@ -5232,7 +5358,7 @@
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
- LastSwiftUpdateCheck = 1620;
+ LastSwiftUpdateCheck = 2640;
LastUpgradeCheck = 1620;
ORGANIZATIONNAME = "Manic EMU";
TargetAttributes = {
@@ -5240,6 +5366,9 @@
CreatedOnToolsVersion = 16.2;
LastSwiftMigration = 1620;
};
+ 57B591792FD06468003C4235 = {
+ CreatedOnToolsVersion = 26.4.1;
+ };
57BFBE162DD32F7700AABF98 = {
CreatedOnToolsVersion = 16.2;
};
@@ -5311,6 +5440,10 @@
57F0D8492DE2E7A600760F57 /* XCRemoteSwiftPackageReference "SwiftCloudDrive" */,
5706B0BC2DFDE4570066122E /* XCRemoteSwiftPackageReference "BlurUIKit" */,
5744C6602E34D6E10088081A /* XCLocalSwiftPackageReference "../KeyboardKit" */,
+ 57B5923A2FD072C3003C4235 /* XCRemoteSwiftPackageReference "SnapKit" */,
+ 57B5923E2FD07394003C4235 /* XCRemoteSwiftPackageReference "SwifterSwift" */,
+ 57B592552FD07B05003C4235 /* XCRemoteSwiftPackageReference "SFSafeSymbols" */,
+ 57B592672FD07CE2003C4235 /* XCRemoteSwiftPackageReference "LookinServer" */,
);
productRefGroup = A5A001F024555A5F006E0F0E /* Products */;
projectDirPath = "";
@@ -5325,6 +5458,7 @@
A5A001EE24555A5F006E0F0E /* ManicEmu */,
571744132DA2637F007CCE25 /* ThreeDS */,
57BFBE162DD32F7700AABF98 /* Libretro */,
+ 57B591792FD06468003C4235 /* ManicEmuTV */,
);
};
/* End PBXProject section */
@@ -5649,6 +5783,15 @@
/* End PBXReferenceProxy section */
/* Begin PBXResourcesBuildPhase section */
+ 57B591782FD06468003C4235 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 57B591E52FD06473003C4235 /* Assets.xcassets in Resources */,
+ 57B591E72FD06473003C4235 /* LaunchScreen.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
57BFBE152DD32F7700AABF98 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@@ -6105,6 +6248,17 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 57B591762FD06468003C4235 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 57B591E92FD06473003C4235 /* TVAppDelegate.swift in Sources */,
+ 57B591EA2FD06473003C4235 /* TVAppSceneDelegate.swift in Sources */,
+ 57B592342FD06D3A003C4235 /* UIWindowExtensions.swift in Sources */,
+ 57B592322FD06BDD003C4235 /* HomeViewController.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
57BFBE132DD32F7700AABF98 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@@ -6521,6 +6675,10 @@
isa = PBXTargetDependency;
productRef = 576DD4472E0FFAC900644424 /* RswiftGenerateInternalResources */;
};
+ 57B592492FD07A5E003C4235 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ productRef = 57B592482FD07A5E003C4235 /* RswiftGenerateInternalResources */;
+ };
57BFBEB12DD489C700AABF98 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 57BFBE162DD32F7700AABF98 /* Libretro */;
@@ -6529,6 +6687,14 @@
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
+ 57B591DF2FD06473003C4235 /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 57B591DE2FD06473003C4235 /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "<group>";
+ };
A5A001FD24555A5F006E0F0E /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
@@ -7432,6 +7598,262 @@
};
name = SideloadDebug;
};
+ 57B5918B2FD06468003C4235 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = UU52N52JLD;
+ ENABLE_DEBUG_DYLIB = NO;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = ManicEmuTV/Resources/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = "Manic EMU";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
+ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
+ INFOPLIST_KEY_UIMainStoryboardFile = "";
+ INFOPLIST_KEY_UIUserInterfaceStyle = Automatic;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MARKETING_VERSION = 2.0.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.aoshuang.ManicEmuTV;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = appletvos;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = 3;
+ TVOS_DEPLOYMENT_TARGET = 15.0;
+ };
+ name = Debug;
+ };
+ 57B5918C2FD06468003C4235 /* DebugSimulator */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = UU52N52JLD;
+ ENABLE_DEBUG_DYLIB = NO;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = ManicEmuTV/Resources/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = "Manic EMU";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
+ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
+ INFOPLIST_KEY_UIMainStoryboardFile = "";
+ INFOPLIST_KEY_UIUserInterfaceStyle = Automatic;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MARKETING_VERSION = 2.0.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.aoshuang.ManicEmuTV;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = appletvos;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = 3;
+ TVOS_DEPLOYMENT_TARGET = 15.0;
+ };
+ name = DebugSimulator;
+ };
+ 57B5918D2FD06468003C4235 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = UU52N52JLD;
+ ENABLE_DEBUG_DYLIB = NO;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = ManicEmuTV/Resources/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = "Manic EMU";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
+ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
+ INFOPLIST_KEY_UIMainStoryboardFile = "";
+ INFOPLIST_KEY_UIUserInterfaceStyle = Automatic;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MARKETING_VERSION = 2.0.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.aoshuang.ManicEmuTV;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = appletvos;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = 3;
+ TVOS_DEPLOYMENT_TARGET = 15.0;
+ };
+ name = Release;
+ };
+ 57B5918E2FD06468003C4235 /* SideloadRelease */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = UU52N52JLD;
+ ENABLE_DEBUG_DYLIB = NO;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = ManicEmuTV/Resources/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = "Manic EMU";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
+ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
+ INFOPLIST_KEY_UIMainStoryboardFile = "";
+ INFOPLIST_KEY_UIUserInterfaceStyle = Automatic;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MARKETING_VERSION = 2.0.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.aoshuang.ManicEmuTV;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = appletvos;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = 3;
+ TVOS_DEPLOYMENT_TARGET = 15.0;
+ };
+ name = SideloadRelease;
+ };
+ 57B5918F2FD06468003C4235 /* SideloadDebug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = UU52N52JLD;
+ ENABLE_DEBUG_DYLIB = NO;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = ManicEmuTV/Resources/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = "Manic EMU";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
+ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
+ INFOPLIST_KEY_UIMainStoryboardFile = "";
+ INFOPLIST_KEY_UIUserInterfaceStyle = Automatic;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MARKETING_VERSION = 2.0.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.aoshuang.ManicEmuTV;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = appletvos;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = 3;
+ TVOS_DEPLOYMENT_TARGET = 15.0;
+ };
+ name = SideloadDebug;
+ };
+ 57B591902FD06468003C4235 /* DevRelease */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = UU52N52JLD;
+ ENABLE_DEBUG_DYLIB = NO;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = ManicEmuTV/Resources/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = "Manic EMU";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
+ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
+ INFOPLIST_KEY_UIMainStoryboardFile = "";
+ INFOPLIST_KEY_UIUserInterfaceStyle = Automatic;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MARKETING_VERSION = 2.0.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.aoshuang.ManicEmuTV;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = appletvos;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = 3;
+ TVOS_DEPLOYMENT_TARGET = 15.0;
+ };
+ name = DevRelease;
+ };
57BFBE212DD32F7700AABF98 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 57BFBE4A2DD3322B00AABF98 /* LibretroConfig.xcconfig */;
@@ -9123,6 +9545,19 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
+ 57B591922FD06468003C4235 /* Build configuration list for PBXNativeTarget "ManicEmuTV" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 57B5918B2FD06468003C4235 /* Debug */,
+ 57B5918C2FD06468003C4235 /* DebugSimulator */,
+ 57B5918D2FD06468003C4235 /* Release */,
+ 57B5918E2FD06468003C4235 /* SideloadRelease */,
+ 57B5918F2FD06468003C4235 /* SideloadDebug */,
+ 57B591902FD06468003C4235 /* DevRelease */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
57BFBE202DD32F7700AABF98 /* Build configuration list for PBXNativeTarget "Libretro" */ = {
isa = XCConfigurationList;
buildConfigurations = (
@@ -9248,6 +9683,38 @@
minimumVersion = 7.8.0;
};
};
+ 57B5923A2FD072C3003C4235 /* XCRemoteSwiftPackageReference "SnapKit" */ = {
+ isa = XCRemoteSwiftPackageReference;
+ repositoryURL = "https://github.com/SnapKit/SnapKit.git";
+ requirement = {
+ kind = upToNextMajorVersion;
+ minimumVersion = 6.0.0;
+ };
+ };
+ 57B5923E2FD07394003C4235 /* XCRemoteSwiftPackageReference "SwifterSwift" */ = {
+ isa = XCRemoteSwiftPackageReference;
+ repositoryURL = "https://github.com/SwifterSwift/SwifterSwift.git";
+ requirement = {
+ kind = upToNextMajorVersion;
+ minimumVersion = 8.0.0;
+ };
+ };
+ 57B592552FD07B05003C4235 /* XCRemoteSwiftPackageReference "SFSafeSymbols" */ = {
+ isa = XCRemoteSwiftPackageReference;
+ repositoryURL = "https://github.com/SFSafeSymbols/SFSafeSymbols.git";
+ requirement = {
+ kind = upToNextMajorVersion;
+ minimumVersion = 7.0.0;
+ };
+ };
+ 57B592672FD07CE2003C4235 /* XCRemoteSwiftPackageReference "LookinServer" */ = {
+ isa = XCRemoteSwiftPackageReference;
+ repositoryURL = "https://github.com/QMUI/LookinServer.git";
+ requirement = {
+ kind = upToNextMajorVersion;
+ minimumVersion = 1.2.8;
+ };
+ };
57DA89112D82B0C20074052A /* XCRemoteSwiftPackageReference "SmartCodable" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/intsig171/SmartCodable.git";
@@ -9374,6 +9841,36 @@
package = 576060272D24E8BD00A98B0C /* XCRemoteSwiftPackageReference "R" */;
productName = "plugin:RswiftGenerateInternalResources";
};
+ 57B5923B2FD072C3003C4235 /* SnapKit */ = {
+ isa = XCSwiftPackageProductDependency;
+ package = 57B5923A2FD072C3003C4235 /* XCRemoteSwiftPackageReference "SnapKit" */;
+ productName = SnapKit;
+ };
+ 57B5923F2FD07394003C4235 /* SwifterSwift */ = {
+ isa = XCSwiftPackageProductDependency;
+ package = 57B5923E2FD07394003C4235 /* XCRemoteSwiftPackageReference "SwifterSwift" */;
+ productName = SwifterSwift;
+ };
+ 57B592452FD0799C003C4235 /* RswiftLibrary */ = {
+ isa = XCSwiftPackageProductDependency;
+ package = 576060272D24E8BD00A98B0C /* XCRemoteSwiftPackageReference "R" */;
+ productName = RswiftLibrary;
+ };
+ 57B592482FD07A5E003C4235 /* RswiftGenerateInternalResources */ = {
+ isa = XCSwiftPackageProductDependency;
+ package = 576060272D24E8BD00A98B0C /* XCRemoteSwiftPackageReference "R" */;
+ productName = "plugin:RswiftGenerateInternalResources";
+ };
+ 57B592562FD07B05003C4235 /* SFSafeSymbols */ = {
+ isa = XCSwiftPackageProductDependency;
+ package = 57B592552FD07B05003C4235 /* XCRemoteSwiftPackageReference "SFSafeSymbols" */;
+ productName = SFSafeSymbols;
+ };
+ 57B592682FD07CE2003C4235 /* LookinServer */ = {
+ isa = XCSwiftPackageProductDependency;
+ package = 57B592672FD07CE2003C4235 /* XCRemoteSwiftPackageReference "LookinServer" */;
+ productName = LookinServer;
+ };
57DA89122D82B0C20074052A /* SmartCodable */ = {
isa = XCSwiftPackageProductDependency;
package = 57DA89112D82B0C20074052A /* XCRemoteSwiftPackageReference "SmartCodable" */;
diff --git a/ManicEmu/ManicEmu.xcodeproj/xcshareddata/xcschemes/Libretro.xcscheme b/ManicEmu/ManicEmu.xcodeproj/xcshareddata/xcschemes/Libretro.xcscheme
new file mode 100644
index 00000000..fa899ede
--- /dev/null
+++ b/ManicEmu/ManicEmu.xcodeproj/xcshareddata/xcschemes/Libretro.xcscheme
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "2640"
+ version = "1.7">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES"
+ buildArchitectures = "Automatic">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "57BFBE162DD32F7700AABF98"
+ BuildableName = "Libretro.framework"
+ BlueprintName = "Libretro"
+ ReferencedContainer = "container:ManicEmu.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ shouldAutocreateTestPlan = "YES">
+ </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"
+ queueDebuggingEnableBacktraceRecording = "Yes">
+ </LaunchAction>
+ <ProfileAction
+ buildConfiguration = "Release"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ debugDocumentVersioning = "YES">
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "57BFBE162DD32F7700AABF98"
+ BuildableName = "Libretro.framework"
+ BlueprintName = "Libretro"
+ ReferencedContainer = "container:ManicEmu.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
diff --git a/ManicEmu/ManicEmu.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ManicEmu/ManicEmu.xcworkspace/xcshareddata/swiftpm/Package.resolved
index 62538102..839f8521 100644
--- a/ManicEmu/ManicEmu.xcworkspace/xcshareddata/swiftpm/Package.resolved
+++ b/ManicEmu/ManicEmu.xcworkspace/xcshareddata/swiftpm/Package.resolved
@@ -1,5 +1,5 @@
{
- "originHash" : "c1f726d877955a883bac09030beee84f4d41dd2dd03f72b144b7965f81a6c916",
+ "originHash" : "d9f4bc418f640ed3f154d3fcf77894261b65f1224bd4f9d328a59af2ef1ae6ce",
"pins" : [
{
"identity" : "bluruikit",
@@ -46,6 +46,15 @@
"version" : "1.2.2"
}
},
+ {
+ "identity" : "lookinserver",
+ "kind" : "remoteSourceControl",
+ "location" : "https://github.com/QMUI/LookinServer.git",
+ "state" : {
+ "revision" : "e553d1b689d147817dc54ad5c28fcff71e860101",
+ "version" : "1.2.8"
+ }
+ },
{
"identity" : "msdisplaylink",
"kind" : "remoteSourceControl",
@@ -82,6 +91,15 @@
"version" : "7.8.0"
}
},
+ {
+ "identity" : "sfsafesymbols",
+ "kind" : "remoteSourceControl",
+ "location" : "https://github.com/SFSafeSymbols/SFSafeSymbols.git",
+ "state" : {
+ "revision" : "e01b3d4f861412f8dcee8d93c417d2c2b0cdfd77",
+ "version" : "7.0.0"
+ }
+ },
{
"identity" : "smartcodable",
"kind" : "remoteSourceControl",
@@ -100,6 +118,15 @@
"revision" : "3e93430af1c830bf4ba286f13a63e0ee234740f5"
}
},
+ {
+ "identity" : "snapkit",
+ "kind" : "remoteSourceControl",
+ "location" : "https://github.com/SnapKit/SnapKit.git",
+ "state" : {
+ "revision" : "e27a338a03a5f388de759da63f9baf7988ed9e00",
+ "version" : "6.0.0"
+ }
+ },
{
"identity" : "springinterpolation",
"kind" : "remoteSourceControl",
@@ -127,6 +154,15 @@
"version" : "1.4.4"
}
},
+ {
+ "identity" : "swifterswift",
+ "kind" : "remoteSourceControl",
+ "location" : "https://github.com/SwifterSwift/SwifterSwift.git",
+ "state" : {
+ "revision" : "5d948a15446bddb6c367bc7e7100cfcbaa0e9b57",
+ "version" : "8.0.0"
+ }
+ },
{
"identity" : "swiftsdl2",
"kind" : "remoteSourceControl",
diff --git a/ManicEmu/ManicEmu/Sources/Base/Constants.swift b/ManicEmu/ManicEmu/Sources/Base/Constants.swift
index a6cc12a1..1545a315 100644
--- a/ManicEmu/ManicEmu/Sources/Base/Constants.swift
+++ b/ManicEmu/ManicEmu/Sources/Base/Constants.swift
@@ -9,7 +9,6 @@
import UIKit
import RealmSwift
-import KeychainAccess
import ManicEmuCore
struct Constants {
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/ViewControllers/GamesViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Games/ViewControllers/GamesViewController.swift
index 4656d36f..955c3a09 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/ViewControllers/GamesViewController.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/ViewControllers/GamesViewController.swift
@@ -85,7 +85,10 @@ class GamesViewController: BaseViewController {
return false
}
self.gamesListView.filteredManufacturer = manufacturer
- return (manufacturer == nil ? false : true)
+ if let manufacturer {
+ return true
+ }
+ return false
}
view.didFilterVisibleChange = { [weak self] in
guard let self else { return }
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GamesCollectionReusableView.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GamesCollectionReusableView.swift
index be55cfa9..2d54124e 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GamesCollectionReusableView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GamesCollectionReusableView.swift
@@ -138,8 +138,13 @@ class GamesCollectionReusableView: UICollectionReusableView {
private static var brandImageCaches = [String: UIImage?]()
static func getBrandImage(gameType: GameType) -> UIImage? {
let traitCollection = ApplicationSceneDelegate.applicationWindow?.traitCollection
- let userInterfaceStyle = traitCollection?.userInterfaceStyle
- let key = gameType.rawValue + (userInterfaceStyle == nil ? "" : "\(userInterfaceStyle!.rawValue)")
+ let key = {
+ if let userInterfaceStyle = traitCollection?.userInterfaceStyle {
+ return "\(userInterfaceStyle.rawValue)"
+ } else {
+ return ""
+ }
+ }()
if let image = Self.brandImageCaches[key] {
return image
} else {
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Extensions/UIWindowExtensions.swift b/ManicEmu/ManicEmu/Sources/Tools/Extensions/UIWindowExtensions.swift
index a88ce3c3..fa310e58 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Extensions/UIWindowExtensions.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Extensions/UIWindowExtensions.swift
@@ -8,13 +8,20 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import Foundation
-
+import UIKit
extension UIWindow {
static var applicationWindow: UIWindow? {
+#if os(iOS)
return ApplicationSceneDelegate.applicationWindow
+#elseif os(tvOS)
+ return TVAppSceneDelegate.applicationWindow
+#else
+ return nil
+#endif
}
+#if os(iOS)
func showDropView() {
guard subviews.first(where: { $0 is DropGlowEffectView }) == nil else { return }
let dropView = DropGlowEffectView()
@@ -39,4 +46,5 @@ extension UIWindow {
}
}
}
+#endif
}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/PurchaseManager.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/PurchaseManager.swift
index 07745668..64a55bce 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/PurchaseManager.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/PurchaseManager.swift
@@ -9,7 +9,6 @@
import Foundation
import StoreKit
-import KeychainAccess
import WidgetKit
import SmartCodable
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/ShaderManager.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/ShaderManager.swift
index 8d41720e..fa576cba 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/ShaderManager.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/ShaderManager.swift
@@ -11,7 +11,13 @@ struct ShaderManager {
static func fetchShaders(source: ShadersListView.ShaderSource? = nil, isGlsl: Bool, selectedShader: Shader?, includeOriginal: Bool, shaderConfig: ShaderConfig?, ignoreShaderConfig: Bool, currentCoreName: String?) -> ShadersListData {
var result = ShadersListData()
- let sourceCase = source == nil ? ShadersListView.ShaderSource.allCases : [source!]
+ let sourceCase = {
+ if let source {
+ return [source]
+ } else {
+ return ShadersListView.ShaderSource.allCases
+ }
+ }()
var hasSelectedShader = false
for source in sourceCase {
if source == .imported {
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/AccentColor.colorset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/AccentColor.colorset/Contents.json
new file mode 100644
index 00000000..eb878970
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/AccentColor.colorset/Contents.json
@@ -0,0 +1,11 @@
+{
+ "colors" : [
+ {
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 00000000..2e003356
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,11 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json
new file mode 100644
index 00000000..73c00596
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json
new file mode 100644
index 00000000..de59d885
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json
@@ -0,0 +1,17 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ },
+ "layers" : [
+ {
+ "filename" : "Front.imagestacklayer"
+ },
+ {
+ "filename" : "Middle.imagestacklayer"
+ },
+ {
+ "filename" : "Back.imagestacklayer"
+ }
+ ]
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 00000000..2e003356
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,11 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json
new file mode 100644
index 00000000..73c00596
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 00000000..2e003356
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,11 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json
new file mode 100644
index 00000000..73c00596
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 00000000..795cce17
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,16 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "tv",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json
new file mode 100644
index 00000000..73c00596
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json
new file mode 100644
index 00000000..de59d885
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json
@@ -0,0 +1,17 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ },
+ "layers" : [
+ {
+ "filename" : "Front.imagestacklayer"
+ },
+ {
+ "filename" : "Middle.imagestacklayer"
+ },
+ {
+ "filename" : "Back.imagestacklayer"
+ }
+ ]
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 00000000..795cce17
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,16 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "tv",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json
new file mode 100644
index 00000000..73c00596
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 00000000..795cce17
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,16 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "tv",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json
new file mode 100644
index 00000000..73c00596
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json
new file mode 100644
index 00000000..f47ba43d
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json
@@ -0,0 +1,32 @@
+{
+ "assets" : [
+ {
+ "filename" : "App Icon - App Store.imagestack",
+ "idiom" : "tv",
+ "role" : "primary-app-icon",
+ "size" : "1280x768"
+ },
+ {
+ "filename" : "App Icon.imagestack",
+ "idiom" : "tv",
+ "role" : "primary-app-icon",
+ "size" : "400x240"
+ },
+ {
+ "filename" : "Top Shelf Image Wide.imageset",
+ "idiom" : "tv",
+ "role" : "top-shelf-image-wide",
+ "size" : "2320x720"
+ },
+ {
+ "filename" : "Top Shelf Image.imageset",
+ "idiom" : "tv",
+ "role" : "top-shelf-image",
+ "size" : "1920x720"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json
new file mode 100644
index 00000000..795cce17
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json
@@ -0,0 +1,16 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "tv",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json
new file mode 100644
index 00000000..795cce17
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json
@@ -0,0 +1,16 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "tv",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/Contents.json b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/Contents.json
new file mode 100644
index 00000000..73c00596
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmuTV/Resources/Base.lproj/LaunchScreen.storyboard b/ManicEmu/ManicEmuTV/Resources/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 00000000..660ba53d
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder.AppleTV.Storyboard" version="3.0" toolsVersion="13122.16" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <scenes>
+ <!--View Controller-->
+ <scene sceneID="tne-QT-ifu">
+ <objects>
+ <viewController id="BYZ-38-t0r" sceneMemberID="viewController">
+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
+ <rect key="frame" x="0.0" y="0.0" width="1920" height="1080"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
+ <viewLayoutGuide key="safeArea" id="wu6-TO-1qx"/>
+ </view>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+ </objects>
+ </scene>
+ </scenes>
+</document>
diff --git a/ManicEmu/ManicEmuTV/Resources/Info.plist b/ManicEmu/ManicEmuTV/Resources/Info.plist
new file mode 100644
index 00000000..d1b3441d
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Resources/Info.plist
@@ -0,0 +1,23 @@
+<?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>UIApplicationSceneManifest</key>
+ <dict>
+ <key>UIApplicationSupportsMultipleScenes</key>
+ <false/>
+ <key>UISceneConfigurations</key>
+ <dict>
+ <key>UIWindowSceneSessionRoleApplication</key>
+ <array>
+ <dict>
+ <key>UISceneConfigurationName</key>
+ <string>Default Configuration</string>
+ <key>UISceneDelegateClassName</key>
+ <string>$(PRODUCT_MODULE_NAME).TVAppSceneDelegate</string>
+ </dict>
+ </array>
+ </dict>
+ </dict>
+</dict>
+</plist>
diff --git a/ManicEmu/ManicEmuTV/Sources/Base/TVAppDelegate.swift b/ManicEmu/ManicEmuTV/Sources/Base/TVAppDelegate.swift
new file mode 100644
index 00000000..5f1f842e
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Sources/Base/TVAppDelegate.swift
@@ -0,0 +1,37 @@
+//
+// TVAppDelegate.swift
+// ManicEmuTV
+//
+// Created by Daiuno on 2026/6/3.
+// Copyright © 2026 Manic EMU. All rights reserved.
+//
+
+import UIKit
+
+@main
+class TVAppDelegate: UIResponder, UIApplicationDelegate {
+
+
+
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+ // Override point for customization after application launch.
+ return true
+ }
+
+ // MARK: UISceneSession Lifecycle
+
+ func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
+ // Called when a new scene session is being created.
+ // Use this method to select a configuration to create the new scene with.
+ return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
+ }
+
+ func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
+ // Called when the user discards a scene session.
+ // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
+ // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
+ }
+
+
+}
+
diff --git a/ManicEmu/ManicEmuTV/Sources/Base/TVAppSceneDelegate.swift b/ManicEmu/ManicEmuTV/Sources/Base/TVAppSceneDelegate.swift
new file mode 100644
index 00000000..9eb4efb0
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Sources/Base/TVAppSceneDelegate.swift
@@ -0,0 +1,58 @@
+//
+// TVAppSceneDelegate.swift
+// ManicEmuTV
+//
+// Created by Daiuno on 2026/6/3.
+// Copyright © 2026 Manic EMU. All rights reserved.
+//
+
+import UIKit
+
+class TVAppSceneDelegate: UIResponder, UIWindowSceneDelegate {
+ static weak var applicationScene: UIWindowScene?
+ static weak var applicationWindow: UIWindow?
+ var window: UIWindow?
+
+
+ func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
+ if let windowScene = scene as? UIWindowScene {
+ TVAppSceneDelegate.applicationScene = windowScene
+ window = UIWindow(windowScene: windowScene)
+ TVAppSceneDelegate.applicationWindow = window
+// window?.tintColor = Constants.Color.Main
+ window?.rootViewController = HomeViewController()
+ window?.makeKeyAndVisible()
+ }
+ }
+
+ func sceneDidDisconnect(_ scene: UIScene) {
+ // Called as the scene is being released by the system.
+ // This occurs shortly after the scene enters the background, or when its session is discarded.
+ // Release any resources associated with this scene that can be re-created the next time the scene connects.
+ // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
+ }
+
+ func sceneDidBecomeActive(_ scene: UIScene) {
+ // Called when the scene has moved from an inactive state to an active state.
+ // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
+ }
+
+ func sceneWillResignActive(_ scene: UIScene) {
+ // Called when the scene will move from an active state to an inactive state.
+ // This may occur due to temporary interruptions (ex. an incoming phone call).
+ }
+
+ func sceneWillEnterForeground(_ scene: UIScene) {
+ // Called as the scene transitions from the background to the foreground.
+ // Use this method to undo the changes made on entering the background.
+ }
+
+ func sceneDidEnterBackground(_ scene: UIScene) {
+ // Called as the scene transitions from the foreground to the background.
+ // Use this method to save data, release shared resources, and store enough scene-specific state information
+ // to restore the scene back to its current state.
+ }
+
+
+}
+
diff --git a/ManicEmu/ManicEmuTV/Sources/Business/Home/ViewControllers/HomeViewController.swift b/ManicEmu/ManicEmuTV/Sources/Business/Home/ViewControllers/HomeViewController.swift
new file mode 100644
index 00000000..177dff6a
--- /dev/null
+++ b/ManicEmu/ManicEmuTV/Sources/Business/Home/ViewControllers/HomeViewController.swift
@@ -0,0 +1,29 @@
+//
+// HomeViewController.swift
+// ManicEmuTV
+//
+// Created by Daiuno on 2026/6/3.
+// Copyright © 2026 Manic EMU. All rights reserved.
+//
+
+import UIKit
+
+class HomeViewController: UIViewController {
+
+ override func viewDidLoad() {
+ super.viewDidLoad()
+ view.backgroundColor = .blue
+ }
+
+
+ /*
+ // MARK: - Navigation
+
+ // In a storyboard-based application, you will often want to do a little preparation before navigation
+ override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
+ // Get the new view controller using segue.destination.
+ // Pass the selected object to the new view controller.
+ }
+ */
+
+}
diff --git a/ManicEmu/Podfile b/ManicEmu/Podfile
index 001dbedd..c89de1f2 100644
--- a/ManicEmu/Podfile
+++ b/ManicEmu/Podfile
@@ -31,7 +31,6 @@ target 'ManicEmu' do
pod 'LookinServer', :subspecs => ['Swift'], :configurations => ['Debug', 'DevRelease', 'DebugSimulator']
pod 'FLEX', :configurations => ['Debug', 'DevRelease', 'DebugSimulator']
pod 'ShowTouches', :configurations => ['Debug', 'DevRelease', 'DebugSimulator']
- pod 'KeychainAccess', '~> 4.2'
pod 'Permission/Photos', '~> 3.1.2'
pod 'Permission/Camera', '~> 3.1.2'
pod 'Permission/Microphone', '~> 3.1.2'
@@ -40,7 +39,7 @@ target 'ManicEmu' do
pod 'VisualEffectView', '~> 5.0'
pod 'FluentDarkModeKit', '~> 1.0.4'
pod "Device", :git => 'https://github.com/Daiuno/Device.git', :branch => 'master'
- pod 'SFSafeSymbols', '~> 5.0'
+ pod 'SFSafeSymbols', '~> 7.0'
pod "Haptica", '~> 3.0'
pod 'IQKeyboardManagerSwift', '~> 8.0'
pod 'Tiercel', '~> 3.0'