diff --git a/.gitignore b/.gitignore index e65f52c6..ef03bf2c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ ### Node ### +# Mac +.DS_Store + # Logs logs *.log diff --git a/native/ios/.gitignore b/native/ios/.gitignore new file mode 100644 index 00000000..1e9ce938 --- /dev/null +++ b/native/ios/.gitignore @@ -0,0 +1,29 @@ +## User settings +xcuserdata/ + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +build/ +DerivedData/ +*.moved-aside +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 + +## Gcc Patch +/*.gcno + +### Xcode Patch ### +*.xcodeproj/* +!*.xcodeproj/project.pbxproj +!*.xcodeproj/xcshareddata/ +!*.xcworkspace/contents.xcworkspacedata +**/xcshareddata/WorkspaceSettings.xcsettings diff --git a/native/ios/OwlClient.xcodeproj/project.pbxproj b/native/ios/OwlClient.xcodeproj/project.pbxproj new file mode 100644 index 00000000..f70b359c --- /dev/null +++ b/native/ios/OwlClient.xcodeproj/project.pbxproj @@ -0,0 +1,479 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + 1E58DCB2274BE87600F055F4 /* OwlClient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E58DCA9274BE87600F055F4 /* OwlClient.framework */; }; + 1E58DCB7274BE87600F055F4 /* OwlClientTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E58DCB6274BE87600F055F4 /* OwlClientTests.swift */; }; + 1E58DCB8274BE87600F055F4 /* OwlClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 1E58DCAC274BE87600F055F4 /* OwlClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1E58DCC2274BE96900F055F4 /* OwlInit.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E58DCC1274BE96900F055F4 /* OwlInit.m */; }; + 1E58DCC4274BE99E00F055F4 /* OwlManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E58DCC3274BE99E00F055F4 /* OwlManager.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1E58DCB3274BE87600F055F4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1E58DCA0274BE87600F055F4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1E58DCA8274BE87600F055F4; + remoteInfo = OwlClient; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1E58DCA9274BE87600F055F4 /* OwlClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OwlClient.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 1E58DCAC274BE87600F055F4 /* OwlClient.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OwlClient.h; sourceTree = ""; }; + 1E58DCB1274BE87600F055F4 /* OwlClientTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OwlClientTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1E58DCB6274BE87600F055F4 /* OwlClientTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OwlClientTests.swift; sourceTree = ""; }; + 1E58DCC1274BE96900F055F4 /* OwlInit.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OwlInit.m; sourceTree = ""; }; + 1E58DCC3274BE99E00F055F4 /* OwlManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OwlManager.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1E58DCA6274BE87600F055F4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E58DCAE274BE87600F055F4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E58DCB2274BE87600F055F4 /* OwlClient.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1E58DC9F274BE87600F055F4 = { + isa = PBXGroup; + children = ( + 1E58DCAB274BE87600F055F4 /* OwlClient */, + 1E58DCB5274BE87600F055F4 /* OwlClientTests */, + 1E58DCAA274BE87600F055F4 /* Products */, + ); + sourceTree = ""; + }; + 1E58DCAA274BE87600F055F4 /* Products */ = { + isa = PBXGroup; + children = ( + 1E58DCA9274BE87600F055F4 /* OwlClient.framework */, + 1E58DCB1274BE87600F055F4 /* OwlClientTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 1E58DCAB274BE87600F055F4 /* OwlClient */ = { + isa = PBXGroup; + children = ( + 1E58DCAC274BE87600F055F4 /* OwlClient.h */, + 1E58DCC1274BE96900F055F4 /* OwlInit.m */, + 1E58DCC3274BE99E00F055F4 /* OwlManager.swift */, + ); + path = OwlClient; + sourceTree = ""; + }; + 1E58DCB5274BE87600F055F4 /* OwlClientTests */ = { + isa = PBXGroup; + children = ( + 1E58DCB6274BE87600F055F4 /* OwlClientTests.swift */, + ); + path = OwlClientTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 1E58DCA4274BE87600F055F4 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E58DCB8274BE87600F055F4 /* OwlClient.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 1E58DCA8274BE87600F055F4 /* OwlClient */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1E58DCBB274BE87600F055F4 /* Build configuration list for PBXNativeTarget "OwlClient" */; + buildPhases = ( + 1E58DCA4274BE87600F055F4 /* Headers */, + 1E58DCA5274BE87600F055F4 /* Sources */, + 1E58DCA6274BE87600F055F4 /* Frameworks */, + 1E58DCA7274BE87600F055F4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = OwlClient; + productName = OwlClient; + productReference = 1E58DCA9274BE87600F055F4 /* OwlClient.framework */; + productType = "com.apple.product-type.framework"; + }; + 1E58DCB0274BE87600F055F4 /* OwlClientTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1E58DCBE274BE87600F055F4 /* Build configuration list for PBXNativeTarget "OwlClientTests" */; + buildPhases = ( + 1E58DCAD274BE87600F055F4 /* Sources */, + 1E58DCAE274BE87600F055F4 /* Frameworks */, + 1E58DCAF274BE87600F055F4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1E58DCB4274BE87600F055F4 /* PBXTargetDependency */, + ); + name = OwlClientTests; + productName = OwlClientTests; + productReference = 1E58DCB1274BE87600F055F4 /* OwlClientTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1E58DCA0274BE87600F055F4 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1310; + LastUpgradeCheck = 1310; + TargetAttributes = { + 1E58DCA8274BE87600F055F4 = { + CreatedOnToolsVersion = 13.1; + LastSwiftMigration = 1310; + }; + 1E58DCB0274BE87600F055F4 = { + CreatedOnToolsVersion = 13.1; + }; + }; + }; + buildConfigurationList = 1E58DCA3274BE87600F055F4 /* Build configuration list for PBXProject "OwlClient" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1E58DC9F274BE87600F055F4; + productRefGroup = 1E58DCAA274BE87600F055F4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1E58DCA8274BE87600F055F4 /* OwlClient */, + 1E58DCB0274BE87600F055F4 /* OwlClientTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1E58DCA7274BE87600F055F4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E58DCAF274BE87600F055F4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1E58DCA5274BE87600F055F4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E58DCC4274BE99E00F055F4 /* OwlManager.swift in Sources */, + 1E58DCC2274BE96900F055F4 /* OwlInit.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1E58DCAD274BE87600F055F4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E58DCB7274BE87600F055F4 /* OwlClientTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1E58DCB4274BE87600F055F4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1E58DCA8274BE87600F055F4 /* OwlClient */; + targetProxy = 1E58DCB3274BE87600F055F4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 1E58DCB9274BE87600F055F4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 1E58DCBA274BE87600F055F4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 1E58DCBC274BE87600F055F4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.formidable.OwlClient; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 1E58DCBD274BE87600F055F4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.formidable.OwlClient; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 1E58DCBF274BE87600F055F4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.formidable.OwlClientTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 1E58DCC0274BE87600F055F4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.formidable.OwlClientTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1E58DCA3274BE87600F055F4 /* Build configuration list for PBXProject "OwlClient" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1E58DCB9274BE87600F055F4 /* Debug */, + 1E58DCBA274BE87600F055F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1E58DCBB274BE87600F055F4 /* Build configuration list for PBXNativeTarget "OwlClient" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1E58DCBC274BE87600F055F4 /* Debug */, + 1E58DCBD274BE87600F055F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1E58DCBE274BE87600F055F4 /* Build configuration list for PBXNativeTarget "OwlClientTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1E58DCBF274BE87600F055F4 /* Debug */, + 1E58DCC0274BE87600F055F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1E58DCA0274BE87600F055F4 /* Project object */; +} diff --git a/native/ios/OwlClient/OwlClient.h b/native/ios/OwlClient/OwlClient.h new file mode 100644 index 00000000..cdee5177 --- /dev/null +++ b/native/ios/OwlClient/OwlClient.h @@ -0,0 +1,18 @@ +// +// OwlClient.h +// OwlClient +// +// Created by Emmanouil Konstantinidis on 22/11/2021. +// + +#import + +//! Project version number for OwlClient. +FOUNDATION_EXPORT double OwlClientVersionNumber; + +//! Project version string for OwlClient. +FOUNDATION_EXPORT const unsigned char OwlClientVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/native/ios/OwlClient/OwlInit.m b/native/ios/OwlClient/OwlInit.m new file mode 100644 index 00000000..b09ea599 --- /dev/null +++ b/native/ios/OwlClient/OwlInit.m @@ -0,0 +1,15 @@ +// +// OwlInit.m +// OwlClient +// +// Created by Emmanouil Konstantinidis on 22/11/2021. +// + +#import + +#import + +__attribute__((constructor)) +static void owlInit() { + NSLog(@"---- OWL ----, Hello from the OWL Client."); +} diff --git a/native/ios/OwlClient/OwlManager.swift b/native/ios/OwlClient/OwlManager.swift new file mode 100644 index 00000000..47573f06 --- /dev/null +++ b/native/ios/OwlClient/OwlManager.swift @@ -0,0 +1,20 @@ +// +// OwlManager.swift +// OwlClient +// +// Created by Emmanouil Konstantinidis on 22/11/2021. +// + +import Foundation + +@objc(OwlManager) +public class OwlManager : NSObject { + @objc(sharedManager) + public static var shared : OwlManager = { + return OwlManager() + }() + + public override init() { + print("---- OWL ----, Hello from the OWL manager.") + } +} diff --git a/native/ios/OwlClientTests/OwlClientTests.swift b/native/ios/OwlClientTests/OwlClientTests.swift new file mode 100644 index 00000000..60eaf506 --- /dev/null +++ b/native/ios/OwlClientTests/OwlClientTests.swift @@ -0,0 +1,33 @@ +// +// OwlClientTests.swift +// OwlClientTests +// +// Created by Emmanouil Konstantinidis on 22/11/2021. +// + +import XCTest +@testable import OwlClient + +class OwlClientTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +}