diff --git a/Package.resolved b/Package.resolved index 16067fb0..2367114c 100644 --- a/Package.resolved +++ b/Package.resolved @@ -12,10 +12,19 @@ { "identity" : "openfoundation", "kind" : "remoteSourceControl", - "location" : "https://github.com/Kyle-Ye/OpenFoundation", + "location" : "https://github.com/OpenSwiftUIProject/OpenFoundation", "state" : { - "revision" : "72404a9e51d314af915b13430cf9b928a1654714", - "version" : "0.0.1" + "revision" : "cd2cdb300d53e3e68fda8b690a703a7c5096d9d0", + "version" : "0.0.2" + } + }, + { + "identity" : "opengraph", + "kind" : "remoteSourceControl", + "location" : "https://github.com/OpenSwiftUIProject/OpenGraph", + "state" : { + "branch" : "main", + "revision" : "52266b713cf60eb23f4d7113fade9a79f4f47ff9" } }, { diff --git a/Package.swift b/Package.swift index 4c22b42e..b9124fe8 100644 --- a/Package.swift +++ b/Package.swift @@ -55,7 +55,8 @@ let package = Package( .library(name: "OpenSwiftUI", targets: ["OpenSwiftUI"]), ], dependencies: [ - .package(url: "https://github.com/Kyle-Ye/OpenFoundation", from: "0.0.1"), + .package(url: "https://github.com/OpenSwiftUIProject/OpenFoundation", from: "0.0.1"), + .package(url: "https://github.com/OpenSwiftUIProject/OpenGraph", branch: "main"), ], targets: [ // TODO: Add SwiftGTK as an backend alternative for UIKit/AppKit on Linux and macOS @@ -80,84 +81,18 @@ let package = Package( ] ) -// FIXME: The binary of AG for macOS is copied from dyld shared cache and it will cause a link error when running. Use iOS Simulator to run this target as a temporary workaround -let graphCompatibilityTest = ProcessInfo.processInfo.environment["OPENGRAPH_COMPATIBILITY_TEST"] != nil -let openGraphCompatibilityTestTarget = Target.testTarget( - name: "OpenGraphCompatibilityTests", - dependencies: [ - graphCompatibilityTest ? "AttributeGraph" : "OpenGraph", - ], - exclude: ["README.md"], - swiftSettings: graphCompatibilityTest ? [ - .define("OPENGRAPH_COMPATIBILITY_TEST") - ] : [] -) -package.targets.append(openGraphCompatibilityTestTarget) - -let useAG = ProcessInfo.processInfo.environment["OPENSWIFTUI_USE_AG"] != nil +//let useAG = ProcessInfo.processInfo.environment["OPENSWIFTUI_USE_AG"] != nil +let useAG = true if useAG { - if !graphCompatibilityTest { - let targets: [Target] = [ - // FIXME: Merge into one target - // OpenGraph is a C++ & Swift mix target. - // The SwiftPM support for such usage is still in progress. - .target( - name: "_OpenGraph", - dependencies: [.product(name: "OpenFoundation", package: "OpenFoundation")], - cSettings: [clangEnumFixSetting] - ), - .target( - name: "OpenGraph", - dependencies: ["_OpenGraph"], - cSettings: [clangEnumFixSetting] - ), - ] - package.targets.append(contentsOf: targets) - } - let targets: [Target] = [ - .binaryTarget(name: "AttributeGraph", path: "Sources/AttributeGraph.xcframework"), - ] - package.targets.append(contentsOf: targets) openSwiftUITarget.dependencies.append( - "AttributeGraph" + .product(name: "AttributeGraph", package: "OpenGraph") ) var swiftSettings: [SwiftSetting] = (openSwiftUITarget.swiftSettings ?? []) swiftSettings.append(.define("OPENSWIFTUI_USE_AG")) openSwiftUITarget.swiftSettings = swiftSettings } else { - if graphCompatibilityTest { - let targets: [Target] = [ - .binaryTarget(name: "AttributeGraph", path: "Sources/AttributeGraph.xcframework"), - ] - package.targets.append(contentsOf: targets) - } - package.products.append( - .library(name: "OpenGraph", targets: ["OpenGraph", "_OpenGraph"]) - ) - let targets: [Target] = [ - // FIXME: Merge into one target - // OpenGraph is a C++ & Swift mix target. - // The SwiftPM support for such usage is still in progress. - .target( - name: "_OpenGraph", - dependencies: [.product(name: "OpenFoundation", package: "OpenFoundation")], - cSettings: [clangEnumFixSetting] - ), - .target( - name: "OpenGraph", - dependencies: ["_OpenGraph"], - cSettings: [clangEnumFixSetting] - ), - .testTarget( - name: "OpenGraphTests", - dependencies: [ - "OpenGraph", - ] - ), - ] - package.targets.append(contentsOf: targets) openSwiftUITarget.dependencies.append( - "OpenGraph" + .product(name: "OpenGraph", package: "OpenGraph") ) } diff --git a/Sources/AttributeGraph.xcframework/Info.plist b/Sources/AttributeGraph.xcframework/Info.plist deleted file mode 100644 index 960c4e6e..00000000 --- a/Sources/AttributeGraph.xcframework/Info.plist +++ /dev/null @@ -1,52 +0,0 @@ - - - - - AvailableLibraries - - - LibraryIdentifier - macos-arm64e - LibraryPath - AttributeGraph.framework - SupportedArchitectures - - arm64e - - SupportedPlatform - macos - - - LibraryIdentifier - ios-arm64e - LibraryPath - AttributeGraph.framework - SupportedArchitectures - - arm64e - - SupportedPlatform - ios - - - LibraryIdentifier - ios-arm64_x86_64-simulator - LibraryPath - AttributeGraph.framework - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - - CFBundlePackageType - XFWK - XCFrameworkFormatVersion - 1.0 - - diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph deleted file mode 100644 index f9a4418b..00000000 Binary files a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph and /dev/null differ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph-15_5 b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph-15_5 deleted file mode 100644 index f9a4418b..00000000 Binary files a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph-15_5 and /dev/null differ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGAttribute.h b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGAttribute.h deleted file mode 100644 index 17f50d10..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGAttribute.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// AGAttribute.h -// -// -// Created by Kyle on 2023/8/30. -// - - -#ifndef AGAttribute_h -#define AGAttribute_h - -#include -#include - -typedef uint32_t AGAttribute __attribute((swift_newtype(struct))); - -CF_EXPORT -const AGAttribute AGAttributeNil; - -#endif /* AGAttribute_h */ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGCompareValues.h b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGCompareValues.h deleted file mode 100644 index fbc12fad..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGCompareValues.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// AGCompareValues.h -// -// -// Created by Kyle on 2023/10/9. -// - -#ifndef AGCompareValues_h -#define AGCompareValues_h - -#include -#include "AGComparisonMode.h" -#include - -CF_EXTERN_C_BEGIN -CF_EXPORT -bool AGCompareValues(const void *lhs, const void *rhs, const AGComparisonMode comparisonMode, const void *type); -CF_EXTERN_C_END - -#endif /* AGCompareValues_h */ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGComparisonMode.h b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGComparisonMode.h deleted file mode 100644 index 956aa118..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGComparisonMode.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// AGComparisonMode.hpp -// -// -// Created by Kyle on 2023/12/20. -// - -#ifndef AGComparisonMode_h -#define AGComparisonMode_h - -#include - -typedef CF_OPTIONS(uint32_t, AGComparisonMode) { - AGComparisonMode_0 = 0, - AGComparisonMode_1 = 1 << 0, - AGComparisonMode_2 = 1 << 1, - AGComparisonMode_3 = AGComparisonMode_1 | AGComparisonMode_2, -}; - -#endif /* AGComparisonMode_h */ - diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGUniqueID.h b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGUniqueID.h deleted file mode 100644 index 91501ca1..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGUniqueID.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// AGUniqueID.h -// -// -// Created by Kyle on 2023/10/9. -// - -#ifndef AGUniqueID_h -#define AGUniqueID_h - -#include -typedef long long AGUniqueID; - -CF_EXTERN_C_BEGIN -CF_EXPORT -AGUniqueID AGMakeUniqueID(void); -CF_EXTERN_C_END - -#endif /* AGUniqueID_h */ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-Swift.h b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-Swift.h deleted file mode 100644 index 22f91973..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-Swift.h +++ /dev/null @@ -1,524 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -#ifndef ATTRIBUTEDGRAPH_SWIFT_H -#define ATTRIBUTEDGRAPH_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wduplicate-method-match" -#pragma clang diagnostic ignored "-Wauto-import" -#if defined(__OBJC__) -#include -#endif -#if defined(__cplusplus) -#include -#include -#include -#else -#include -#include -#include -#endif - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if defined(__OBJC__) -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if !defined(SWIFT_CALL) -# define SWIFT_CALL __attribute__((swiftcall)) -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT noexcept -#endif -#else -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT -#endif -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_CXX_INT_DEFINED) -#define SWIFT_CXX_INT_DEFINED -namespace swift { -using Int = ptrdiff_t; -using UInt = size_t; -} -#endif -#endif -#if defined(__OBJC__) -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#endif -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" -#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AttributedGraph",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if defined(__OBJC__) -#endif -#if defined(__cplusplus) -#endif -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -#ifndef ATTRIBUTEDGRAPH_SWIFT_H -#define ATTRIBUTEDGRAPH_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wduplicate-method-match" -#pragma clang diagnostic ignored "-Wauto-import" -#if defined(__OBJC__) -#include -#endif -#if defined(__cplusplus) -#include -#include -#include -#else -#include -#include -#include -#endif - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if defined(__OBJC__) -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if !defined(SWIFT_CALL) -# define SWIFT_CALL __attribute__((swiftcall)) -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT noexcept -#endif -#else -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT -#endif -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_CXX_INT_DEFINED) -#define SWIFT_CXX_INT_DEFINED -namespace swift { -using Int = ptrdiff_t; -using UInt = size_t; -} -#endif -#endif -#if defined(__OBJC__) -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#endif -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" -#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AttributedGraph",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if defined(__OBJC__) -#endif -#if defined(__cplusplus) -#endif -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#else -#error unsupported Swift architecture -#endif diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h deleted file mode 100644 index 749b3f64..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "AGAttribute.h" -#import "AGUniqueID.h" -#import "AGComparisonMode.h" -#import "AGCompareValues.h" - -FOUNDATION_EXPORT double AGAttributeVersionNumber; -FOUNDATION_EXPORT const unsigned char AGAttributeVersionString[]; - diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Info.plist b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Info.plist deleted file mode 100644 index 206b0174..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Info.plist +++ /dev/null @@ -1,53 +0,0 @@ - - - - - BuildMachineOSBuild - 22G91 - CFBundleDevelopmentRegion - en - CFBundleExecutable - AttributeGraph - CFBundleIdentifier - com.apple.attributegraph - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - AttributeGraph - CFBundlePackageType - FMWK - CFBundleShortVersionString - 0.1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - iPhoneSimulator - - CFBundleVersion - 1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 20C52 - DTPlatformName - iphonesimulator - DTPlatformVersion - 16.2 - DTSDKBuild - 20C52 - DTSDKName - iphonesimulator16.2 - DTXcode - 1420 - DTXcodeBuild - 14C18 - MinimumOSVersion - 11.0 - UIDeviceFamily - - 1 - 2 - - - diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface deleted file mode 100644 index 2a8a7754..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ /dev/null @@ -1,66 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AttributeGraph -// swift-module-flags-ignorable: -enable-bare-slash-regex -@_exported import AttributeGraph -import Foundation -import Swift -import _Concurrency -import _StringProcessing -@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute : Swift.Hashable, Swift.Equatable, Swift.CustomStringConvertible { - public var identifier: AttributeGraph.AGAttribute - public var wrappedValue: Value { - get - set - } - - @inlinable public init(identifier: AttributeGraph.AGAttribute) { - self.identifier = identifier - } - - @inlinable public init(_ attribute: AttributeGraph.Attribute) { - self = attribute - } - - public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { - get - } - - public subscript(keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { - get - } - - public var description: Swift.String { - get - } - public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public protocol _AttributeBody { - static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) - static var _hasDestroySelf: Swift.Bool { get } - static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) - static var comparisonMode: AGComparisonMode { get } -} -extension AttributeGraph._AttributeBody { - public static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) - public static var _hasDestroySelf: Swift.Bool { - get - } - public static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) - public static var comparisonMode: AGComparisonMode { get } -} -public protocol Rule : AttributeGraph._AttributeBody { - associatedtype Value - static var initialValue: Self.Value? { get } - var value: Self.Value { get } -} -extension AttributeGraph.Rule { - public static var initialValue: Self.Value? { - get - } -} -public func compareValues(_ lhs: A, _ rhs: A, mode: AGComparisonMode = ._3) -> Swift.Bool \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface deleted file mode 100644 index 2ab7105f..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ /dev/null @@ -1,66 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AttributeGraph -// swift-module-flags-ignorable: -enable-bare-slash-regex -@_exported import AttributeGraph -import Foundation -import Swift -import _Concurrency -import _StringProcessing -@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute : Swift.Hashable, Swift.Equatable, Swift.CustomStringConvertible { - public var identifier: AttributeGraph.AGAttribute - public var wrappedValue: Value { - get - set - } - - @inlinable public init(identifier: AttributeGraph.AGAttribute) { - self.identifier = identifier - } - - @inlinable public init(_ attribute: AttributeGraph.Attribute) { - self = attribute - } - - public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { - get - } - - public subscript(keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { - get - } - - public var description: Swift.String { - get - } - public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public protocol _AttributeBody { - static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) - static var _hasDestroySelf: Swift.Bool { get } - static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) - static var comparisonMode: AGComparisonMode { get } -} -extension AttributeGraph._AttributeBody { - public static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) - public static var _hasDestroySelf: Swift.Bool { - get - } - public static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) - public static var comparisonMode: AGComparisonMode { get } -} -public protocol Rule : AttributeGraph._AttributeBody { - associatedtype Value - static var initialValue: Self.Value? { get } - var value: Self.Value { get } -} -extension AttributeGraph.Rule { - public static var initialValue: Self.Value? { - get - } -} -public func compareValues(_ lhs: A, _ rhs: A, mode: AGComparisonMode = ._3) -> Swift.Bool \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/module.modulemap b/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/module.modulemap deleted file mode 100644 index d4c6a486..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/module.modulemap +++ /dev/null @@ -1,11 +0,0 @@ -framework module AttributeGraph { - umbrella header "AttributeGraph-umbrella.h" - - export * - module * { export * } -} - -module AttributeGraph.Swift { - header "AttributeGraph-Swift.h" - requires objc -} diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/AttributeGraph b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/AttributeGraph deleted file mode 120000 index e47d9de9..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/AttributeGraph +++ /dev/null @@ -1 +0,0 @@ -./AttributeGraph-17_0 \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/AttributeGraph-17_0 b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/AttributeGraph-17_0 deleted file mode 100644 index 160c6c68..00000000 Binary files a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/AttributeGraph-17_0 and /dev/null differ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGAttribute.h b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGAttribute.h deleted file mode 100644 index 17f50d10..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGAttribute.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// AGAttribute.h -// -// -// Created by Kyle on 2023/8/30. -// - - -#ifndef AGAttribute_h -#define AGAttribute_h - -#include -#include - -typedef uint32_t AGAttribute __attribute((swift_newtype(struct))); - -CF_EXPORT -const AGAttribute AGAttributeNil; - -#endif /* AGAttribute_h */ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGCompareValues.h b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGCompareValues.h deleted file mode 100644 index fbc12fad..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGCompareValues.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// AGCompareValues.h -// -// -// Created by Kyle on 2023/10/9. -// - -#ifndef AGCompareValues_h -#define AGCompareValues_h - -#include -#include "AGComparisonMode.h" -#include - -CF_EXTERN_C_BEGIN -CF_EXPORT -bool AGCompareValues(const void *lhs, const void *rhs, const AGComparisonMode comparisonMode, const void *type); -CF_EXTERN_C_END - -#endif /* AGCompareValues_h */ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGComparisonMode.h b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGComparisonMode.h deleted file mode 100644 index 956aa118..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGComparisonMode.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// AGComparisonMode.hpp -// -// -// Created by Kyle on 2023/12/20. -// - -#ifndef AGComparisonMode_h -#define AGComparisonMode_h - -#include - -typedef CF_OPTIONS(uint32_t, AGComparisonMode) { - AGComparisonMode_0 = 0, - AGComparisonMode_1 = 1 << 0, - AGComparisonMode_2 = 1 << 1, - AGComparisonMode_3 = AGComparisonMode_1 | AGComparisonMode_2, -}; - -#endif /* AGComparisonMode_h */ - diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGUniqueID.h b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGUniqueID.h deleted file mode 100644 index 91501ca1..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AGUniqueID.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// AGUniqueID.h -// -// -// Created by Kyle on 2023/10/9. -// - -#ifndef AGUniqueID_h -#define AGUniqueID_h - -#include -typedef long long AGUniqueID; - -CF_EXTERN_C_BEGIN -CF_EXPORT -AGUniqueID AGMakeUniqueID(void); -CF_EXTERN_C_END - -#endif /* AGUniqueID_h */ diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AttributeGraph-Swift.h b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AttributeGraph-Swift.h deleted file mode 100644 index 22f91973..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AttributeGraph-Swift.h +++ /dev/null @@ -1,524 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -#ifndef ATTRIBUTEDGRAPH_SWIFT_H -#define ATTRIBUTEDGRAPH_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wduplicate-method-match" -#pragma clang diagnostic ignored "-Wauto-import" -#if defined(__OBJC__) -#include -#endif -#if defined(__cplusplus) -#include -#include -#include -#else -#include -#include -#include -#endif - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if defined(__OBJC__) -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if !defined(SWIFT_CALL) -# define SWIFT_CALL __attribute__((swiftcall)) -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT noexcept -#endif -#else -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT -#endif -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_CXX_INT_DEFINED) -#define SWIFT_CXX_INT_DEFINED -namespace swift { -using Int = ptrdiff_t; -using UInt = size_t; -} -#endif -#endif -#if defined(__OBJC__) -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#endif -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" -#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AttributedGraph",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if defined(__OBJC__) -#endif -#if defined(__cplusplus) -#endif -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -#ifndef ATTRIBUTEDGRAPH_SWIFT_H -#define ATTRIBUTEDGRAPH_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wduplicate-method-match" -#pragma clang diagnostic ignored "-Wauto-import" -#if defined(__OBJC__) -#include -#endif -#if defined(__cplusplus) -#include -#include -#include -#else -#include -#include -#include -#endif - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if defined(__OBJC__) -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if !defined(SWIFT_CALL) -# define SWIFT_CALL __attribute__((swiftcall)) -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT noexcept -#endif -#else -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT -#endif -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_CXX_INT_DEFINED) -#define SWIFT_CXX_INT_DEFINED -namespace swift { -using Int = ptrdiff_t; -using UInt = size_t; -} -#endif -#endif -#if defined(__OBJC__) -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#endif -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" -#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AttributedGraph",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if defined(__OBJC__) -#endif -#if defined(__cplusplus) -#endif -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#else -#error unsupported Swift architecture -#endif diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h deleted file mode 100644 index 749b3f64..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "AGAttribute.h" -#import "AGUniqueID.h" -#import "AGComparisonMode.h" -#import "AGCompareValues.h" - -FOUNDATION_EXPORT double AGAttributeVersionNumber; -FOUNDATION_EXPORT const unsigned char AGAttributeVersionString[]; - diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Info.plist b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Info.plist deleted file mode 100644 index 7c2a9ddc..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Info.plist +++ /dev/null @@ -1,57 +0,0 @@ - - - - - BuildMachineOSBuild - 22G91 - CFBundleDevelopmentRegion - en - CFBundleExecutable - AttributeGraph - CFBundleIdentifier - com.apple.attributegraph - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - AttributeGraph - CFBundlePackageType - FMWK - CFBundleShortVersionString - 0.1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - iPhoneOS - - CFBundleVersion - 1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 20C52 - DTPlatformName - iphoneos - DTPlatformVersion - 16.2 - DTSDKBuild - 20C52 - DTSDKName - iphoneos16.2 - DTXcode - 1420 - DTXcodeBuild - 14C18 - MinimumOSVersion - 11.0 - UIDeviceFamily - - 1 - 2 - - UIRequiredDeviceCapabilities - - arm64e - - - diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios.swiftinterface b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios.swiftinterface deleted file mode 100644 index 33c1ad05..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios.swiftinterface +++ /dev/null @@ -1,66 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -// swift-module-flags: -target arm64e-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AttributeGraph -// swift-module-flags-ignorable: -enable-bare-slash-regex -@_exported import AttributeGraph -import Foundation -import Swift -import _Concurrency -import _StringProcessing -@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute : Swift.Hashable, Swift.Equatable, Swift.CustomStringConvertible { - public var identifier: AttributeGraph.AGAttribute - public var wrappedValue: Value { - get - set - } - - @inlinable public init(identifier: AttributeGraph.AGAttribute) { - self.identifier = identifier - } - - @inlinable public init(_ attribute: AttributeGraph.Attribute) { - self = attribute - } - - public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { - get - } - - public subscript(keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { - get - } - - public var description: Swift.String { - get - } - public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public protocol _AttributeBody { - static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) - static var _hasDestroySelf: Swift.Bool { get } - static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) - static var comparisonMode: AGComparisonMode { get } -} -extension AttributeGraph._AttributeBody { - public static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) - public static var _hasDestroySelf: Swift.Bool { - get - } - public static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) - public static var comparisonMode: AGComparisonMode { get } -} -public protocol Rule : AttributeGraph._AttributeBody { - associatedtype Value - static var initialValue: Self.Value? { get } - var value: Self.Value { get } -} -extension AttributeGraph.Rule { - public static var initialValue: Self.Value? { - get - } -} -public func compareValues(_ lhs: A, _ rhs: A, mode: AGComparisonMode = ._3) -> Swift.Bool \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Modules/module.modulemap b/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Modules/module.modulemap deleted file mode 100644 index d4c6a486..00000000 --- a/Sources/AttributeGraph.xcframework/ios-arm64e/AttributeGraph.framework/Modules/module.modulemap +++ /dev/null @@ -1,11 +0,0 @@ -framework module AttributeGraph { - umbrella header "AttributeGraph-umbrella.h" - - export * - module * { export * } -} - -module AttributeGraph.Swift { - header "AttributeGraph-Swift.h" - requires objc -} diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph deleted file mode 120000 index 3756c45a..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph +++ /dev/null @@ -1 +0,0 @@ -./AttributeGraph-14_0 \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph-14_0 b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph-14_0 deleted file mode 100644 index 236e7d62..00000000 Binary files a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph-14_0 and /dev/null differ diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGAttribute.h b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGAttribute.h deleted file mode 100644 index 17f50d10..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGAttribute.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// AGAttribute.h -// -// -// Created by Kyle on 2023/8/30. -// - - -#ifndef AGAttribute_h -#define AGAttribute_h - -#include -#include - -typedef uint32_t AGAttribute __attribute((swift_newtype(struct))); - -CF_EXPORT -const AGAttribute AGAttributeNil; - -#endif /* AGAttribute_h */ diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGCompareValues.h b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGCompareValues.h deleted file mode 100644 index fbc12fad..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGCompareValues.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// AGCompareValues.h -// -// -// Created by Kyle on 2023/10/9. -// - -#ifndef AGCompareValues_h -#define AGCompareValues_h - -#include -#include "AGComparisonMode.h" -#include - -CF_EXTERN_C_BEGIN -CF_EXPORT -bool AGCompareValues(const void *lhs, const void *rhs, const AGComparisonMode comparisonMode, const void *type); -CF_EXTERN_C_END - -#endif /* AGCompareValues_h */ diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGComparisonMode.h b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGComparisonMode.h deleted file mode 100644 index 956aa118..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGComparisonMode.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// AGComparisonMode.hpp -// -// -// Created by Kyle on 2023/12/20. -// - -#ifndef AGComparisonMode_h -#define AGComparisonMode_h - -#include - -typedef CF_OPTIONS(uint32_t, AGComparisonMode) { - AGComparisonMode_0 = 0, - AGComparisonMode_1 = 1 << 0, - AGComparisonMode_2 = 1 << 1, - AGComparisonMode_3 = AGComparisonMode_1 | AGComparisonMode_2, -}; - -#endif /* AGComparisonMode_h */ - diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGUniqueID.h b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGUniqueID.h deleted file mode 100644 index 91501ca1..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGUniqueID.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// AGUniqueID.h -// -// -// Created by Kyle on 2023/10/9. -// - -#ifndef AGUniqueID_h -#define AGUniqueID_h - -#include -typedef long long AGUniqueID; - -CF_EXTERN_C_BEGIN -CF_EXPORT -AGUniqueID AGMakeUniqueID(void); -CF_EXTERN_C_END - -#endif /* AGUniqueID_h */ diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-Swift.h b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-Swift.h deleted file mode 100644 index 22f91973..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-Swift.h +++ /dev/null @@ -1,524 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -#ifndef ATTRIBUTEDGRAPH_SWIFT_H -#define ATTRIBUTEDGRAPH_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wduplicate-method-match" -#pragma clang diagnostic ignored "-Wauto-import" -#if defined(__OBJC__) -#include -#endif -#if defined(__cplusplus) -#include -#include -#include -#else -#include -#include -#include -#endif - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if defined(__OBJC__) -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if !defined(SWIFT_CALL) -# define SWIFT_CALL __attribute__((swiftcall)) -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT noexcept -#endif -#else -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT -#endif -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_CXX_INT_DEFINED) -#define SWIFT_CXX_INT_DEFINED -namespace swift { -using Int = ptrdiff_t; -using UInt = size_t; -} -#endif -#endif -#if defined(__OBJC__) -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#endif -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" -#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AttributedGraph",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if defined(__OBJC__) -#endif -#if defined(__cplusplus) -#endif -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -#ifndef ATTRIBUTEDGRAPH_SWIFT_H -#define ATTRIBUTEDGRAPH_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wduplicate-method-match" -#pragma clang diagnostic ignored "-Wauto-import" -#if defined(__OBJC__) -#include -#endif -#if defined(__cplusplus) -#include -#include -#include -#else -#include -#include -#include -#endif - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if defined(__OBJC__) -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#endif -#if !defined(SWIFT_EXTERN) -# if defined(__cplusplus) -# define SWIFT_EXTERN extern "C" -# else -# define SWIFT_EXTERN extern -# endif -#endif -#if !defined(SWIFT_CALL) -# define SWIFT_CALL __attribute__((swiftcall)) -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT noexcept -#endif -#else -#if !defined(SWIFT_NOEXCEPT) -# define SWIFT_NOEXCEPT -#endif -#endif -#if defined(__cplusplus) -#if !defined(SWIFT_CXX_INT_DEFINED) -#define SWIFT_CXX_INT_DEFINED -namespace swift { -using Int = ptrdiff_t; -using UInt = size_t; -} -#endif -#endif -#if defined(__OBJC__) -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#endif -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" -#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AttributedGraph",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if defined(__OBJC__) -#endif -#if defined(__cplusplus) -#endif -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#else -#error unsupported Swift architecture -#endif diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h deleted file mode 100644 index 5dbff92b..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "AGAttribute.h" -#import "AGUniqueID.h" -#import "AGComparisonMode.h" -#import "AGCompareValues.h" - -FOUNDATION_EXPORT double AGAttributeVersionNumber; -FOUNDATION_EXPORT const unsigned char AGAttributeVersionString[]; - diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Info.plist b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Info.plist deleted file mode 100644 index b0cd31d9..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Info.plist +++ /dev/null @@ -1,48 +0,0 @@ - - - - - BuildMachineOSBuild - 22G91 - CFBundleDevelopmentRegion - en - CFBundleExecutable - AttributeGraph - CFBundleIdentifier - com.apple.attributegraph - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - AttributeGraph - CFBundlePackageType - FMWK - CFBundleShortVersionString - 0.1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 20C52 - DTPlatformName - macosx - DTPlatformVersion - 13.1 - DTSDKBuild - 22C55 - DTSDKName - macosx13.1 - DTXcode - 1420 - DTXcodeBuild - 14C18 - LSMinimumSystemVersion - 10.13 - - diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface deleted file mode 100644 index c67fdd44..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface +++ /dev/null @@ -1,66 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) -// swift-module-flags: -target arm64e-apple-macos12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AttributeGraph -// swift-module-flags-ignorable: -enable-bare-slash-regex -@_exported import AttributeGraph -import Foundation -import Swift -import _Concurrency -import _StringProcessing -@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute : Swift.Hashable, Swift.Equatable, Swift.CustomStringConvertible { - public var identifier: AttributeGraph.AGAttribute - public var wrappedValue: Value { - get - set - } - - @inlinable public init(identifier: AttributeGraph.AGAttribute) { - self.identifier = identifier - } - - @inlinable public init(_ attribute: AttributeGraph.Attribute) { - self = attribute - } - - public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { - get - } - - public subscript(keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { - get - } - - public var description: Swift.String { - get - } - public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool - public func hash(into hasher: inout Swift.Hasher) - public var hashValue: Swift.Int { - get - } -} -public protocol _AttributeBody { - static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) - static var _hasDestroySelf: Swift.Bool { get } - static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) - static var comparisonMode: AGComparisonMode { get } -} -extension AttributeGraph._AttributeBody { - public static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) - public static var _hasDestroySelf: Swift.Bool { - get - } - public static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) - public static var comparisonMode: AGComparisonMode { get } -} -public protocol Rule : AttributeGraph._AttributeBody { - associatedtype Value - static var initialValue: Self.Value? { get } - var value: Self.Value { get } -} -extension AttributeGraph.Rule { - public static var initialValue: Self.Value? { - get - } -} -public func compareValues(_ lhs: A, _ rhs: A, mode: AGComparisonMode = ._3) -> Swift.Bool \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/module.modulemap b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/module.modulemap deleted file mode 100644 index d4c6a486..00000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/module.modulemap +++ /dev/null @@ -1,11 +0,0 @@ -framework module AttributeGraph { - umbrella header "AttributeGraph-umbrella.h" - - export * - module * { export * } -} - -module AttributeGraph.Swift { - header "AttributeGraph-Swift.h" - requires objc -} diff --git a/Sources/OpenGraph/Export.swift b/Sources/OpenGraph/Export.swift deleted file mode 100644 index 2749f66c..00000000 --- a/Sources/OpenGraph/Export.swift +++ /dev/null @@ -1 +0,0 @@ -@_exported import _OpenGraph diff --git a/Sources/OpenGraph/TODO/Attribute.swift b/Sources/OpenGraph/TODO/Attribute.swift deleted file mode 100644 index dbdc7f89..00000000 --- a/Sources/OpenGraph/TODO/Attribute.swift +++ /dev/null @@ -1,15 +0,0 @@ -import _OpenGraph - -@propertyWrapper -public struct Attribute { - var identifier: OGAttribute - - public var wrappedValue: Value { fatalError() } - - @inlinable - public subscript(keyPath: KeyPath) -> Attribute { - fatalError() - } -} - -extension Attribute: Equatable {} diff --git a/Sources/OpenGraph/TODO/Rule.swift b/Sources/OpenGraph/TODO/Rule.swift deleted file mode 100644 index bd7f58fc..00000000 --- a/Sources/OpenGraph/TODO/Rule.swift +++ /dev/null @@ -1,24 +0,0 @@ -import _OpenGraph - -public protocol Rule: _AttributeBody { - associatedtype Value - static var initialValue: Value? { get } - var value: Value { get } -} - -extension Rule { - public static var initialValue: Value? { nil } - - // TODO - public static func _update(_ value: UnsafeMutableRawPointer, attribute: OGAttribute) { - - } - - // TODO - public static func _updateDefault(_ value: UnsafeMutableRawPointer) { - - } - -// public var attribute: Attribute -// public var context: RuleContext -} diff --git a/Sources/OpenGraph/TODO/RuleContext.swift b/Sources/OpenGraph/TODO/RuleContext.swift deleted file mode 100644 index 949b0be8..00000000 --- a/Sources/OpenGraph/TODO/RuleContext.swift +++ /dev/null @@ -1,7 +0,0 @@ -public struct RuleContext { - public var attribute: Attribute - - public init(attribute: Attribute) { - self.attribute = attribute - } -} diff --git a/Sources/OpenGraph/TODO/compareValues.swift b/Sources/OpenGraph/TODO/compareValues.swift deleted file mode 100644 index c9526e93..00000000 --- a/Sources/OpenGraph/TODO/compareValues.swift +++ /dev/null @@ -1,11 +0,0 @@ -import _OpenGraph - -public func compareValues(_ lhs: Value, _ rhs: Value, mode: OGComparisonMode = ._3) -> Bool { - withUnsafePointer(to: lhs) { p1 in - withUnsafePointer(to: rhs) { p2 in - withUnsafePointer(to: Value.self) { metatype in - OGCompareValues(p1, p2, metatype, mode) - } - } - } -} diff --git a/Sources/OpenGraph/_AttributeBody.swift b/Sources/OpenGraph/_AttributeBody.swift deleted file mode 100644 index 8e8f10fe..00000000 --- a/Sources/OpenGraph/_AttributeBody.swift +++ /dev/null @@ -1,33 +0,0 @@ -// -// _AttributeBody.swift -// OpenGraph -// -// Created by Kyle on 2023/10/17. -// Lastest Version: iOS 15.5 -// Status: Blocked by AttributeBodyVisitor - -import _OpenGraph - -public protocol _AttributeBody { - static func _destroySelf(_ value: UnsafeMutableRawPointer) - static var _hasDestroySelf: Bool { get } - static func _updateDefault(_ value: UnsafeMutableRawPointer) - static var comparisonMode: OGComparisonMode { get } - static var flags: OGAttributeTypeFlags { get } -} - -extension _AttributeBody { - // TODO -// public static func _visitBody(_ visitor: inout A1, _ body: UnsafeRawPointer) { -// } - - public static func _destroySelf(_ value: UnsafeMutableRawPointer) {} - - public static var _hasDestroySelf: Bool { false } - - public static func _updateDefault(_ value: UnsafeMutableRawPointer) {} - - public static var comparisonMode: OGComparisonMode { ._2 } - - public static var flags: OGAttributeTypeFlags { ._8 } -} diff --git a/Tests/OpenGraphCompatibilityTests/AGCompareValuesTests.swift b/Tests/OpenGraphCompatibilityTests/AGCompareValuesTests.swift deleted file mode 100644 index 46542498..00000000 --- a/Tests/OpenGraphCompatibilityTests/AGCompareValuesTests.swift +++ /dev/null @@ -1,72 +0,0 @@ -// -// AGCompareValuesTests.swift -// -// -// Created by Kyle on 2023/12/20. -// - -import XCTest -#if OPENGRAPH_COMPATIBILITY_TEST -import AttributeGraph -#else -import OpenGraph -#endif - -final class AGCompareValuesTests: XCTestCase { - override func setUp() async throws { - #if !OPENGRAPH_COMPATIBILITY_TEST - throw XCTSkip("OG implementation for compareValues is not ready") - #endif - } - - func testIntCompare() throws { - XCTAssertTrue(compareValues(1, 1)) - XCTAssertFalse(compareValues(1, 2)) - } - - func testEnumCompare() throws { - enum A { case a, b } - XCTAssertTrue(compareValues(A.a, A.a)) - XCTAssertFalse(compareValues(A.a, A.b)) - - enum B { case a, b, c } - let b = B.b - withUnsafePointer(to: b) { p in - p.withMemoryRebound(to: A.self, capacity: MemoryLayout.size) { pointer in - XCTAssertTrue(compareValues(pointer.pointee, A.b)) - } - } - withUnsafePointer(to: b) { p in - p.withMemoryRebound(to: A.self, capacity: MemoryLayout.size) { pointer in - XCTAssertFalse(compareValues(pointer.pointee, A.a)) - } - } - } - - func testStructCompare() throws { - struct A1{ - var a: Int - var b: Bool - } - struct A2 { - var a: Int - var b: Bool - } - let a = A1(a: 1, b: true) - let b = A1(a: 1, b: true) - let c = A1(a: 1, b: false) - XCTAssertTrue(compareValues(b, a)) - XCTAssertFalse(compareValues(c, a)) - let d = A2(a: 1, b: true) - withUnsafePointer(to: d) { p in - p.withMemoryRebound(to: A1.self, capacity: MemoryLayout.size) { pointer in - XCTAssertTrue(compareValues(pointer.pointee, a)) - } - } - withUnsafePointer(to: d) { p in - p.withMemoryRebound(to: A1.self, capacity: MemoryLayout.size) { pointer in - XCTAssertFalse(compareValues(pointer.pointee, c)) - } - } - } -} diff --git a/Tests/OpenGraphCompatibilityTests/README.md b/Tests/OpenGraphCompatibilityTests/README.md deleted file mode 100644 index bdca1efa..00000000 --- a/Tests/OpenGraphCompatibilityTests/README.md +++ /dev/null @@ -1,11 +0,0 @@ -## OpenSwiftUICompatibilityTests - -Test public API of OpenGraph and run it against with AttributeGraph on Apple Platform. - -```swift -#if OPENGRAPH_COMPATIBILITY_TEST -import AttributeGraph -#else -import OpenGraph -#endif -``` diff --git a/Tests/OpenGraphCompatibilityTests/RuleTests.swift b/Tests/OpenGraphCompatibilityTests/RuleTests.swift deleted file mode 100644 index 3d022614..00000000 --- a/Tests/OpenGraphCompatibilityTests/RuleTests.swift +++ /dev/null @@ -1,23 +0,0 @@ -// -// RuleTests.swift -// -// -// Created by Kyle on 2023/10/17. -// - -import XCTest -#if OPENGRAPH_COMPATIBILITY_TEST -import AttributeGraph -#else -import OpenGraph -#endif - -final class RuleTests: XCTestCase { - func testRuleInitialValue() throws { - struct A: Rule { - typealias Value = Int - var value: Int - } - XCTAssertEqual(A.initialValue, nil) - } -} diff --git a/Tests/OpenGraphCompatibilityTests/UniqueIDTests.swift b/Tests/OpenGraphCompatibilityTests/UniqueIDTests.swift deleted file mode 100644 index a7ef0b68..00000000 --- a/Tests/OpenGraphCompatibilityTests/UniqueIDTests.swift +++ /dev/null @@ -1,30 +0,0 @@ -// -// UniqueIDTests.swift -// -// -// Created by Kyle on 2023/10/9. -// - -import XCTest -#if OPENGRAPH_COMPATIBILITY_TEST -import AttributeGraph -#else -import OpenGraph -#endif - -final class UniqueIDTests: XCTestCase { - #if OPENGRAPH_COMPATIBILITY_TEST - private func makeUniqueID() -> AGUniqueID { - AGMakeUniqueID() - } - #else - private func makeUniqueID() -> OGUniqueID { - OGMakeUniqueID() - } - #endif - - func testUniqueID() throws { - XCTAssertEqual(makeUniqueID(), 1) - XCTAssertEqual(makeUniqueID(), 2) - } -} diff --git a/Tests/OpenGraphTests/DummyTests.swift b/Tests/OpenGraphTests/DummyTests.swift deleted file mode 100644 index 0b02a121..00000000 --- a/Tests/OpenGraphTests/DummyTests.swift +++ /dev/null @@ -1,13 +0,0 @@ -// -// DummyTests.swift -// -// -// Created by Kyle on 2023/12/20. -// - -import XCTest -@testable import OpenGraph - -final class DummyTests: XCTestCase { - func testExample() throws {} -}