Skip to content

Commit

Permalink
Add support for xrOS
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Feb 3, 2024
1 parent 74e7ce6 commit 5e2916d
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 2 deletions.
158 changes: 157 additions & 1 deletion AsyncImageView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -65,6 +65,29 @@
57BD68D21C0261880077A391 /* Caching.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57BD68CF1C0261880077A391 /* Caching.swift */; };
57BD68D31C0261880077A391 /* Caching.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57BD68CF1C0261880077A391 /* Caching.swift */; };
57BD68E31C0268930077A391 /* AsyncImageView.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57BD68351C02598F0077A391 /* AsyncImageView.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
57C885572A47778800FC133C /* AsyncImageView.h in Headers */ = {isa = PBXBuildFile; fileRef = 57BD68381C02598F0077A391 /* AsyncImageView.h */; settings = {ATTRIBUTES = (Public, ); }; };
57C885592A47778800FC133C /* LocalImageRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 570994041C0903BF0010B340 /* LocalImageRenderer.swift */; };
57C8855A2A47778800FC133C /* SimpleImageProcessingRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 786FF8BF1DA20260005BB73E /* SimpleImageProcessingRenderer.swift */; };
57C8855B2A47778800FC133C /* RemoteImageRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FC1B001C0293CE00FAD2F3 /* RemoteImageRenderer.swift */; };
57C8855C2A47778800FC133C /* AsyncImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57BD68CB1C02614B0077A391 /* AsyncImageView.swift */; };
57C8855D2A47778800FC133C /* ErrorIgnoringRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57645A731C0AAA1F00EEDCF8 /* ErrorIgnoringRenderer.swift */; };
57C8855E2A47778800FC133C /* Caching.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57BD68CF1C0261880077A391 /* Caching.swift */; };
57C8855F2A47778800FC133C /* ImageInflaterRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FC1AFF1C0293CE00FAD2F3 /* ImageInflaterRenderer.swift */; };
57C885602A47778800FC133C /* EmptyRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 571FE6A91C0A6A1000E566D2 /* EmptyRenderer.swift */; };
57C885612A47778800FC133C /* SynchronousUIScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E56F23288CA04000A4381B /* SynchronousUIScheduler.swift */; };
57C885622A47778800FC133C /* ContextRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5709940D1C0912D30010B340 /* ContextRenderer.swift */; };
57C885632A47778800FC133C /* ViewRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5715712E1E60C8D000D0FB1E /* ViewRenderer.swift */; };
57C885642A47778800FC133C /* FallbackRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FC1AFE1C0293CE00FAD2F3 /* FallbackRenderer.swift */; };
57C885652A47778800FC133C /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57F5C59A1C052A6000753642 /* Extensions.swift */; };
57C885662A47778800FC133C /* CacheRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FC1B0C1C0294D400FAD2F3 /* CacheRenderer.swift */; };
57C885672A47778800FC133C /* AsyncImageLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5119EE53245CDD6A003CBEB5 /* AsyncImageLoader.swift */; };
57C885682A47778800FC133C /* RemoteOrLocalImageRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 571B6A111E57928000AB82B4 /* RemoteOrLocalImageRenderer.swift */; };
57C885692A47778800FC133C /* AnyRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FC1AFD1C0293CE00FAD2F3 /* AnyRenderer.swift */; };
57C8856A2A47778800FC133C /* ImageProcessingRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 570994091C090E050010B340 /* ImageProcessingRenderer.swift */; };
57C8856B2A47778800FC133C /* AsyncSwiftUIImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5119EE50245CDBB7003CBEB5 /* AsyncSwiftUIImageView.swift */; };
57C8856C2A47778800FC133C /* MulticastedRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 570993FD1C08F7C70010B340 /* MulticastedRenderer.swift */; };
57C8856D2A47778800FC133C /* Renderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FC1B011C0293CE00FAD2F3 /* Renderer.swift */; };
57C8856F2A47778800FC133C /* ReactiveSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5720ABE726611E18009B2F19 /* ReactiveSwift.xcframework */; };
57E56F24288CA04000A4381B /* SynchronousUIScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E56F23288CA04000A4381B /* SynchronousUIScheduler.swift */; };
57E56F25288CA04000A4381B /* SynchronousUIScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E56F23288CA04000A4381B /* SynchronousUIScheduler.swift */; };
57E56F26288CA04000A4381B /* SynchronousUIScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E56F23288CA04000A4381B /* SynchronousUIScheduler.swift */; };
Expand Down Expand Up @@ -159,6 +182,7 @@
57BD68C51C02607F0077A391 /* tvOS-StaticLibrary.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "tvOS-StaticLibrary.xcconfig"; sourceTree = "<group>"; };
57BD68CB1C02614B0077A391 /* AsyncImageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AsyncImageView.swift; sourceTree = "<group>"; };
57BD68CF1C0261880077A391 /* Caching.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Caching.swift; sourceTree = "<group>"; };
57C885742A47778800FC133C /* AsyncImageView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AsyncImageView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
57E56F23288CA04000A4381B /* SynchronousUIScheduler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SynchronousUIScheduler.swift; sourceTree = "<group>"; };
57F5C5901C051ABB00753642 /* CachingSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CachingSpec.swift; sourceTree = "<group>"; };
57F5C59A1C052A6000753642 /* Extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -207,6 +231,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
57C8856E2A47778800FC133C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
57C8856F2A47778800FC133C /* ReactiveSwift.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand Down Expand Up @@ -249,6 +281,7 @@
57BD683F1C02598F0077A391 /* AsyncImageViewTests.xctest */,
57BD687D1C025DFD0077A391 /* AsyncImageView.framework */,
5711069028874C32006479D7 /* AsyncImageView.framework */,
57C885742A47778800FC133C /* AsyncImageView.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -405,6 +438,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
57C885562A47778800FC133C /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
57C885572A47778800FC133C /* AsyncImageView.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -481,6 +522,24 @@
productReference = 57BD687D1C025DFD0077A391 /* AsyncImageView.framework */;
productType = "com.apple.product-type.framework";
};
57C885552A47778800FC133C /* AsyncImageView-xrOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 57C885712A47778800FC133C /* Build configuration list for PBXNativeTarget "AsyncImageView-xrOS" */;
buildPhases = (
57C885562A47778800FC133C /* Headers */,
57C885582A47778800FC133C /* Sources */,
57C8856E2A47778800FC133C /* Frameworks */,
57C885702A47778800FC133C /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "AsyncImageView-xrOS";
productName = AsyncImageView;
productReference = 57C885742A47778800FC133C /* AsyncImageView.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand Down Expand Up @@ -517,6 +576,7 @@
57BD68341C02598F0077A391 /* AsyncImageView-iOS */,
57BD68741C025DFD0077A391 /* AsyncImageView-tvOS */,
5711067228874C32006479D7 /* AsyncImageView-watchOS */,
57C885552A47778800FC133C /* AsyncImageView-xrOS */,
57BD683E1C02598F0077A391 /* AsyncImageViewTests */,
);
};
Expand Down Expand Up @@ -551,6 +611,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
57C885702A47778800FC133C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -651,6 +718,34 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
57C885582A47778800FC133C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
57C885592A47778800FC133C /* LocalImageRenderer.swift in Sources */,
57C8855A2A47778800FC133C /* SimpleImageProcessingRenderer.swift in Sources */,
57C8855B2A47778800FC133C /* RemoteImageRenderer.swift in Sources */,
57C8855C2A47778800FC133C /* AsyncImageView.swift in Sources */,
57C8855D2A47778800FC133C /* ErrorIgnoringRenderer.swift in Sources */,
57C8855E2A47778800FC133C /* Caching.swift in Sources */,
57C8855F2A47778800FC133C /* ImageInflaterRenderer.swift in Sources */,
57C885602A47778800FC133C /* EmptyRenderer.swift in Sources */,
57C885612A47778800FC133C /* SynchronousUIScheduler.swift in Sources */,
57C885622A47778800FC133C /* ContextRenderer.swift in Sources */,
57C885632A47778800FC133C /* ViewRenderer.swift in Sources */,
57C885642A47778800FC133C /* FallbackRenderer.swift in Sources */,
57C885652A47778800FC133C /* Extensions.swift in Sources */,
57C885662A47778800FC133C /* CacheRenderer.swift in Sources */,
57C885672A47778800FC133C /* AsyncImageLoader.swift in Sources */,
57C885682A47778800FC133C /* RemoteOrLocalImageRenderer.swift in Sources */,
57C885692A47778800FC133C /* AnyRenderer.swift in Sources */,
57C8856A2A47778800FC133C /* ImageProcessingRenderer.swift in Sources */,
57C8856B2A47778800FC133C /* AsyncSwiftUIImageView.swift in Sources */,
57C8856C2A47778800FC133C /* MulticastedRenderer.swift in Sources */,
57C8856D2A47778800FC133C /* Renderer.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand Down Expand Up @@ -935,6 +1030,58 @@
};
name = Release;
};
57C885722A47778800FC133C /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 57BD68B81C02607F0077A391 /* iOS-Framework.xcconfig */;
buildSettings = {
ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = AsyncImageView/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.nachosoto.AsyncImageView;
SDKROOT = xros;
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "xrsimulator xros";
TARGETED_DEVICE_FAMILY = 7;
};
name = Debug;
};
57C885732A47778800FC133C /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 57BD68B81C02607F0077A391 /* iOS-Framework.xcconfig */;
buildSettings = {
ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = AsyncImageView/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.nachosoto.AsyncImageView;
SDKROOT = xros;
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "xrsimulator xros";
TARGETED_DEVICE_FAMILY = 7;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -983,6 +1130,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
57C885712A47778800FC133C /* Build configuration list for PBXNativeTarget "AsyncImageView-xrOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
57C885722A47778800FC133C /* Debug */,
57C885732A47778800FC133C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 57BD682C1C02598F0077A391 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "57C885552A47778800FC133C"
BuildableName = "AsyncImageView.framework"
BlueprintName = "AsyncImageView-xrOS"
ReferencedContainer = "container:AsyncImageView.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">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "57C885552A47778800FC133C"
BuildableName = "AsyncImageView.framework"
BlueprintName = "AsyncImageView-xrOS"
ReferencedContainer = "container:AsyncImageView.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "NachoSoto/ReactiveSwift" "master"
github "ReactiveCocoa/ReactiveSwift" "xros"

0 comments on commit 5e2916d

Please sign in to comment.