diff --git a/Example/Podfile.lock b/Example/Podfile.lock index f0500a37c..cf8a783bd 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - TangemSdk (3.3.4) + - TangemSdk (3.8.0) DEPENDENCIES: - TangemSdk (from `../`) @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - TangemSdk: 9ea2c230bd616787bdccc5fb3ab36925d06199d4 + TangemSdk: f3adf8d0c18bf7a76406462fa31c0efa9f2efa93 PODFILE CHECKSUM: fb4745483d8583db4c8ae8aa3ccbde86ca112a6b -COCOAPODS: 1.11.3 +COCOAPODS: 1.12.1 diff --git a/Example/TangemSdkExample.xcodeproj/project.pbxproj b/Example/TangemSdkExample.xcodeproj/project.pbxproj index 9386a6e3f..2a4b0c3a7 100644 --- a/Example/TangemSdkExample.xcodeproj/project.pbxproj +++ b/Example/TangemSdkExample.xcodeproj/project.pbxproj @@ -3,10 +3,12 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ + 2D9AFD722A852FB600DF7002 /* Bls_Signature.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D9AFD712A852FB600DF7002 /* Bls_Signature.xcframework */; }; + 2D9AFD732A852FB600DF7002 /* Bls_Signature.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 2D9AFD712A852FB600DF7002 /* Bls_Signature.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 3672187517CA258835D737D6 /* Pods_TangemSdkExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F391CC3724B714DAE6648A97 /* Pods_TangemSdkExample.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 5D031FFD266A6960008472EC /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D031FFC266A6960008472EC /* ContentView.swift */; }; 5D031FFE266A6960008472EC /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D031FFC266A6960008472EC /* ContentView.swift */; }; @@ -62,6 +64,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( + 2D9AFD732A852FB600DF7002 /* Bls_Signature.xcframework in Embed Frameworks */, 5DBC25CC235F0639005F0C79 /* TangemSdk.framework in Embed Frameworks */, ); name = "Embed Frameworks"; @@ -70,6 +73,7 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 2D9AFD712A852FB600DF7002 /* Bls_Signature.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Bls_Signature.xcframework; path = ../TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework; sourceTree = ""; }; 5D031FFC266A6960008472EC /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 5D032000266A6A15008472EC /* AppModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppModel.swift; sourceTree = ""; }; 5D032008266A8523008472EC /* ExampleButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleButton.swift; sourceTree = ""; }; @@ -110,6 +114,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 2D9AFD722A852FB600DF7002 /* Bls_Signature.xcframework in Frameworks */, 5DBC25CB235F0639005F0C79 /* TangemSdk.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -187,6 +192,7 @@ 5D78C1D7234F4400008D7478 /* Frameworks */ = { isa = PBXGroup; children = ( + 2D9AFD712A852FB600DF7002 /* Bls_Signature.xcframework */, 5DCA54A0235E0D5900C2BB99 /* TangemSdk.framework */, F391CC3724B714DAE6648A97 /* Pods_TangemSdkExample.framework */, ); @@ -288,7 +294,7 @@ }; }; }; - buildConfigurationList = 5D78C1B1234F435B008D7478 /* Build configuration list for PBXProject "TangemSDKExample" */; + buildConfigurationList = 5D78C1B1234F435B008D7478 /* Build configuration list for PBXProject "TangemSdkExample" */; compatibilityVersion = "Xcode 9.3"; developmentRegion = en; hasScannedForEncodings = 0; @@ -692,7 +698,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 5D78C1B1234F435B008D7478 /* Build configuration list for PBXProject "TangemSDKExample" */ = { + 5D78C1B1234F435B008D7478 /* Build configuration list for PBXProject "TangemSdkExample" */ = { isa = XCConfigurationList; buildConfigurations = ( 5D78C1C8234F435C008D7478 /* Debug */, diff --git a/TangemSdk.podspec b/TangemSdk.podspec index 159a5bf2a..7809c5aa8 100644 --- a/TangemSdk.podspec +++ b/TangemSdk.podspec @@ -50,4 +50,5 @@ Tangem is a Swiss-based secure hardware wallet manufacturer that enables blockch 'TangemSdk/TangemSdk/Haptics/*.ahap', 'TangemSdk/TangemSdk/**/Wordlists/*.txt']} + s.vendored_frameworks = 'TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework' end diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/Info.plist b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/Info.plist new file mode 100644 index 000000000..9b3437b5a --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/Info.plist @@ -0,0 +1,40 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + Bls_Signature.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + Bls_Signature.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Bls_Signature b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Bls_Signature new file mode 100755 index 000000000..764166179 Binary files /dev/null and b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Bls_Signature differ diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/BlsSignature.h b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/BlsSignature.h new file mode 100644 index 000000000..61aa7c779 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/BlsSignature.h @@ -0,0 +1,14 @@ +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface BlsSignature: NSObject + ++ (NSString *)publicKeyFrom:(NSString *)privateKey with:(NSError **)error; ++ (NSString *)augSchemeMplG2Map:(NSString *)hashPublicKey and:(NSString*)hashMessage with:(NSError **)error; ++ (NSString *)aggregate: (NSArray *)signatures with:(NSError **)error; ++ (BOOL)verify: (NSArray *)signatures with:(NSString *)publicKey and:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/Bls_Signature-Swift.h b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/Bls_Signature-Swift.h new file mode 100644 index 000000000..f0032d62c --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/Bls_Signature-Swift.h @@ -0,0 +1,294 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +#ifndef BLS_SIGNATURE_SWIFT_H +#define BLS_SIGNATURE_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 "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if __has_include() +# include +#else +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +#endif +#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 !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#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 __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 !defined(SWIFT_DEPRECATED_OBJC) +# 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 +#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(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_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="Bls_Signature",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/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/Bls_Signature.h b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/Bls_Signature.h new file mode 100644 index 000000000..0b757d61f --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Headers/Bls_Signature.h @@ -0,0 +1,18 @@ +// +// Bls_Signature.h +// Bls-Signature +// +// Created by skibinalexander on 26.07.2023. +// + +#import + +//! Project version number for Bls_Signature. +FOUNDATION_EXPORT double Bls_SignatureVersionNumber; + +//! Project version string for Bls_Signature. +FOUNDATION_EXPORT const unsigned char Bls_SignatureVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + +#import diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Info.plist b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Info.plist new file mode 100644 index 000000000..232dc18c8 Binary files /dev/null and b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Info.plist differ diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.abi.json b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 000000000..86a31d7c1 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,475 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Bls_Signature", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "BlsSignatureSwift", + "printedName": "BlsSignatureSwift", + "children": [ + { + "kind": "Function", + "name": "augSchemeMplG2Map", + "printedName": "augSchemeMplG2Map(publicKey:message:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV17augSchemeMplG2Map9publicKey7messageS2S_SStKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV17augSchemeMplG2Map9publicKey7messageS2S_SStKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "aggregate", + "printedName": "aggregate(signatures:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9aggregate10signaturesSSSaySSG_tKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9aggregate10signaturesSSSaySSG_tKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "publicKey", + "printedName": "publicKey(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9publicKey4fromS2S_tKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9publicKey4fromS2S_tKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "verify", + "printedName": "verify(signatures:with:message:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV6verify10signatures4with7messageSbSaySSG_S2StKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV6verify10signatures4with7messageSbSaySSG_S2StKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "ErrorList", + "printedName": "ErrorList", + "children": [ + { + "kind": "Var", + "name": "errorAggregate", + "printedName": "errorAggregate", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO14errorAggregateyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO14errorAggregateyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorAugScheme", + "printedName": "errorAugScheme", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO14errorAugSchemeyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO14errorAugSchemeyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorPublicKeyFromPrivateKey", + "printedName": "errorPublicKeyFromPrivateKey", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO025errorPublicKeyFromPrivateH0yA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO025errorPublicKeyFromPrivateH0yA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorVerify", + "printedName": "errorVerify", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO11errorVerifyyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO11errorVerifyyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO2eeoiySbAE_AEtFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO2eeoiySbAE_AEtFZ", + "moduleName": "Bls_Signature", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivp", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivp", + "moduleName": "Bls_Signature", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivg", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivg", + "moduleName": "Bls_Signature", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO4hash4intoys6HasherVz_tF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO4hash4intoys6HasherVz_tF", + "moduleName": "Bls_Signature", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO", + "moduleName": "Bls_Signature", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:13Bls_Signature0aB5SwiftV", + "mangledName": "$s13Bls_Signature0aB5SwiftV", + "moduleName": "Bls_Signature", + "declAttributes": [ + "AccessControl" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.private.swiftinterface b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 000000000..c8d66c989 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,30 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +// swift-module-flags: -target arm64-apple-ios16.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Bls_Signature +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import Bls_Signature +import Foundation +import Swift +import _Concurrency +import _StringProcessing +public struct BlsSignatureSwift { + public static func augSchemeMplG2Map(publicKey: Swift.String, message: Swift.String) throws -> Swift.String + public static func aggregate(signatures: [Swift.String]) throws -> Swift.String + public static func publicKey(from privateKey: Swift.String) throws -> Swift.String + public static func verify(signatures: [Swift.String], with publicKey: Swift.String, message: Swift.String) throws -> Swift.Bool +} +extension Bls_Signature.BlsSignatureSwift { + public enum ErrorList : Swift.Error { + case errorAggregate + case errorAugScheme + case errorPublicKeyFromPrivateKey + case errorVerify + public static func == (a: Bls_Signature.BlsSignatureSwift.ErrorList, b: Bls_Signature.BlsSignatureSwift.ErrorList) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } +} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Equatable {} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Hashable {} diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftdoc b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 000000000..5b89919a2 Binary files /dev/null and b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftinterface b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 000000000..c8d66c989 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,30 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +// swift-module-flags: -target arm64-apple-ios16.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Bls_Signature +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import Bls_Signature +import Foundation +import Swift +import _Concurrency +import _StringProcessing +public struct BlsSignatureSwift { + public static func augSchemeMplG2Map(publicKey: Swift.String, message: Swift.String) throws -> Swift.String + public static func aggregate(signatures: [Swift.String]) throws -> Swift.String + public static func publicKey(from privateKey: Swift.String) throws -> Swift.String + public static func verify(signatures: [Swift.String], with publicKey: Swift.String, message: Swift.String) throws -> Swift.Bool +} +extension Bls_Signature.BlsSignatureSwift { + public enum ErrorList : Swift.Error { + case errorAggregate + case errorAugScheme + case errorPublicKeyFromPrivateKey + case errorVerify + public static func == (a: Bls_Signature.BlsSignatureSwift.ErrorList, b: Bls_Signature.BlsSignatureSwift.ErrorList) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } +} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Equatable {} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Hashable {} diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/module.modulemap b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/module.modulemap new file mode 100644 index 000000000..c71e5a7b6 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module Bls_Signature { + umbrella header "Bls_Signature.h" + + export * + module * { export * } +} + +module Bls_Signature.Swift { + header "Bls_Signature-Swift.h" + requires objc +} diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/README.md b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/README.md new file mode 100644 index 000000000..ed0cb5e29 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/README.md @@ -0,0 +1,38 @@ +# Bls-Signature + +Wrapper on BLS-Signature library to provide use .cpp implementation and use .c blst.a + +https://github.com/Chia-Network/bls-signatures +clone by commit hash 900af6a06eed0349174e0d845a56556a619aec52 + +## Install + +### 1. you need to compile blst.a library and place it in a category bls-signature in lib for any sdk + +> ``sudo bash build_blst.sh`` + +### 2. Build fraemwork platform=iOS + +> `` + xcodebuild archive + -scheme Bls-Signature + -destination "generic/platform=iOS" + -archivePath "archives/Bls-Signature-iOS" + SKIP_INSTALL=NO + BUILD_LIBRARY_FOR_DISTRIBUTION=YES +`` + +### 3. Build fraemwork platform=iOS Simulator + +> `` + xcodebuild archive + -scheme Bls-Signature + -destination "generic/platform=iOS Simulator" + -archivePath "archives/Bls-Signature-Simulator" + SKIP_INSTALL=NO + BUILD_LIBRARY_FOR_DISTRIBUTION=YES +`` + +### 4. Assembly fraemworks for Cross Compile xcfraemwork + +> ``xcodebuild -create-xcframework -framework archives/Bls-Signature-iOS.xcarchive/Products/Library/Frameworks/Bls_Signature.framework -framework archives/Bls-Signature-Simulator.xcarchive/Products/Library/Frameworks/Bls_Signature.framework -output Bls_Signature.xcframework`` diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/_CodeSignature/CodeResources b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/_CodeSignature/CodeResources new file mode 100644 index 000000000..4537a7685 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64/Bls_Signature.framework/_CodeSignature/CodeResources @@ -0,0 +1,212 @@ + + + + + files + + Headers/BlsSignature.h + + l+Ku9KO+P/8Px2LkSVRgsrjkoZA= + + Headers/Bls_Signature-Swift.h + + yMx6Kg5llz8Gw1wRxvt3AW3SD+A= + + Headers/Bls_Signature.h + + xoaMm7e9mNsm0EVpDrIcwyrnUoo= + + Info.plist + + rY8/FPBKwEu76G75uNH3rji0wKI= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.abi.json + + /UJL0PlZQnjN6xtcDXmZGKXlYQg= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.private.swiftinterface + + Aj1xL7XBtW7bCE2zIf5AlMYYXfM= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftdoc + + V0kajdV/h3YOKu9RZYVzaRuWPfM= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftinterface + + Aj1xL7XBtW7bCE2zIf5AlMYYXfM= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftmodule + + 4A7RYmWaxG/a584hXlOmgdZfjbo= + + Modules/module.modulemap + + ghmghI8vmx9wjHFBZtMZhCBLm6g= + + README.md + + 0DBzngdAsTkSzOshwqGyrs+OeGM= + + + files2 + + Headers/BlsSignature.h + + hash2 + + H3qXtPOHV+/cP48VGnjUBvA09eezAU9IJzdA/ld9YLc= + + + Headers/Bls_Signature-Swift.h + + hash2 + + 46kUhmiRCysJjRh1PXiR7Ce0RKA/TktsI0kxjCyOa74= + + + Headers/Bls_Signature.h + + hash2 + + qwhpp8pLFkNdsT5tT3zWGIAqRbDFtyWy+LI99hMDVG8= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.abi.json + + hash2 + + LH3m5wYjpCr9NYaITSqIh5d9+4YkLEVSHGkuDqaROaE= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.private.swiftinterface + + hash2 + + WX6Y3nZvdtO1Blyq/Y7sVxPN/vshKPSeOxrRCPWl53o= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftdoc + + hash2 + + YSyvYUiol7pzkCNTbTiItLrCuSeIaPnNpywlVZnVw50= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftinterface + + hash2 + + WX6Y3nZvdtO1Blyq/Y7sVxPN/vshKPSeOxrRCPWl53o= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios.swiftmodule + + hash2 + + 8MDQN9SfnAq4RyajfDM6uDj1DX8wp2JpxPX4cQg1j8o= + + + Modules/module.modulemap + + hash2 + + vbo04+4rAKYmnBXpcXmyBXlxAYGTkGfFjbNpoarxpEk= + + + README.md + + hash2 + + NCpKKMm0E0UslA/HH0UQhSXEMLzSZaJsW57rRhWDbaM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Bls_Signature b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Bls_Signature new file mode 100755 index 000000000..432ccc25f Binary files /dev/null and b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Bls_Signature differ diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/BlsSignature.h b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/BlsSignature.h new file mode 100644 index 000000000..61aa7c779 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/BlsSignature.h @@ -0,0 +1,14 @@ +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface BlsSignature: NSObject + ++ (NSString *)publicKeyFrom:(NSString *)privateKey with:(NSError **)error; ++ (NSString *)augSchemeMplG2Map:(NSString *)hashPublicKey and:(NSString*)hashMessage with:(NSError **)error; ++ (NSString *)aggregate: (NSArray *)signatures with:(NSError **)error; ++ (BOOL)verify: (NSArray *)signatures with:(NSString *)publicKey and:(NSString *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/Bls_Signature-Swift.h b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/Bls_Signature-Swift.h new file mode 100644 index 000000000..32be6791c --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/Bls_Signature-Swift.h @@ -0,0 +1,584 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +#ifndef BLS_SIGNATURE_SWIFT_H +#define BLS_SIGNATURE_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 "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if __has_include() +# include +#else +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +#endif +#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 !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#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 __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 !defined(SWIFT_DEPRECATED_OBJC) +# 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 +#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(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_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="Bls_Signature",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.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +#ifndef BLS_SIGNATURE_SWIFT_H +#define BLS_SIGNATURE_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 "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if __has_include() +# include +#else +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +#endif +#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 !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#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 __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 !defined(SWIFT_DEPRECATED_OBJC) +# 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 +#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(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_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="Bls_Signature",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/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/Bls_Signature.h b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/Bls_Signature.h new file mode 100644 index 000000000..0b757d61f --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Headers/Bls_Signature.h @@ -0,0 +1,18 @@ +// +// Bls_Signature.h +// Bls-Signature +// +// Created by skibinalexander on 26.07.2023. +// + +#import + +//! Project version number for Bls_Signature. +FOUNDATION_EXPORT double Bls_SignatureVersionNumber; + +//! Project version string for Bls_Signature. +FOUNDATION_EXPORT const unsigned char Bls_SignatureVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + +#import diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Info.plist b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Info.plist new file mode 100644 index 000000000..d7db0badb Binary files /dev/null and b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Info.plist differ diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.abi.json b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 000000000..86a31d7c1 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,475 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Bls_Signature", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "BlsSignatureSwift", + "printedName": "BlsSignatureSwift", + "children": [ + { + "kind": "Function", + "name": "augSchemeMplG2Map", + "printedName": "augSchemeMplG2Map(publicKey:message:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV17augSchemeMplG2Map9publicKey7messageS2S_SStKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV17augSchemeMplG2Map9publicKey7messageS2S_SStKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "aggregate", + "printedName": "aggregate(signatures:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9aggregate10signaturesSSSaySSG_tKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9aggregate10signaturesSSSaySSG_tKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "publicKey", + "printedName": "publicKey(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9publicKey4fromS2S_tKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9publicKey4fromS2S_tKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "verify", + "printedName": "verify(signatures:with:message:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV6verify10signatures4with7messageSbSaySSG_S2StKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV6verify10signatures4with7messageSbSaySSG_S2StKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "ErrorList", + "printedName": "ErrorList", + "children": [ + { + "kind": "Var", + "name": "errorAggregate", + "printedName": "errorAggregate", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO14errorAggregateyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO14errorAggregateyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorAugScheme", + "printedName": "errorAugScheme", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO14errorAugSchemeyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO14errorAugSchemeyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorPublicKeyFromPrivateKey", + "printedName": "errorPublicKeyFromPrivateKey", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO025errorPublicKeyFromPrivateH0yA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO025errorPublicKeyFromPrivateH0yA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorVerify", + "printedName": "errorVerify", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO11errorVerifyyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO11errorVerifyyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO2eeoiySbAE_AEtFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO2eeoiySbAE_AEtFZ", + "moduleName": "Bls_Signature", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivp", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivp", + "moduleName": "Bls_Signature", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivg", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivg", + "moduleName": "Bls_Signature", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO4hash4intoys6HasherVz_tF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO4hash4intoys6HasherVz_tF", + "moduleName": "Bls_Signature", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO", + "moduleName": "Bls_Signature", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:13Bls_Signature0aB5SwiftV", + "mangledName": "$s13Bls_Signature0aB5SwiftV", + "moduleName": "Bls_Signature", + "declAttributes": [ + "AccessControl" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 000000000..f47dd5d46 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,30 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +// swift-module-flags: -target arm64-apple-ios16.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Bls_Signature +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import Bls_Signature +import Foundation +import Swift +import _Concurrency +import _StringProcessing +public struct BlsSignatureSwift { + public static func augSchemeMplG2Map(publicKey: Swift.String, message: Swift.String) throws -> Swift.String + public static func aggregate(signatures: [Swift.String]) throws -> Swift.String + public static func publicKey(from privateKey: Swift.String) throws -> Swift.String + public static func verify(signatures: [Swift.String], with publicKey: Swift.String, message: Swift.String) throws -> Swift.Bool +} +extension Bls_Signature.BlsSignatureSwift { + public enum ErrorList : Swift.Error { + case errorAggregate + case errorAugScheme + case errorPublicKeyFromPrivateKey + case errorVerify + public static func == (a: Bls_Signature.BlsSignatureSwift.ErrorList, b: Bls_Signature.BlsSignatureSwift.ErrorList) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } +} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Equatable {} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Hashable {} diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 000000000..a4b342e34 Binary files /dev/null and b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 000000000..f47dd5d46 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,30 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +// swift-module-flags: -target arm64-apple-ios16.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Bls_Signature +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import Bls_Signature +import Foundation +import Swift +import _Concurrency +import _StringProcessing +public struct BlsSignatureSwift { + public static func augSchemeMplG2Map(publicKey: Swift.String, message: Swift.String) throws -> Swift.String + public static func aggregate(signatures: [Swift.String]) throws -> Swift.String + public static func publicKey(from privateKey: Swift.String) throws -> Swift.String + public static func verify(signatures: [Swift.String], with publicKey: Swift.String, message: Swift.String) throws -> Swift.Bool +} +extension Bls_Signature.BlsSignatureSwift { + public enum ErrorList : Swift.Error { + case errorAggregate + case errorAugScheme + case errorPublicKeyFromPrivateKey + case errorVerify + public static func == (a: Bls_Signature.BlsSignatureSwift.ErrorList, b: Bls_Signature.BlsSignatureSwift.ErrorList) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } +} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Equatable {} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Hashable {} diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.abi.json b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 000000000..86a31d7c1 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,475 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Bls_Signature", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "BlsSignatureSwift", + "printedName": "BlsSignatureSwift", + "children": [ + { + "kind": "Function", + "name": "augSchemeMplG2Map", + "printedName": "augSchemeMplG2Map(publicKey:message:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV17augSchemeMplG2Map9publicKey7messageS2S_SStKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV17augSchemeMplG2Map9publicKey7messageS2S_SStKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "aggregate", + "printedName": "aggregate(signatures:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9aggregate10signaturesSSSaySSG_tKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9aggregate10signaturesSSSaySSG_tKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "publicKey", + "printedName": "publicKey(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9publicKey4fromS2S_tKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9publicKey4fromS2S_tKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "verify", + "printedName": "verify(signatures:with:message:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV6verify10signatures4with7messageSbSaySSG_S2StKFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV6verify10signatures4with7messageSbSaySSG_S2StKFZ", + "moduleName": "Bls_Signature", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "ErrorList", + "printedName": "ErrorList", + "children": [ + { + "kind": "Var", + "name": "errorAggregate", + "printedName": "errorAggregate", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO14errorAggregateyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO14errorAggregateyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorAugScheme", + "printedName": "errorAugScheme", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO14errorAugSchemeyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO14errorAugSchemeyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorPublicKeyFromPrivateKey", + "printedName": "errorPublicKeyFromPrivateKey", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO025errorPublicKeyFromPrivateH0yA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO025errorPublicKeyFromPrivateH0yA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Var", + "name": "errorVerify", + "printedName": "errorVerify", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Bls_Signature.BlsSignatureSwift.ErrorList.Type) -> Bls_Signature.BlsSignatureSwift.ErrorList", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO11errorVerifyyA2EmF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO11errorVerifyyA2EmF", + "moduleName": "Bls_Signature" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + }, + { + "kind": "TypeNominal", + "name": "ErrorList", + "printedName": "Bls_Signature.BlsSignatureSwift.ErrorList", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO2eeoiySbAE_AEtFZ", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO2eeoiySbAE_AEtFZ", + "moduleName": "Bls_Signature", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivp", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivp", + "moduleName": "Bls_Signature", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivg", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO9hashValueSivg", + "moduleName": "Bls_Signature", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO4hash4intoys6HasherVz_tF", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO4hash4intoys6HasherVz_tF", + "moduleName": "Bls_Signature", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:13Bls_Signature0aB5SwiftV9ErrorListO", + "mangledName": "$s13Bls_Signature0aB5SwiftV9ErrorListO", + "moduleName": "Bls_Signature", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:13Bls_Signature0aB5SwiftV", + "mangledName": "$s13Bls_Signature0aB5SwiftV", + "moduleName": "Bls_Signature", + "declAttributes": [ + "AccessControl" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 000000000..d1651a9fd --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,30 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +// swift-module-flags: -target x86_64-apple-ios16.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Bls_Signature +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import Bls_Signature +import Foundation +import Swift +import _Concurrency +import _StringProcessing +public struct BlsSignatureSwift { + public static func augSchemeMplG2Map(publicKey: Swift.String, message: Swift.String) throws -> Swift.String + public static func aggregate(signatures: [Swift.String]) throws -> Swift.String + public static func publicKey(from privateKey: Swift.String) throws -> Swift.String + public static func verify(signatures: [Swift.String], with publicKey: Swift.String, message: Swift.String) throws -> Swift.Bool +} +extension Bls_Signature.BlsSignatureSwift { + public enum ErrorList : Swift.Error { + case errorAggregate + case errorAugScheme + case errorPublicKeyFromPrivateKey + case errorVerify + public static func == (a: Bls_Signature.BlsSignatureSwift.ErrorList, b: Bls_Signature.BlsSignatureSwift.ErrorList) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } +} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Equatable {} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Hashable {} diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 000000000..14c491269 Binary files /dev/null and b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 000000000..d1651a9fd --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,30 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +// swift-module-flags: -target x86_64-apple-ios16.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Bls_Signature +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import Bls_Signature +import Foundation +import Swift +import _Concurrency +import _StringProcessing +public struct BlsSignatureSwift { + public static func augSchemeMplG2Map(publicKey: Swift.String, message: Swift.String) throws -> Swift.String + public static func aggregate(signatures: [Swift.String]) throws -> Swift.String + public static func publicKey(from privateKey: Swift.String) throws -> Swift.String + public static func verify(signatures: [Swift.String], with publicKey: Swift.String, message: Swift.String) throws -> Swift.Bool +} +extension Bls_Signature.BlsSignatureSwift { + public enum ErrorList : Swift.Error { + case errorAggregate + case errorAugScheme + case errorPublicKeyFromPrivateKey + case errorVerify + public static func == (a: Bls_Signature.BlsSignatureSwift.ErrorList, b: Bls_Signature.BlsSignatureSwift.ErrorList) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } +} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Equatable {} +extension Bls_Signature.BlsSignatureSwift.ErrorList : Swift.Hashable {} diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/module.modulemap b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/module.modulemap new file mode 100644 index 000000000..c71e5a7b6 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module Bls_Signature { + umbrella header "Bls_Signature.h" + + export * + module * { export * } +} + +module Bls_Signature.Swift { + header "Bls_Signature-Swift.h" + requires objc +} diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/README.md b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/README.md new file mode 100644 index 000000000..ed0cb5e29 --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/README.md @@ -0,0 +1,38 @@ +# Bls-Signature + +Wrapper on BLS-Signature library to provide use .cpp implementation and use .c blst.a + +https://github.com/Chia-Network/bls-signatures +clone by commit hash 900af6a06eed0349174e0d845a56556a619aec52 + +## Install + +### 1. you need to compile blst.a library and place it in a category bls-signature in lib for any sdk + +> ``sudo bash build_blst.sh`` + +### 2. Build fraemwork platform=iOS + +> `` + xcodebuild archive + -scheme Bls-Signature + -destination "generic/platform=iOS" + -archivePath "archives/Bls-Signature-iOS" + SKIP_INSTALL=NO + BUILD_LIBRARY_FOR_DISTRIBUTION=YES +`` + +### 3. Build fraemwork platform=iOS Simulator + +> `` + xcodebuild archive + -scheme Bls-Signature + -destination "generic/platform=iOS Simulator" + -archivePath "archives/Bls-Signature-Simulator" + SKIP_INSTALL=NO + BUILD_LIBRARY_FOR_DISTRIBUTION=YES +`` + +### 4. Assembly fraemworks for Cross Compile xcfraemwork + +> ``xcodebuild -create-xcframework -framework archives/Bls-Signature-iOS.xcarchive/Products/Library/Frameworks/Bls_Signature.framework -framework archives/Bls-Signature-Simulator.xcarchive/Products/Library/Frameworks/Bls_Signature.framework -output Bls_Signature.xcframework`` diff --git a/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/_CodeSignature/CodeResources b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/_CodeSignature/CodeResources new file mode 100644 index 000000000..17d71c7bd --- /dev/null +++ b/TangemSdk/TangemSdk/Frameworks/Bls_Signature.xcframework/ios-arm64_x86_64-simulator/Bls_Signature.framework/_CodeSignature/CodeResources @@ -0,0 +1,267 @@ + + + + + files + + Headers/BlsSignature.h + + l+Ku9KO+P/8Px2LkSVRgsrjkoZA= + + Headers/Bls_Signature-Swift.h + + jXksOIgL1gI0f4LSp1oaAP9ecMM= + + Headers/Bls_Signature.h + + xoaMm7e9mNsm0EVpDrIcwyrnUoo= + + Info.plist + + RsabaRnEqO0sFMxBPx2u/S8PDbY= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.abi.json + + /UJL0PlZQnjN6xtcDXmZGKXlYQg= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + g7Lf5+6vqLzTMJ4A1rNtSR/Rchs= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + z+Vv1IvuCcNgNIcY3ZgXCjw61gg= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + g7Lf5+6vqLzTMJ4A1rNtSR/Rchs= + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + QB3TIyQok1KpmWxhaTxGxWGFyWs= + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.abi.json + + /UJL0PlZQnjN6xtcDXmZGKXlYQg= + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + 9qK4Fl2BQqPOMHAq6uPeDH7fy2Y= + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + EmpkZLb/72m9JxGO2SWatXuKthg= + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + 9qK4Fl2BQqPOMHAq6uPeDH7fy2Y= + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + AnJELKQ/UVXjycEmf5jOkbG1IJc= + + Modules/module.modulemap + + ghmghI8vmx9wjHFBZtMZhCBLm6g= + + README.md + + 0DBzngdAsTkSzOshwqGyrs+OeGM= + + + files2 + + Headers/BlsSignature.h + + hash2 + + H3qXtPOHV+/cP48VGnjUBvA09eezAU9IJzdA/ld9YLc= + + + Headers/Bls_Signature-Swift.h + + hash2 + + tOMDfAcu3hksbcsbz2FsnTTeyhuTGuBCjDbxlMKjKdk= + + + Headers/Bls_Signature.h + + hash2 + + qwhpp8pLFkNdsT5tT3zWGIAqRbDFtyWy+LI99hMDVG8= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.abi.json + + hash2 + + LH3m5wYjpCr9NYaITSqIh5d9+4YkLEVSHGkuDqaROaE= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hash2 + + 3yFk8hkffLWOSsC1gyQLqfcd5UjF7XxT1NaowUSiSLY= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + gfHMY2HKvnGlgj/+R5meMQobgTX1/R2PZbgBnn+t7y8= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + 3yFk8hkffLWOSsC1gyQLqfcd5UjF7XxT1NaowUSiSLY= + + + Modules/Bls_Signature.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + vbuPgJFe45uoh1yBdf+NMDLl4T5OeO3B03dV2Amq6gQ= + + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.abi.json + + hash2 + + LH3m5wYjpCr9NYaITSqIh5d9+4YkLEVSHGkuDqaROaE= + + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + hash2 + + cIA/Jizj4Q93cbn2HgcAozSLm9yManCv1Aa7lRsRItc= + + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + uvyTqJIG4hRRmfDX+56s7Q8J/Hz7vfWuuVZZwSgj1F4= + + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + cIA/Jizj4Q93cbn2HgcAozSLm9yManCv1Aa7lRsRItc= + + + Modules/Bls_Signature.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + bu+Na4UDu/ZWAJROIqiizUJnQG4HAuUU127vkUNd80Q= + + + Modules/module.modulemap + + hash2 + + vbo04+4rAKYmnBXpcXmyBXlxAYGTkGfFjbNpoarxpEk= + + + README.md + + hash2 + + NCpKKMm0E0UslA/HH0UQhSXEMLzSZaJsW57rRhWDbaM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + +