diff --git a/pkg/apple/HelperBar/HelperBarViewController.swift b/pkg/apple/HelperBar/HelperBarViewController.swift
index 060438cdeb..ab3d86a985 100644
--- a/pkg/apple/HelperBar/HelperBarViewController.swift
+++ b/pkg/apple/HelperBar/HelperBarViewController.swift
@@ -15,12 +15,15 @@ class HelperBarViewController: UIViewController {
imageView.tintColor = .white
imageView.translatesAutoresizingMaskIntoConstraints = false
imageView.alpha = 0
+ imageView.isUserInteractionEnabled = true
return imageView
}()
private let navigationBar: UINavigationBar = {
let navBar = UINavigationBar()
navBar.barTintColor = .black
+ navBar.isTranslucent = true
+ navBar.alpha = 0.7
navBar.tintColor = .white
navBar.isHidden = true
return navBar
@@ -61,6 +64,8 @@ class HelperBarViewController: UIViewController {
tap.delegate = self
view.addGestureRecognizer(tap)
view.isUserInteractionEnabled = true
+ let indicatorTap = UITapGestureRecognizer(target: self, action: #selector(didTapIndicator(_:)))
+ indicatorImageView.addGestureRecognizer(indicatorTap)
navigationBar.delegate = self
}
@@ -90,7 +95,7 @@ class HelperBarViewController: UIViewController {
}
private func showIndicatorAndFadeAway() {
- UIView.animateKeyframes(withDuration: 7.0, delay: 0) {
+ UIView.animateKeyframes(withDuration: 4.0, delay: 0) {
UIView.addKeyframe(withRelativeStartTime: 0, relativeDuration: 1/7) { [weak self] in
self?.indicatorImageView.alpha = 1.0
}
@@ -101,8 +106,28 @@ class HelperBarViewController: UIViewController {
}
}
- @objc func didTap(_ sender: UIGestureRecognizer) {
+ var tappedIndicator = false
+
+ @objc func didTap(_ sender: UITapGestureRecognizer) {
+ let point = sender.location(in: view)
+ guard point.y <= 60 else { return } // detect top portion of view only
+ if point.x <= 60 {
+ indicatorImageView.layer.removeAllAnimations()
+ indicatorImageView.alpha = 1.0
+ tappedIndicator = false
+ DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) { [weak self] in
+ if !(self?.tappedIndicator ?? false) {
+ self?.showIndicatorAndFadeAway()
+ }
+ }
+ }
+ }
+
+ @objc func didTapIndicator(_ sender: UITapGestureRecognizer) {
viewModel.didInteractWithBar = true
+ indicatorImageView.layer.removeAllAnimations()
+ indicatorImageView.alpha = 0
+ tappedIndicator = true
}
}
diff --git a/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/AccentColor.colorset/Contents.json b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/AccentColor.colorset/Contents.json
new file mode 100644
index 0000000000..eb87897008
--- /dev/null
+++ b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/AccentColor.colorset/Contents.json
@@ -0,0 +1,11 @@
+{
+ "colors" : [
+ {
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/AppIcon.appiconset/Contents.json b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000000..13613e3ee1
--- /dev/null
+++ b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,13 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "platform" : "ios",
+ "size" : "1024x1024"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/Contents.json b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/Contents.json
new file mode 100644
index 0000000000..73c00596a7
--- /dev/null
+++ b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/WidgetBackground.colorset/Contents.json b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/WidgetBackground.colorset/Contents.json
new file mode 100644
index 0000000000..eb87897008
--- /dev/null
+++ b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/WidgetBackground.colorset/Contents.json
@@ -0,0 +1,11 @@
+{
+ "colors" : [
+ {
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/logo.imageset/Contents.json b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/logo.imageset/Contents.json
new file mode 100644
index 0000000000..aae68a599f
--- /dev/null
+++ b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/logo.imageset/Contents.json
@@ -0,0 +1,21 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "logo.png",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/logo.imageset/logo.png b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/logo.imageset/logo.png
new file mode 100644
index 0000000000..f6676d561c
Binary files /dev/null and b/pkg/apple/RetroArchWidgetExtension/Assets.xcassets/logo.imageset/logo.png differ
diff --git a/pkg/apple/RetroArchWidgetExtension/Info.plist b/pkg/apple/RetroArchWidgetExtension/Info.plist
new file mode 100644
index 0000000000..0f118fb75e
--- /dev/null
+++ b/pkg/apple/RetroArchWidgetExtension/Info.plist
@@ -0,0 +1,11 @@
+
+
+
+
+ NSExtension
+
+ NSExtensionPointIdentifier
+ com.apple.widgetkit-extension
+
+
+
diff --git a/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.intentdefinition b/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.intentdefinition
new file mode 100644
index 0000000000..bdb404554a
--- /dev/null
+++ b/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.intentdefinition
@@ -0,0 +1,59 @@
+
+
+
+
+ INEnums
+
+ INIntentDefinitionModelVersion
+ 1.2
+ INIntentDefinitionNamespace
+ 88xZPY
+ INIntentDefinitionSystemVersion
+ 20A294
+ INIntentDefinitionToolsBuildVersion
+ 12A6144
+ INIntentDefinitionToolsVersion
+ 12.0
+ INIntents
+
+
+ INIntentCategory
+ information
+ INIntentDescriptionID
+ tVvJ9c
+ INIntentEligibleForWidgets
+
+ INIntentIneligibleForSuggestions
+
+ INIntentName
+ Configuration
+ INIntentResponse
+
+ INIntentResponseCodes
+
+
+ INIntentResponseCodeName
+ success
+ INIntentResponseCodeSuccess
+
+
+
+ INIntentResponseCodeName
+ failure
+
+
+
+ INIntentTitle
+ Configuration
+ INIntentTitleID
+ gpCwrM
+ INIntentType
+ Custom
+ INIntentVerb
+ View
+
+
+ INTypes
+
+
+
diff --git a/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.swift b/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.swift
new file mode 100644
index 0000000000..09bd53e9a8
--- /dev/null
+++ b/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.swift
@@ -0,0 +1,66 @@
+//
+// RetroArchWidgetExtension.swift
+// RetroArchWidgetExtension
+//
+// Created by Yoshi Sugawara on 10/10/22.
+// Copyright © 2022 RetroArch. All rights reserved.
+//
+
+import WidgetKit
+import SwiftUI
+import Intents
+
+struct DummyProvider: TimelineProvider {
+ func getSnapshot(in context: Context, completion: @escaping (DummyEntry) -> Void) {
+ completion(DummyEntry())
+ }
+
+ func getTimeline(in context: Context, completion: @escaping (Timeline) -> Void) {
+ completion(Timeline(entries: [DummyEntry()], policy: .never))
+ }
+
+ func placeholder(in context: Context) -> DummyEntry {
+ DummyEntry()
+ }
+}
+
+struct DummyEntry: TimelineEntry {
+ let date = Date()
+}
+
+struct SimpleEntry: TimelineEntry {
+ let date: Date
+}
+
+struct RetroArchImageView : View {
+ var body: some View {
+ ZStack {
+ AccessoryWidgetBackground()
+ Image("logo")
+ }
+ }
+}
+
+@main
+struct RetroArchWidgetExtension: Widget {
+ let kind: String = "RetroArchWidgetExtension"
+
+ var body: some WidgetConfiguration {
+ if #available(iOSApplicationExtension 16.0, *) {
+ return StaticConfiguration(kind: kind, provider: DummyProvider()) { _ in
+ RetroArchImageView()
+ }
+ .configurationDisplayName("Icon")
+ .description("Launch RetroArch.")
+ .supportedFamilies([.accessoryCircular])
+ } else {
+ return EmptyWidgetConfiguration()
+ }
+ }
+}
+
+struct RetroArchWidgetExtension_Previews: PreviewProvider {
+ static var previews: some View {
+ RetroArchImageView() .previewContext(WidgetPreviewContext(family: .accessoryCircular))
+ }
+}
diff --git a/pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj b/pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj
index 75328ff1f7..4fc83f50e5 100644
--- a/pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj
+++ b/pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj
@@ -57,6 +57,13 @@
928F7B2727D196D100377C40 /* EmulatorKeyCoded.swift in Sources */ = {isa = PBXBuildFile; fileRef = 928F7B2627D196D100377C40 /* EmulatorKeyCoded.swift */; };
928F7B2927D197B400377C40 /* EmulatorKeyboardViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 928F7B2827D197B400377C40 /* EmulatorKeyboardViewModel.swift */; };
928F7B2B27D198C000377C40 /* EmulatorKeyboardViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 928F7B2A27D198C000377C40 /* EmulatorKeyboardViewController.swift */; };
+ 9292D6E328F549D000E47A75 /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9292D6E228F549D000E47A75 /* WidgetKit.framework */; };
+ 9292D6E528F549D000E47A75 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9292D6E428F549D000E47A75 /* SwiftUI.framework */; };
+ 9292D6E828F549D100E47A75 /* RetroArchWidgetExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9292D6E728F549D100E47A75 /* RetroArchWidgetExtension.swift */; };
+ 9292D6EB28F549D200E47A75 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9292D6EA28F549D200E47A75 /* Assets.xcassets */; };
+ 9292D6ED28F549D200E47A75 /* RetroArchWidgetExtension.intentdefinition in Sources */ = {isa = PBXBuildFile; fileRef = 9292D6E928F549D100E47A75 /* RetroArchWidgetExtension.intentdefinition */; };
+ 9292D6EE28F549D200E47A75 /* RetroArchWidgetExtension.intentdefinition in Sources */ = {isa = PBXBuildFile; fileRef = 9292D6E928F549D100E47A75 /* RetroArchWidgetExtension.intentdefinition */; };
+ 9292D6F128F549D200E47A75 /* RetroArchWidgetExtensionExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 9292D6E128F549D000E47A75 /* RetroArchWidgetExtensionExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
929784502200EEE400989A60 /* iOS/Resources/Media.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 69D31DE31A547EC800EF4C92 /* iOS/Resources/Media.xcassets */; };
92A1F81827006CAE00DEAD2A /* JITSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 92A1F81727006CAE00DEAD2A /* JITSupport.m */; };
92CC05A221FE3C1700FF79F0 /* GCDWebServerResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 92CC058221FE3C1700FF79F0 /* GCDWebServerResponse.m */; };
@@ -97,6 +104,30 @@
92E5DCD4231A5786006491BF /* modules in Resources */ = {isa = PBXBuildFile; fileRef = 92E5DCD3231A5786006491BF /* modules */; };
/* End PBXBuildFile section */
+/* Begin PBXContainerItemProxy section */
+ 9292D6EF28F549D200E47A75 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 96AFAE1C16C1D4EA009DE44C /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 9292D6E028F549D000E47A75;
+ remoteInfo = RetroArchWidgetExtensionExtension;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9292D6F528F549D500E47A75 /* Embed Foundation Extensions */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 13;
+ files = (
+ 9292D6F128F549D200E47A75 /* RetroArchWidgetExtensionExtension.appex in Embed Foundation Extensions */,
+ );
+ name = "Embed Foundation Extensions";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
/* Begin PBXFileReference section */
501232C9192E5FC40063A359 /* griffin.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = griffin.c; path = ../../griffin/griffin.c; sourceTree = SOURCE_ROOT; };
501881EB184BAD6D006F665D /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
@@ -138,6 +169,13 @@
928F7B2627D196D100377C40 /* EmulatorKeyCoded.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmulatorKeyCoded.swift; sourceTree = ""; };
928F7B2827D197B400377C40 /* EmulatorKeyboardViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmulatorKeyboardViewModel.swift; sourceTree = ""; };
928F7B2A27D198C000377C40 /* EmulatorKeyboardViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmulatorKeyboardViewController.swift; sourceTree = ""; };
+ 9292D6E128F549D000E47A75 /* RetroArchWidgetExtensionExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = RetroArchWidgetExtensionExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
+ 9292D6E228F549D000E47A75 /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; };
+ 9292D6E428F549D000E47A75 /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; };
+ 9292D6E728F549D100E47A75 /* RetroArchWidgetExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RetroArchWidgetExtension.swift; sourceTree = ""; };
+ 9292D6E928F549D100E47A75 /* RetroArchWidgetExtension.intentdefinition */ = {isa = PBXFileReference; lastKnownFileType = file.intentdefinition; path = RetroArchWidgetExtension.intentdefinition; sourceTree = ""; };
+ 9292D6EA28F549D200E47A75 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 9292D6EC28F549D200E47A75 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
92A1F81727006CAE00DEAD2A /* JITSupport.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JITSupport.m; sourceTree = ""; };
92A1F81927006CCB00DEAD2A /* JITSupport.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JITSupport.h; sourceTree = ""; };
92B9EB5724E0518700E6CFB2 /* base64.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = base64.h; sourceTree = ""; };
@@ -411,6 +449,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 9292D6DE28F549D000E47A75 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 9292D6E528F549D000E47A75 /* SwiftUI.framework in Frameworks */,
+ 9292D6E328F549D000E47A75 /* WidgetKit.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
@@ -468,6 +515,17 @@
path = OnScreenKeyboard;
sourceTree = "";
};
+ 9292D6E628F549D100E47A75 /* RetroArchWidgetExtension */ = {
+ isa = PBXGroup;
+ children = (
+ 9292D6E728F549D100E47A75 /* RetroArchWidgetExtension.swift */,
+ 9292D6E928F549D100E47A75 /* RetroArchWidgetExtension.intentdefinition */,
+ 9292D6EA28F549D200E47A75 /* Assets.xcassets */,
+ 9292D6EC28F549D200E47A75 /* Info.plist */,
+ );
+ path = RetroArchWidgetExtension;
+ sourceTree = "";
+ };
92B9EAE024E04F8800E6CFB2 /* Sources */ = {
isa = PBXGroup;
children = (
@@ -1049,6 +1107,7 @@
83D632D719ECFCC4009E3161 /* iOS */,
926C77D821FD1E6500103EDE /* tvOS */,
92CC05CC21FF782C00FF79F0 /* WebServer */,
+ 9292D6E628F549D100E47A75 /* RetroArchWidgetExtension */,
96AFAE2816C1D4EA009DE44C /* Frameworks */,
96AFAE2616C1D4EA009DE44C /* Products */,
96AFAE3416C1D4EA009DE44C /* Supporting Files */,
@@ -1062,6 +1121,7 @@
children = (
9204BE2B1D319EF300BD49DB /* RetroArch.app */,
926C77D721FD1E6500103EDE /* RetroArchTV.app */,
+ 9292D6E128F549D000E47A75 /* RetroArchWidgetExtensionExtension.appex */,
);
name = Products;
sourceTree = "";
@@ -1091,6 +1151,8 @@
96AFAE2D16C1D4EA009DE44C /* CoreGraphics.framework */,
96AFAE2F16C1D4EA009DE44C /* GLKit.framework */,
96AFAE3116C1D4EA009DE44C /* OpenGLES.framework */,
+ 9292D6E228F549D000E47A75 /* WidgetKit.framework */,
+ 9292D6E428F549D000E47A75 /* SwiftUI.framework */,
);
name = Frameworks;
sourceTree = "";
@@ -1134,10 +1196,12 @@
9204BE111D319EF300BD49DB /* Frameworks */,
9204BE271D319EF300BD49DB /* ShellScript */,
9204BE211D319EF300BD49DB /* Resources */,
+ 9292D6F528F549D500E47A75 /* Embed Foundation Extensions */,
);
buildRules = (
);
dependencies = (
+ 9292D6F028F549D200E47A75 /* PBXTargetDependency */,
);
name = RetroArchiOS;
productName = RetroArch;
@@ -1162,12 +1226,30 @@
productReference = 926C77D721FD1E6500103EDE /* RetroArchTV.app */;
productType = "com.apple.product-type.application";
};
+ 9292D6E028F549D000E47A75 /* RetroArchWidgetExtensionExtension */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 9292D6F228F549D500E47A75 /* Build configuration list for PBXNativeTarget "RetroArchWidgetExtensionExtension" */;
+ buildPhases = (
+ 9292D6DD28F549D000E47A75 /* Sources */,
+ 9292D6DE28F549D000E47A75 /* Frameworks */,
+ 9292D6DF28F549D000E47A75 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = RetroArchWidgetExtensionExtension;
+ productName = RetroArchWidgetExtensionExtension;
+ productReference = 9292D6E128F549D000E47A75 /* RetroArchWidgetExtensionExtension.appex */;
+ productType = "com.apple.product-type.app-extension";
+ };
/* End PBXNativeTarget section */
/* Begin PBXProject section */
96AFAE1C16C1D4EA009DE44C /* Project object */ = {
isa = PBXProject;
attributes = {
+ LastSwiftUpdateCheck = 1400;
LastUpgradeCheck = 0450;
ORGANIZATIONNAME = RetroArch;
TargetAttributes = {
@@ -1181,6 +1263,11 @@
DevelopmentTeam = UK699V5ZS8;
ProvisioningStyle = Automatic;
};
+ 9292D6E028F549D000E47A75 = {
+ CreatedOnToolsVersion = 14.0;
+ DevelopmentTeam = UK699V5ZS8;
+ ProvisioningStyle = Automatic;
+ };
};
};
buildConfigurationList = 96AFAE1F16C1D4EA009DE44C /* Build configuration list for PBXProject "RetroArch_iOS13" */;
@@ -1199,6 +1286,7 @@
targets = (
9204BE091D319EF300BD49DB /* RetroArchiOS */,
926C77D621FD1E6500103EDE /* RetroArchTV */,
+ 9292D6E028F549D000E47A75 /* RetroArchWidgetExtensionExtension */,
);
};
/* End PBXProject section */
@@ -1229,6 +1317,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 9292D6DF28F549D000E47A75 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 9292D6EB28F549D200E47A75 /* Assets.xcassets in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
@@ -1282,6 +1378,7 @@
92CC05AC21FE3C1700FF79F0 /* GCDWebServerErrorResponse.m in Sources */,
92CC05A621FE3C1700FF79F0 /* GCDWebServerFunctions.m in Sources */,
9210C2F824B3A32D00E6FE7C /* griffin_glslang.cpp in Sources */,
+ 9292D6EE28F549D200E47A75 /* RetroArchWidgetExtension.intentdefinition in Sources */,
92CC05A821FE3C1700FF79F0 /* GCDWebServer.m in Sources */,
9204BE0D1D319EF300BD49DB /* griffin_objc.m in Sources */,
9204BE101D319EF300BD49DB /* griffin.c in Sources */,
@@ -1335,8 +1432,25 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 9292D6DD28F549D000E47A75 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 9292D6E828F549D100E47A75 /* RetroArchWidgetExtension.swift in Sources */,
+ 9292D6ED28F549D200E47A75 /* RetroArchWidgetExtension.intentdefinition in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
/* End PBXSourcesBuildPhase section */
+/* Begin PBXTargetDependency section */
+ 9292D6F028F549D200E47A75 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 9292D6E028F549D000E47A75 /* RetroArchWidgetExtensionExtension */;
+ targetProxy = 9292D6EF28F549D200E47A75 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
/* Begin PBXVariantGroup section */
967894611788EBD800D6CA69 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
@@ -1352,6 +1466,7 @@
9204BE291D319EF300BD49DB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ARCHS = "$(ARCHS_STANDARD)";
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
@@ -1481,6 +1596,7 @@
9204BE2A1D319EF300BD49DB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ARCHS = "$(ARCHS_STANDARD)";
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
@@ -1954,6 +2070,136 @@
};
name = Release;
};
+ 9292D6F328F549D500E47A75 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CLANG_ENABLE_MODULES = 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_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;
+ CODE_SIGN_IDENTITY = "iPhone Developer";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = UK699V5ZS8;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = 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;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = RetroArchWidgetExtension/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = RetroArchWidgetExtension;
+ INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 RetroArch. All rights reserved.";
+ IPHONEOS_DEPLOYMENT_TARGET = 16.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
+ MARKETING_VERSION = 1.0;
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ PRODUCT_BUNDLE_IDENTIFIER = com.libretro.RetroArchiOS11.RetroArchWidgetExtension;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SKIP_INSTALL = YES;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 9292D6F428F549D500E47A75 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CLANG_ENABLE_MODULES = 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_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;
+ CODE_SIGN_IDENTITY = "Apple Development";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ DEVELOPMENT_TEAM = UK699V5ZS8;
+ 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;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = RetroArchWidgetExtension/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = RetroArchWidgetExtension;
+ INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 RetroArch. All rights reserved.";
+ IPHONEOS_DEPLOYMENT_TARGET = 16.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
+ MARKETING_VERSION = 1.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_FAST_MATH = YES;
+ PRODUCT_BUNDLE_IDENTIFIER = com.libretro.RetroArchiOS11.RetroArchWidgetExtension;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SKIP_INSTALL = YES;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Release;
+ };
96AFAE5216C1D4EA009DE44C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -2136,6 +2382,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
+ 9292D6F228F549D500E47A75 /* Build configuration list for PBXNativeTarget "RetroArchWidgetExtensionExtension" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 9292D6F328F549D500E47A75 /* Debug */,
+ 9292D6F428F549D500E47A75 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
96AFAE1F16C1D4EA009DE44C /* Build configuration list for PBXProject "RetroArch_iOS13" */ = {
isa = XCConfigurationList;
buildConfigurations = (