mirror of
https://github.com/rive-app/rive-ios.git
synced 2026-01-18 17:11:28 +01:00
feat(apple): add mac catalyst support (#9759) e6b052eed9
Co-authored-by: David Skuza <david@rive.app>
This commit is contained in:
2
.github/workflows/Package.swift.template
vendored
2
.github/workflows/Package.swift.template
vendored
@@ -3,7 +3,7 @@ import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "RiveRuntime",
|
||||
platforms: [.iOS("14.0"), .visionOS("1.0"), .tvOS("16.0"), .macOS("13.1")],
|
||||
platforms: [.iOS("14.0"), .visionOS("1.0"), .tvOS("16.0"), .macOS("13.1"), .macCatalyst("14.0")],
|
||||
products: [
|
||||
.library(
|
||||
name: "RiveRuntime",
|
||||
|
||||
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@@ -64,3 +64,10 @@ jobs:
|
||||
|
||||
- name: Test tvOS runtime
|
||||
run: ./scripts/test.sh appletvsimulator
|
||||
|
||||
- name: Build for Mac Catalyst (using the cache, we should make an archive of course)
|
||||
run: |
|
||||
./scripts/build.sh maccatalyst release
|
||||
|
||||
- name: Test Mac Catalyst runtime
|
||||
run: ./scripts/test.sh maccatalyst
|
||||
|
||||
@@ -1 +1 @@
|
||||
3277968b6dbd080518f7727d9054a41faedb9a02
|
||||
e6b052eed94adc374b57a00285e8e619bd3e212e
|
||||
|
||||
13
Config/Catalyst.xcconfig
Normal file
13
Config/Catalyst.xcconfig
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// Build.xcconfig
|
||||
// RiveRuntime
|
||||
//
|
||||
// Created by David Skuza on 5/20/25.
|
||||
// Copyright © 2025 Rive. All rights reserved.
|
||||
//
|
||||
|
||||
// Configuration settings file format documentation can be found at:
|
||||
// https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project
|
||||
|
||||
SUPPORTS_MACCATALYST=YES
|
||||
OTHER_LDFLAGS[sdk=macosx*] = -lrive_maccatalyst -lrive_harfbuzz_maccatalyst -lrive_sheenbidi_maccatalyst -lrive_yoga_maccatalyst -lminiaudio_maccatalyst -lrive_pls_renderer_maccatalyst -lrive_cg_renderer_maccatalyst -lrive_decoders_maccatalyst
|
||||
13
Config/macOS.xcconfig
Normal file
13
Config/macOS.xcconfig
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// Build.xcconfig
|
||||
// RiveRuntime
|
||||
//
|
||||
// Created by David Skuza on 5/20/25.
|
||||
// Copyright © 2025 Rive. All rights reserved.
|
||||
//
|
||||
|
||||
// Configuration settings file format documentation can be found at:
|
||||
// https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project
|
||||
|
||||
SUPPORTS_MACCATALYST=NO
|
||||
OTHER_LDFLAGS[sdk=macosx*] = -lrive_macos -lrive_harfbuzz_macos -lrive_sheenbidi_macos -lrive_yoga_macos -lminiaudio_macos -lrive_pls_renderer_macos -lrive_cg_renderer_macos -lrive_decoders_macos
|
||||
@@ -210,8 +210,8 @@
|
||||
049091642BC948AA00F2C12B /* SwiftOutOfBandAudioAssets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049091622BC948AA00F2C12B /* SwiftOutOfBandAudioAssets.swift */; };
|
||||
04C4C83E2646FE410047E614 /* StateMachine.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04C4C83D2646FE410047E614 /* StateMachine.swift */; };
|
||||
04D5B06C266A460C004ACA5B /* nothing.riv in Resources */ = {isa = PBXBuildFile; fileRef = 04D5B069266A460C004ACA5B /* nothing.riv */; };
|
||||
04DB5937266A348C0020A7E8 /* RiveRuntime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04A8F6BD26452E10002C909A /* RiveRuntime.framework */; platformFilters = (ios, xros, ); };
|
||||
04DB5938266A348C0020A7E8 /* RiveRuntime.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 04A8F6BD26452E10002C909A /* RiveRuntime.framework */; platformFilters = (ios, xros, ); settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
04DB5937266A348C0020A7E8 /* RiveRuntime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04A8F6BD26452E10002C909A /* RiveRuntime.framework */; platformFilters = (ios, maccatalyst, xros, ); };
|
||||
04DB5938266A348C0020A7E8 /* RiveRuntime.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 04A8F6BD26452E10002C909A /* RiveRuntime.framework */; platformFilters = (ios, maccatalyst, xros, ); settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
04E51C362A151A1E0075E473 /* Example__macOS_App.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04E51C352A151A1E0075E473 /* Example__macOS_App.swift */; };
|
||||
04E51C382A151A1E0075E473 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04E51C372A151A1E0075E473 /* ContentView.swift */; };
|
||||
04E51C3A2A151A1F0075E473 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 04E51C392A151A1F0075E473 /* Assets.xcassets */; };
|
||||
@@ -794,7 +794,6 @@
|
||||
F2C852D22CD1772300F0D81F /* Example (tvOS) */,
|
||||
C9C73E9524FC471E00EF9516 /* Products */,
|
||||
C9C741FF24FC53CF00EF9516 /* Frameworks */,
|
||||
F24DAAFD2DD23F7F0048768D /* Recovered References */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
@@ -1814,7 +1813,7 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.RiveExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = NO;
|
||||
SUPPORTS_MACCATALYST = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
@@ -1838,7 +1837,7 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.RiveExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = NO;
|
||||
SUPPORTS_MACCATALYST = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
@@ -1912,6 +1911,466 @@
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
F2BD96E02DDCEE7B00E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 13.6;
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||
MTL_FAST_MATH = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96E12DDCEE7B00E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 6;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = NJ3JMFUNS9;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
INFOPLIST_FILE = Source/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.RiveExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96E22DDCEE7B00E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
||||
CODE_SIGN_ENTITLEMENTS = "Example (macOS)/Example__macOS_.entitlements";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Example (macOS)/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = NJ3JMFUNS9;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Rive. All rights reserved.";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 13.1;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "rive.app.Example--macOS-";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = macosx;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96E32DDCEE7B00E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 6;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = NJ3JMFUNS9;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
INFOPLIST_FILE = Source/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.RiveExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96E42DDCEE7B00E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
||||
CODE_SIGN_ENTITLEMENTS = "Example (macOS)/Example__macOS_.entitlements";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Example (macOS)/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = NJ3JMFUNS9;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Rive. All rights reserved.";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 13.1;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "rive.app.Example--macOS-";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = macosx;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96E52DDCEE7B00E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
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;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Example (visionOS)/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = 8N4K3S3FJ4;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu17;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_FILE = "$(TARGET_NAME)/Info.plist";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "app.rive.Example--visionOS-";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = xros;
|
||||
SUPPORTED_PLATFORMS = "xros xrsimulator";
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96E62DDCEE7B00E7F49A /* Debug (Catalyst) */ = {
|
||||
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;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Example (tvOS)/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = 8N4K3S3FJ4;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu17;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
|
||||
INFOPLIST_KEY_UIUserInterfaceStyle = Automatic;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "david.app.rive.Example--tvOS-";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = appletvos;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 3;
|
||||
TVOS_DEPLOYMENT_TARGET = 16.0;
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96E72DDCEE8200E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 13.6;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
MTL_FAST_MATH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
F2BD96E82DDCEE8200E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 6;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = NJ3JMFUNS9;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
INFOPLIST_FILE = Source/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.RiveExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
F2BD96E92DDCEE8200E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
||||
CODE_SIGN_ENTITLEMENTS = "Example (macOS)/Example__macOS_.entitlements";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Example (macOS)/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = NJ3JMFUNS9;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Rive. All rights reserved.";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 13.1;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "rive.app.Example--macOS-";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = macosx;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
F2BD96EA2DDCEE8200E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 6;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = NJ3JMFUNS9;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
INFOPLIST_FILE = Source/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.RiveExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
};
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
F2BD96EB2DDCEE8200E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
||||
CODE_SIGN_ENTITLEMENTS = "Example (macOS)/Example__macOS_.entitlements";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Example (macOS)/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = NJ3JMFUNS9;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Rive. All rights reserved.";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 13.1;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "rive.app.Example--macOS-";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = macosx;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
F2BD96EC2DDCEE8200E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
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;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Example (visionOS)/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = 8N4K3S3FJ4;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu17;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_FILE = "$(TARGET_NAME)/Info.plist";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "app.rive.Example--visionOS-";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = xros;
|
||||
SUPPORTED_PLATFORMS = "xros xrsimulator";
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
};
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
F2BD96ED2DDCEE8200E7F49A /* Release (Catalyst) */ = {
|
||||
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;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"Example (tvOS)/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = 8N4K3S3FJ4;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu17;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
|
||||
INFOPLIST_KEY_UIUserInterfaceStyle = Automatic;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "david.app.rive.Example--tvOS-";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = appletvos;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 3;
|
||||
TVOS_DEPLOYMENT_TARGET = 16.0;
|
||||
};
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
F2C852DD2CD1772400F0D81F /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
@@ -1986,7 +2445,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
040553C52B7A274B008F076A /* Debug */,
|
||||
F2BD96E22DDCEE7B00E7F49A /* Debug (Catalyst) */,
|
||||
040553C62B7A274B008F076A /* Release */,
|
||||
F2BD96E92DDCEE8200E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
@@ -1995,7 +2456,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
0405542E2B7A2858008F076A /* Debug */,
|
||||
F2BD96E12DDCEE7B00E7F49A /* Debug (Catalyst) */,
|
||||
0405542F2B7A2858008F076A /* Release */,
|
||||
F2BD96E82DDCEE8200E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
@@ -2004,7 +2467,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
04E51C402A151A1F0075E473 /* Debug */,
|
||||
F2BD96E42DDCEE7B00E7F49A /* Debug (Catalyst) */,
|
||||
04E51C412A151A1F0075E473 /* Release */,
|
||||
F2BD96EB2DDCEE8200E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
@@ -2013,7 +2478,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
C9C73EBC24FC471E00EF9516 /* Debug */,
|
||||
F2BD96E02DDCEE7B00E7F49A /* Debug (Catalyst) */,
|
||||
C9C73EBD24FC471E00EF9516 /* Release */,
|
||||
F2BD96E72DDCEE8200E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
@@ -2022,7 +2489,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
C9C73EBF24FC471E00EF9516 /* Debug */,
|
||||
F2BD96E32DDCEE7B00E7F49A /* Debug (Catalyst) */,
|
||||
C9C73EC024FC471E00EF9516 /* Release */,
|
||||
F2BD96EA2DDCEE8200E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
@@ -2031,7 +2500,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
F22138892CCBEDD500A25BA7 /* Debug */,
|
||||
F2BD96E52DDCEE7B00E7F49A /* Debug (Catalyst) */,
|
||||
F221388A2CCBEDD500A25BA7 /* Release */,
|
||||
F2BD96EC2DDCEE8200E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
@@ -2040,7 +2511,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
F2C852DD2CD1772400F0D81F /* Debug */,
|
||||
F2BD96E62DDCEE7B00E7F49A /* Debug (Catalyst) */,
|
||||
F2C852DE2CD1772400F0D81F /* Release */,
|
||||
F2BD96ED2DDCEE8200E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1320"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "C9C73E9324FC471E00EF9516"
|
||||
BuildableName = "Example (iOS).app"
|
||||
BlueprintName = "Example (iOS)"
|
||||
ReferencedContainer = "container:RiveExample.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug (Catalyst)"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug (Catalyst)"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "C9C73E9324FC471E00EF9516"
|
||||
BuildableName = "Example (iOS).app"
|
||||
BlueprintName = "Example (iOS)"
|
||||
ReferencedContainer = "container:RiveExample.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<EnvironmentVariables>
|
||||
<EnvironmentVariable
|
||||
key = "IDEPreferLogStreaming"
|
||||
value = "YES"
|
||||
isEnabled = "YES">
|
||||
</EnvironmentVariable>
|
||||
</EnvironmentVariables>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release (Catalyst)"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "C9C73E9324FC471E00EF9516"
|
||||
BuildableName = "Example (iOS).app"
|
||||
BlueprintName = "Example (iOS)"
|
||||
ReferencedContainer = "container:RiveExample.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug (Catalyst)">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release (Catalyst)"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -250,6 +250,8 @@
|
||||
F28DE4522C5002D900F3C379 /* RiveModelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RiveModelTests.swift; sourceTree = "<group>"; };
|
||||
F2B29EA02D52B5EB00CB30ED /* RiveDataBindingViewModelInstancePropertyData.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RiveDataBindingViewModelInstancePropertyData.h; sourceTree = "<group>"; };
|
||||
F2B29EA12D52B5EB00CB30ED /* RiveDataBindingViewModelInstancePropertyData.m */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; path = RiveDataBindingViewModelInstancePropertyData.m; sourceTree = "<group>"; };
|
||||
F2BD96D52DDCC7A200E7F49A /* Catalyst.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Catalyst.xcconfig; sourceTree = "<group>"; };
|
||||
F2BD96D62DDCC7A200E7F49A /* macOS.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = macOS.xcconfig; sourceTree = "<group>"; };
|
||||
F2C003E72C933D2300339E67 /* RiveMetalDrawableView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RiveMetalDrawableView.h; sourceTree = "<group>"; };
|
||||
F2C07B192DA9854F00DC8C84 /* WeakContainer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WeakContainer.h; sourceTree = "<group>"; };
|
||||
F2C07B1A2DA9854F00DC8C84 /* WeakContainer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WeakContainer.m; sourceTree = "<group>"; };
|
||||
@@ -406,6 +408,7 @@
|
||||
C9C73EC724FC478800EF9516 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F2BD96D72DDCC7A200E7F49A /* Config */,
|
||||
C9C73ED324FC478800EF9516 /* Source */,
|
||||
2E54F2382BE428750013016C /* Resources */,
|
||||
C9C73EDE24FC478900EF9516 /* Tests */,
|
||||
@@ -498,6 +501,15 @@
|
||||
path = DataBinding;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F2BD96D72DDCC7A200E7F49A /* Config */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F2BD96D52DDCC7A200E7F49A /* Catalyst.xcconfig */,
|
||||
F2BD96D62DDCC7A200E7F49A /* macOS.xcconfig */,
|
||||
);
|
||||
path = Config;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F2CCA9C02C9E13B2007DC0D2 /* Logging */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -767,6 +779,7 @@
|
||||
/* Begin XCBuildConfiguration section */
|
||||
C9C73EE324FC478900EF9516 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D62DDCC7A200E7F49A /* macOS.xcconfig */;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
||||
@@ -835,6 +848,7 @@
|
||||
};
|
||||
C9C73EE424FC478900EF9516 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D62DDCC7A200E7F49A /* macOS.xcconfig */;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
||||
@@ -898,6 +912,7 @@
|
||||
};
|
||||
C9C73EE624FC478900EF9516 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D62DDCC7A200E7F49A /* macOS.xcconfig */;
|
||||
buildSettings = {
|
||||
APPLICATION_EXTENSION_API_ONLY = YES;
|
||||
BITCODE_GENERATION_MODE = bitcode;
|
||||
@@ -982,16 +997,6 @@
|
||||
"-lrive_cg_renderer_sim",
|
||||
"-lrive_decoders_sim",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=macosx*]" = (
|
||||
"-lrive_macos",
|
||||
"-lrive_harfbuzz_macos",
|
||||
"-lminiaudio_macos",
|
||||
"-lrive_sheenbidi_macos",
|
||||
"-lrive_yoga_macos",
|
||||
"-lrive_pls_renderer_macos",
|
||||
"-lrive_cg_renderer_macos",
|
||||
"-lrive_decoders_macos",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=xros*]" = (
|
||||
"-lrive_xros",
|
||||
"-lrive_harfbuzz_xros",
|
||||
@@ -1018,7 +1023,6 @@
|
||||
SDKROOT = iphoneos;
|
||||
SKIP_INSTALL = YES;
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = NO;
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
@@ -1030,6 +1034,7 @@
|
||||
};
|
||||
C9C73EE724FC478900EF9516 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D62DDCC7A200E7F49A /* macOS.xcconfig */;
|
||||
buildSettings = {
|
||||
ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
|
||||
APPLICATION_EXTENSION_API_ONLY = YES;
|
||||
@@ -1117,15 +1122,246 @@
|
||||
"-lrive_cg_renderer_sim",
|
||||
"-lrive_decoders_sim",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=macosx*]" = (
|
||||
"-lrive_macos",
|
||||
"-lrive_harfbuzz_macos",
|
||||
"-lminiaudio_macos",
|
||||
"-lrive_sheenbidi_macos",
|
||||
"-lrive_yoga_macos",
|
||||
"-lrive_pls_renderer_macos",
|
||||
"-lrive_cg_renderer_macos",
|
||||
"-lrive_decoders_macos",
|
||||
"OTHER_LDFLAGS[sdk=xros*]" = (
|
||||
"-lrive_xros",
|
||||
"-lrive_harfbuzz_xros",
|
||||
"-lminiaudio_xros",
|
||||
"-lrive_sheenbidi_xros",
|
||||
"-lrive_yoga_xros",
|
||||
"-lrive_pls_renderer_xros",
|
||||
"-lrive_cg_renderer_xros",
|
||||
"-lrive_decoders_xros",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=xrsimulator*]" = (
|
||||
"-lrive_xrsimulator",
|
||||
"-lrive_harfbuzz_xrsimulator",
|
||||
"-lminiaudio_xrsimulator",
|
||||
"-lrive_sheenbidi_xrsimulator",
|
||||
"-lrive_yoga_xrsimulator",
|
||||
"-lrive_pls_renderer_xrsimulator",
|
||||
"-lrive_cg_renderer_xrsimulator",
|
||||
"-lrive_decoders_xrsimulator",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.runtime.RiveRuntime;
|
||||
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
SDKROOT = iphoneos;
|
||||
SKIP_INSTALL = YES;
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,3,6,7";
|
||||
TVOS_DEPLOYMENT_TARGET = 16.0;
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
C9C73EE924FC478900EF9516 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D62DDCC7A200E7F49A /* macOS.xcconfig */;
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
"HEADER_SEARCH_PATHS[arch=*]" = dependencies/includes/rive/include;
|
||||
INFOPLIST_FILE = Tests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
"@loader_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.runtime.RiveRuntimeTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = YES;
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,3,7";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
C9C73EEA24FC478900EF9516 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D62DDCC7A200E7F49A /* macOS.xcconfig */;
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
"HEADER_SEARCH_PATHS[arch=*]" = dependencies/includes/rive/include;
|
||||
INFOPLIST_FILE = Tests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
"@loader_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.runtime.RiveRuntimeTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = YES;
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,3,7";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
F2BD96D82DDCC82600E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D52DDCC7A200E7F49A /* Catalyst.xcconfig */;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_ENABLE_CPP_EXCEPTIONS = NO;
|
||||
GCC_ENABLE_CPP_RTTI = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||
MTL_FAST_MATH = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos";
|
||||
SWIFT_OBJC_INTERFACE_HEADER_NAME = "-Swift.h";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96D92DDCC82600E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D52DDCC7A200E7F49A /* Catalyst.xcconfig */;
|
||||
buildSettings = {
|
||||
APPLICATION_EXTENSION_API_ONLY = YES;
|
||||
BITCODE_GENERATION_MODE = bitcode;
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
DEFINES_MODULE = YES;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||
DYLIB_CURRENT_VERSION = 1;
|
||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||
GCC_ENABLE_CPP_EXCEPTIONS = NO;
|
||||
GCC_ENABLE_CPP_RTTI = NO;
|
||||
"HEADER_SEARCH_PATHS[arch=*]" = (
|
||||
dependencies/includes/rive/include,
|
||||
dependencies/includes/renderer/include,
|
||||
dependencies/includes/cg_renderer/include,
|
||||
);
|
||||
INFOPLIST_FILE = Source/Info.plist;
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
"@loader_path/Frameworks",
|
||||
);
|
||||
LIBRARY_SEARCH_PATHS = (
|
||||
"${PROJECT_DIR}/dependencies/release",
|
||||
"${PROJECT_DIR}/dependencies",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 13.1;
|
||||
MARKETING_VERSION = 0.6.5;
|
||||
OTHER_CFLAGS = (
|
||||
"-fembed-bitcode",
|
||||
"-DSK_METAL",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-DYOGA_EXPORT=",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=appletvos*]" = (
|
||||
"-lrive_appletvos",
|
||||
"-lrive_harfbuzz_appletvos",
|
||||
"-lminiaudio_appletvos",
|
||||
"-lrive_sheenbidi_appletvos",
|
||||
"-lrive_yoga_appletvos",
|
||||
"-lrive_pls_renderer_appletvos",
|
||||
"-lrive_cg_renderer_appletvos",
|
||||
"-lrive_decoders_appletvos",
|
||||
"-lrive_webp_appletvos",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=appletvsimulator*]" = (
|
||||
"-lrive_appletvsimulator",
|
||||
"-lrive_harfbuzz_appletvsimulator",
|
||||
"-lminiaudio_appletvsimulator",
|
||||
"-lrive_sheenbidi_appletvsimulator",
|
||||
"-lrive_yoga_appletvsimulator",
|
||||
"-lrive_pls_renderer_appletvsimulator",
|
||||
"-lrive_cg_renderer_appletvsimulator",
|
||||
"-lrive_decoders_appletvsimulator",
|
||||
"-lrive_webp_appletvsimulator",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
|
||||
"-lrive",
|
||||
"-lrive_harfbuzz",
|
||||
"-lminiaudio",
|
||||
"-lrive_sheenbidi",
|
||||
"-lrive_yoga",
|
||||
"-lrive_pls_renderer",
|
||||
"-lrive_cg_renderer",
|
||||
"-lrive_decoders",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=iphonesimulator*]" = (
|
||||
"-lrive_sim",
|
||||
"-lrive_harfbuzz_sim",
|
||||
"-lminiaudio_sim",
|
||||
"-lrive_sheenbidi_sim",
|
||||
"-lrive_yoga_sim",
|
||||
"-lrive_pls_renderer_sim",
|
||||
"-lrive_cg_renderer_sim",
|
||||
"-lrive_decoders_sim",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=xros*]" = (
|
||||
"-lrive_xros",
|
||||
@@ -1153,18 +1389,239 @@
|
||||
SDKROOT = iphoneos;
|
||||
SKIP_INSTALL = YES;
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = NO;
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_OBJC_INTERFACE_HEADER_NAME = "RiveRuntime-Swift.h";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,3,6,7";
|
||||
TVOS_DEPLOYMENT_TARGET = 16.0;
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96DA2DDCC82600E7F49A /* Debug (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D52DDCC7A200E7F49A /* Catalyst.xcconfig */;
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
"HEADER_SEARCH_PATHS[arch=*]" = dependencies/includes/rive/include;
|
||||
INFOPLIST_FILE = Tests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
"@loader_path/Frameworks",
|
||||
);
|
||||
LIBRARY_SEARCH_PATHS = (
|
||||
"${PROJECT_DIR}/dependencies",
|
||||
"${PROJECT_DIR}/dependencies/release",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.runtime.RiveRuntimeTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = YES;
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,3,7";
|
||||
};
|
||||
name = "Debug (Catalyst)";
|
||||
};
|
||||
F2BD96DB2DDCC82900E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D52DDCC7A200E7F49A /* Catalyst.xcconfig */;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
GCC_ENABLE_CPP_EXCEPTIONS = NO;
|
||||
GCC_ENABLE_CPP_RTTI = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
MTL_FAST_MATH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos";
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OBJC_INTERFACE_HEADER_NAME = "-Swift.h";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
};
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
F2BD96DC2DDCC82900E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D52DDCC7A200E7F49A /* Catalyst.xcconfig */;
|
||||
buildSettings = {
|
||||
ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
|
||||
APPLICATION_EXTENSION_API_ONLY = YES;
|
||||
BITCODE_GENERATION_MODE = bitcode;
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
DEFINES_MODULE = YES;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||
DYLIB_CURRENT_VERSION = 1;
|
||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||
GCC_ENABLE_CPP_EXCEPTIONS = NO;
|
||||
GCC_ENABLE_CPP_RTTI = NO;
|
||||
"HEADER_SEARCH_PATHS[arch=*]" = (
|
||||
dependencies/includes/rive/include,
|
||||
dependencies/includes/renderer/include,
|
||||
dependencies/includes/cg_renderer/include,
|
||||
);
|
||||
INFOPLIST_FILE = Source/Info.plist;
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
"@loader_path/Frameworks",
|
||||
);
|
||||
LIBRARY_SEARCH_PATHS = (
|
||||
"${PROJECT_DIR}/dependencies/release",
|
||||
"${PROJECT_DIR}/dependencies",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 13.1;
|
||||
MARKETING_VERSION = 0.6.5;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
OTHER_CFLAGS = (
|
||||
"-DNS_BLOCK_ASSERTIONS=1",
|
||||
"-fembed-bitcode",
|
||||
"-DSK_METAL",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-DYOGA_EXPORT=",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=appletvos*]" = (
|
||||
"-lrive_appletvos",
|
||||
"-lrive_harfbuzz_appletvos",
|
||||
"-lminiaudio_appletvos",
|
||||
"-lrive_sheenbidi_appletvos",
|
||||
"-lrive_yoga_appletvos",
|
||||
"-lrive_pls_renderer_appletvos",
|
||||
"-lrive_cg_renderer_appletvos",
|
||||
"-lrive_decoders_appletvos",
|
||||
"-lrive_webp_appletvos",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=appletvsimulator*]" = (
|
||||
"-lrive_appletvsimulator",
|
||||
"-lrive_harfbuzz_appletvsimulator",
|
||||
"-lminiaudio_appletvsimulator",
|
||||
"-lrive_sheenbidi_appletvsimulator",
|
||||
"-lrive_yoga_appletvsimulator",
|
||||
"-lrive_pls_renderer_appletvsimulator",
|
||||
"-lrive_cg_renderer_appletvsimulator",
|
||||
"-lrive_decoders_appletvsimulator",
|
||||
"-lrive_webp_appletvsimulator",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
|
||||
"-lrive",
|
||||
"-lrive_harfbuzz",
|
||||
"-lminiaudio",
|
||||
"-lrive_sheenbidi",
|
||||
"-lrive_yoga",
|
||||
"-lrive_pls_renderer",
|
||||
"-lrive_cg_renderer",
|
||||
"-lrive_decoders",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=iphonesimulator*]" = (
|
||||
"-lrive_sim",
|
||||
"-lrive_harfbuzz_sim",
|
||||
"-lminiaudio_sim",
|
||||
"-lrive_sheenbidi_sim",
|
||||
"-lrive_yoga_sim",
|
||||
"-lrive_pls_renderer_sim",
|
||||
"-lrive_cg_renderer_sim",
|
||||
"-lrive_decoders_sim",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=xros*]" = (
|
||||
"-lrive_xros",
|
||||
"-lrive_harfbuzz_xros",
|
||||
"-lminiaudio_xros",
|
||||
"-lrive_sheenbidi_xros",
|
||||
"-lrive_yoga_xros",
|
||||
"-lrive_pls_renderer_xros",
|
||||
"-lrive_cg_renderer_xros",
|
||||
"-lrive_decoders_xros",
|
||||
);
|
||||
"OTHER_LDFLAGS[sdk=xrsimulator*]" = (
|
||||
"-lrive_xrsimulator",
|
||||
"-lrive_harfbuzz_xrsimulator",
|
||||
"-lminiaudio_xrsimulator",
|
||||
"-lrive_sheenbidi_xrsimulator",
|
||||
"-lrive_yoga_xrsimulator",
|
||||
"-lrive_pls_renderer_xrsimulator",
|
||||
"-lrive_cg_renderer_xrsimulator",
|
||||
"-lrive_decoders_xrsimulator",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.runtime.RiveRuntime;
|
||||
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
SDKROOT = iphoneos;
|
||||
SKIP_INSTALL = YES;
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_OBJC_INTERFACE_HEADER_NAME = "RiveRuntime-Swift.h";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,3,6,7";
|
||||
TVOS_DEPLOYMENT_TARGET = 16.0;
|
||||
XROS_DEPLOYMENT_TARGET = 1.0;
|
||||
};
|
||||
name = Release;
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
C9C73EE924FC478900EF9516 /* Debug */ = {
|
||||
F2BD96DD2DDCC82900E7F49A /* Release (Catalyst) */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F2BD96D52DDCC7A200E7F49A /* Catalyst.xcconfig */;
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
@@ -1176,39 +1633,19 @@
|
||||
"@executable_path/Frameworks",
|
||||
"@loader_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.runtime.RiveRuntimeTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = NO;
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,3,7";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
C9C73EEA24FC478900EF9516 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
"HEADER_SEARCH_PATHS[arch=*]" = dependencies/includes/rive/include;
|
||||
INFOPLIST_FILE = Tests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
"@loader_path/Frameworks",
|
||||
LIBRARY_SEARCH_PATHS = (
|
||||
"${PROJECT_DIR}/dependencies",
|
||||
"${PROJECT_DIR}/dependencies/release",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = rive.app.ios.runtime.RiveRuntimeTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SUPPORTS_MACCATALYST = NO;
|
||||
SUPPORTS_MACCATALYST = YES;
|
||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,3,7";
|
||||
};
|
||||
name = Release;
|
||||
name = "Release (Catalyst)";
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
@@ -1217,7 +1654,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
C9C73EE324FC478900EF9516 /* Debug */,
|
||||
F2BD96D82DDCC82600E7F49A /* Debug (Catalyst) */,
|
||||
C9C73EE424FC478900EF9516 /* Release */,
|
||||
F2BD96DB2DDCC82900E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
@@ -1226,7 +1665,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
C9C73EE624FC478900EF9516 /* Debug */,
|
||||
F2BD96D92DDCC82600E7F49A /* Debug (Catalyst) */,
|
||||
C9C73EE724FC478900EF9516 /* Release */,
|
||||
F2BD96DC2DDCC82900E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
@@ -1235,7 +1676,9 @@
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
C9C73EE924FC478900EF9516 /* Debug */,
|
||||
F2BD96DA2DDCC82600E7F49A /* Debug (Catalyst) */,
|
||||
C9C73EEA24FC478900EF9516 /* Release */,
|
||||
F2BD96DD2DDCC82900E7F49A /* Release (Catalyst) */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1320"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "C9C73ED024FC478800EF9516"
|
||||
BuildableName = "RiveRuntime.framework"
|
||||
BlueprintName = "RiveRuntime"
|
||||
ReferencedContainer = "container:RiveRuntime.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "NO"
|
||||
buildForProfiling = "NO"
|
||||
buildForArchiving = "NO"
|
||||
buildForAnalyzing = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "C9C73ED924FC478900EF9516"
|
||||
BuildableName = "RiveRuntimeTests.xctest"
|
||||
BlueprintName = "RiveRuntimeTests"
|
||||
ReferencedContainer = "container:RiveRuntime.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug (Catalyst)"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "C9C73ED924FC478900EF9516"
|
||||
BuildableName = "RiveRuntimeTests.xctest"
|
||||
BlueprintName = "RiveRuntimeTests"
|
||||
ReferencedContainer = "container:RiveRuntime.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug (Catalyst)"
|
||||
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 (Catalyst)"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "C9C73ED024FC478800EF9516"
|
||||
BuildableName = "RiveRuntime.framework"
|
||||
BlueprintName = "RiveRuntime"
|
||||
ReferencedContainer = "container:RiveRuntime.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug (Catalyst)">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release (Catalyst)"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -304,8 +304,83 @@ build_runtime_appletvsimulator() {
|
||||
cp -r $RIVE_RUNTIME_DIR/decoders/out/appletvsimulator_$1/liblibwebp.a $DEV_SCRIPT_DIR/../dependencies/$1/librive_webp_appletvsimulator.a
|
||||
}
|
||||
|
||||
build_runtime_maccatalyst() {
|
||||
_build_runtime_maccatalyst() {
|
||||
local config=$1
|
||||
local arch=$2
|
||||
|
||||
# Build the rive runtime.
|
||||
RIVE_OUT=out/maccatalyst_${arch}_${config} build_rive.sh --file=$RIVE_RUNTIME_DIR/premake5_v2.lua ${config} ${arch} --with_rive_audio=system --variant=maccatalyst clean
|
||||
|
||||
cp -r out/maccatalyst_${arch}_${config}/librive_harfbuzz.a $DEV_SCRIPT_DIR/../dependencies/${config}/librive_harfbuzz_maccatalyst_${arch}.a
|
||||
cp -r out/maccatalyst_${arch}_${config}/librive_yoga.a $DEV_SCRIPT_DIR/../dependencies/${config}/librive_yoga_maccatalyst_${arch}.a
|
||||
cp -r out/maccatalyst_${arch}_${config}/librive_sheenbidi.a $DEV_SCRIPT_DIR/../dependencies/${config}/librive_sheenbidi_maccatalyst_${arch}.a
|
||||
cp -r out/maccatalyst_${arch}_${config}/libminiaudio.a $DEV_SCRIPT_DIR/../dependencies/${config}/libminiaudio_maccatalyst_${arch}.a
|
||||
cp -r out/maccatalyst_${arch}_${config}/librive.a $DEV_SCRIPT_DIR/../dependencies/${config}/librive_maccatalyst_${arch}.a
|
||||
cp -r $RIVE_RUNTIME_DIR/include $DEV_SCRIPT_DIR/../dependencies/includes/rive
|
||||
|
||||
# Build rive_cg_renderer.
|
||||
pushd $RIVE_RUNTIME_DIR/cg_renderer
|
||||
premake5 --config=${config} --out=out/maccatalyst_${arch}_${config} --arch=${arch} --scripts=$RIVE_RUNTIME_DIR/build --os=macosx --variant=maccatalyst gmake2
|
||||
make -C out/maccatalyst_${arch}_${config} clean
|
||||
make -C out/maccatalyst_${arch}_${config} -j12 rive_cg_renderer
|
||||
popd
|
||||
cp -r $RIVE_RUNTIME_DIR/cg_renderer/out/maccatalyst_${arch}_${config}/librive_cg_renderer.a $DEV_SCRIPT_DIR/../dependencies/${config}/librive_cg_renderer_maccatalyst_${arch}.a
|
||||
cp -r $RIVE_RUNTIME_DIR/cg_renderer/include $DEV_SCRIPT_DIR/../dependencies/includes/cg_renderer
|
||||
|
||||
# Build rive_pls_renderer.
|
||||
pushd $RIVE_PLS_DIR
|
||||
premake5 --config=${config} --out=out/maccatalyst_${arch}_${config} --arch=${arch} --scripts=$RIVE_RUNTIME_DIR/build --file=premake5_pls_renderer.lua --os=macosx --variant=maccatalyst gmake2
|
||||
make -C out/maccatalyst_${arch}_${config} clean
|
||||
make -C out/maccatalyst_${arch}_${config} -j12 rive_pls_renderer
|
||||
popd
|
||||
cp -r $RIVE_PLS_DIR/out/maccatalyst_${arch}_${config}/librive_pls_renderer.a $DEV_SCRIPT_DIR/../dependencies/${config}/librive_pls_renderer_maccatalyst_${arch}.a
|
||||
cp -r $RIVE_PLS_DIR/include $DEV_SCRIPT_DIR/../dependencies/includes/renderer
|
||||
|
||||
# Build rive_decoders.
|
||||
pushd $RIVE_RUNTIME_DIR/decoders
|
||||
premake5 --file=premake5_v2.lua --config=${config} --out=out/maccatalyst_${arch}_${config} --arch=${arch} --scripts=$RIVE_RUNTIME_DIR/build --os=macosx --no_rive_jpeg --no_rive_png --no_rive_webp --variant=maccatalyst gmake2
|
||||
make -C out/maccatalyst_${arch}_${config} clean
|
||||
make -C out/maccatalyst_${arch}_${config} -j12 rive_decoders
|
||||
popd
|
||||
cp -r $RIVE_RUNTIME_DIR/decoders/out/maccatalyst_${arch}_${config}/librive_decoders.a $DEV_SCRIPT_DIR/../dependencies/${config}/librive_decoders_maccatalyst_${arch}.a
|
||||
}
|
||||
|
||||
_create_universal_libraries() {
|
||||
local config=$1
|
||||
local deps_dir="$DEV_SCRIPT_DIR/../dependencies/${config}"
|
||||
|
||||
# List of libraries to merge
|
||||
local libs=(
|
||||
"librive_harfbuzz_maccatalyst"
|
||||
"librive_yoga_maccatalyst"
|
||||
"librive_sheenbidi_maccatalyst"
|
||||
"libminiaudio_maccatalyst"
|
||||
"librive_maccatalyst"
|
||||
"librive_cg_renderer_maccatalyst"
|
||||
"librive_pls_renderer_maccatalyst"
|
||||
"librive_decoders_maccatalyst"
|
||||
)
|
||||
|
||||
# Create universal binaries for each library
|
||||
for lib in "${libs[@]}"; do
|
||||
lipo -create \
|
||||
"${deps_dir}/${lib}_arm64.a" \
|
||||
"${deps_dir}/${lib}_x64.a" \
|
||||
-output "${deps_dir}/${lib}.a"
|
||||
|
||||
# Clean up architecture-specific files
|
||||
rm "${deps_dir}/${lib}_arm64.a" "${deps_dir}/${lib}_x64.a"
|
||||
done
|
||||
}
|
||||
|
||||
_build_runtime_maccatalyst "$1" "arm64"
|
||||
_build_runtime_maccatalyst "$1" "x64"
|
||||
_create_universal_libraries "$1"
|
||||
}
|
||||
|
||||
usage() {
|
||||
echo "USAGE: $0 <all|ios|ios_sim|xros|xrsimulator|appletvos|appletvsimulator|macosx> <debug|release>"
|
||||
echo "USAGE: $0 <all|ios|ios_sim|xros|xrsimulator|appletvos|appletvsimulator|macosx|maccatalyst> <debug|release>"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -325,6 +400,7 @@ build_all() {
|
||||
build_runtime_xrsimulator $1
|
||||
build_runtime_appletvos $1
|
||||
build_runtime_appletvsimulator $1
|
||||
build_runtime_maccatalyst $1
|
||||
}
|
||||
|
||||
case $1 in
|
||||
@@ -467,6 +543,20 @@ appletvsimulator)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
maccatalyst)
|
||||
if (($# < 2)); then
|
||||
usage
|
||||
fi
|
||||
case $2 in
|
||||
release | debug)
|
||||
make_dependency_directories
|
||||
build_runtime_maccatalyst $2
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
;;
|
||||
|
||||
@@ -44,15 +44,6 @@ xcodebuild archive \
|
||||
SKIP_INSTALL=NO \
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
|
||||
|
||||
xcodebuild archive \
|
||||
-configuration ${CONFIGURATION} \
|
||||
-project RiveRuntime.xcodeproj \
|
||||
-scheme RiveRuntime \
|
||||
-destination generic/platform=macOS \
|
||||
-archivePath ".build/archives/RiveRuntime_macOS" \
|
||||
SKIP_INSTALL=NO \
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
|
||||
|
||||
xcodebuild archive \
|
||||
-configuration ${CONFIGURATION} \
|
||||
-project RiveRuntime.xcodeproj \
|
||||
@@ -61,7 +52,7 @@ xcodebuild archive \
|
||||
-destination generic/platform=visionOS \
|
||||
-archivePath ".build/archives/RiveRuntime_visionOS" \
|
||||
SKIP_INSTALL=NO \
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
|
||||
|
||||
xcodebuild archive \
|
||||
-configuration ${CONFIGURATION} \
|
||||
@@ -93,14 +84,31 @@ xcodebuild archive \
|
||||
SKIP_INSTALL=NO \
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
|
||||
|
||||
xcodebuild archive \
|
||||
-configuration ${CONFIGURATION} \
|
||||
-project RiveRuntime.xcodeproj \
|
||||
-scheme RiveRuntime \
|
||||
-destination "generic/platform=macOS" \
|
||||
-archivePath ".build/archives/RiveRuntime_macOS" \
|
||||
SKIP_INSTALL=NO \
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
|
||||
SUPPORTS_MACCATALYST=NO
|
||||
|
||||
xcodebuild archive \
|
||||
-configuration "${CONFIGURATION} (Catalyst)" \
|
||||
-project RiveRuntime.xcodeproj \
|
||||
-scheme "RiveRuntime (Catalyst)" \
|
||||
-destination "generic/platform=macOS,variant=Mac Catalyst" \
|
||||
-archivePath ".build/archives/RiveRuntime_macOS_Catalyst" \
|
||||
SKIP_INSTALL=NO \
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
|
||||
|
||||
xcodebuild \
|
||||
-create-xcframework \
|
||||
-archive .build/archives/RiveRuntime_iOS.xcarchive \
|
||||
-framework RiveRuntime.framework \
|
||||
-archive .build/archives/RiveRuntime_iOS_Simulator.xcarchive \
|
||||
-framework RiveRuntime.framework \
|
||||
-archive .build/archives/RiveRuntime_macOS.xcarchive \
|
||||
-framework RiveRuntime.framework \
|
||||
-archive .build/archives/RiveRuntime_visionOS.xcarchive \
|
||||
-framework RiveRuntime.framework \
|
||||
-archive .build/archives/RiveRuntime_visionOS_Simulator.xcarchive \
|
||||
@@ -109,4 +117,9 @@ xcodebuild \
|
||||
-framework RiveRuntime.framework \
|
||||
-archive .build/archives/RiveRuntime_tvOS_Simulator.xcarchive \
|
||||
-framework RiveRuntime.framework \
|
||||
-output archive/RiveRuntime.xcframework
|
||||
-archive .build/archives/RiveRuntime_macOS.xcarchive \
|
||||
-framework RiveRuntime.framework \
|
||||
-archive .build/archives/RiveRuntime_macOS_Catalyst.xcarchive \
|
||||
-framework RiveRuntime.framework \
|
||||
-output archive/RiveRuntime.xcframework
|
||||
|
||||
|
||||
@@ -27,8 +27,17 @@ test_tvos_simulator() {
|
||||
clean test | xcpretty
|
||||
}
|
||||
|
||||
test_maccatalyst() {
|
||||
echo "=== Running tests on Mac Catalyst ==="
|
||||
# Test RiveRuntime on Mac Catalyst
|
||||
xcodebuild -workspace Rive.xcworkspace \
|
||||
-scheme "RiveRuntime (Catalyst)" \
|
||||
-destination "platform=macOS,variant=Mac Catalyst" \
|
||||
clean test | xcpretty
|
||||
}
|
||||
|
||||
usage() {
|
||||
echo "USAGE: $0 ios_sim|xrsimulator|appletvsimulator"
|
||||
echo "USAGE: $0 ios_sim|xrsimulator|appletvsimulator|maccatalyst"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -46,6 +55,9 @@ xrsimulator)
|
||||
appletvsimulator)
|
||||
test_tvos_simulator
|
||||
;;
|
||||
maccatalyst)
|
||||
test_maccatalyst
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
;;
|
||||
|
||||
Submodule submodules/rive-runtime updated: 3300be52dd...e26801b386
Reference in New Issue
Block a user