diff --git a/.gitignore b/.gitignore index ba1ff083f0d87daaf2a6d8aaba7f0baf49cb2b11..a5c1eae51f4eb678400ddcd5496fa22aa1571d95 100644 --- a/.gitignore +++ b/.gitignore @@ -37,9 +37,9 @@ playground.xcworkspace # Swift Package Manager # # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. -# Packages/ -# Package.pins -# Package.resolved +Packages/ +Package.pins +Package.resolved # *.xcodeproj # # Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata @@ -54,7 +54,7 @@ playground.xcworkspace # you should judge for yourself, the pros and cons are mentioned at: # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control # -# Pods/ +Pods/ # # Add this line if you want to avoid checking in source code from the Xcode workspace # *.xcworkspace @@ -87,4 +87,7 @@ fastlane/test_output # After new code Injection tools there's a generated folder /iOSInjectionProject # https://github.com/johnno1962/injectionforxcode -iOSInjectionProject/ \ No newline at end of file +iOSInjectionProject/ + +# MacOS +.DS_Store \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 148897c4c977f16a94d7faaa79709a48d9395de7..7a639e881f718c2e75ba5fefd9ee7cdd5316cdfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## [2.3.9] - 29 Apr, 2025 + +- 🔨 Updated several enum values for better clarity + ## [2.3.8] - 25 Apr, 2025 - 🔥 Improved overall performance and stability diff --git a/MyIdSample.xcodeproj/project.pbxproj b/MyIdSample.xcodeproj/project.pbxproj deleted file mode 100644 index 0b91bb24416add9331f211617695a0d7183ceede..0000000000000000000000000000000000000000 --- a/MyIdSample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,813 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 55; - objects = { - -/* Begin PBXBuildFile section */ - 4A0C1B0271B1A8BAF3B2EFEF /* Pods_MyIdSample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2ABB1AECB56DAC1FB3888A8 /* Pods_MyIdSample.framework */; }; - 6DD231C7C89B2B5662F00170 /* Pods_MyIdSample_MyIdSampleUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0584B25B2F961E34B28B8037 /* Pods_MyIdSample_MyIdSampleUITests.framework */; }; - 7E2F858C28F7186800290C6E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E2F858B28F7186800290C6E /* AppDelegate.swift */; }; - 7E2F858E28F7186800290C6E /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E2F858D28F7186800290C6E /* SceneDelegate.swift */; }; - 7E2F859028F7186800290C6E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E2F858F28F7186800290C6E /* ViewController.swift */; }; - 7E2F859328F7186800290C6E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7E2F859128F7186800290C6E /* Main.storyboard */; }; - 7E2F859528F7186900290C6E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7E2F859428F7186900290C6E /* Assets.xcassets */; }; - 7E2F859828F7186900290C6E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7E2F859628F7186900290C6E /* LaunchScreen.storyboard */; }; - 7E2F85A328F7186A00290C6E /* MyIdSampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E2F85A228F7186A00290C6E /* MyIdSampleTests.swift */; }; - 7E2F85AD28F7186A00290C6E /* MyIdSampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E2F85AC28F7186A00290C6E /* MyIdSampleUITests.swift */; }; - 7E2F85AF28F7186A00290C6E /* MyIdSampleUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E2F85AE28F7186A00290C6E /* MyIdSampleUITestsLaunchTests.swift */; }; - 7E3FCB122A43B5BC00255A9C /* ImageSaver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E3FCB112A43B5BC00255A9C /* ImageSaver.swift */; }; - 7E6924E328F73CE6009565F7 /* StartViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E6924E228F73CE6009565F7 /* StartViewController.m */; }; - C6EDC8ED0F24CF391C421A1A /* Pods_MyIdSampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A8AFA09F817C996454C7E56 /* Pods_MyIdSampleTests.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 7E2F859F28F7186A00290C6E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 7E2F858028F7186800290C6E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 7E2F858728F7186800290C6E; - remoteInfo = MyIdSample; - }; - 7E2F85A928F7186A00290C6E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 7E2F858028F7186800290C6E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 7E2F858728F7186800290C6E; - remoteInfo = MyIdSample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 7E72E5392A9883AD00152C1F /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 0584B25B2F961E34B28B8037 /* Pods_MyIdSample_MyIdSampleUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MyIdSample_MyIdSampleUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3749E526FB91A5B40C1F4A14 /* Pods-MyIdSampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MyIdSampleTests.release.xcconfig"; path = "Target Support Files/Pods-MyIdSampleTests/Pods-MyIdSampleTests.release.xcconfig"; sourceTree = ""; }; - 4DB1B60DE92CE8FF0B0B660B /* Pods-MyIdSample-MyIdSampleUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MyIdSample-MyIdSampleUITests.debug.xcconfig"; path = "Target Support Files/Pods-MyIdSample-MyIdSampleUITests/Pods-MyIdSample-MyIdSampleUITests.debug.xcconfig"; sourceTree = ""; }; - 5FED4B5FF06CA02D7380B4F6 /* Pods-MyIdSample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MyIdSample.release.xcconfig"; path = "Target Support Files/Pods-MyIdSample/Pods-MyIdSample.release.xcconfig"; sourceTree = ""; }; - 6778206B4335C1A61CF0B30F /* Pods-MyIdSampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MyIdSampleTests.debug.xcconfig"; path = "Target Support Files/Pods-MyIdSampleTests/Pods-MyIdSampleTests.debug.xcconfig"; sourceTree = ""; }; - 6A8AFA09F817C996454C7E56 /* Pods_MyIdSampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MyIdSampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7E2F858828F7186800290C6E /* MyIdSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MyIdSample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 7E2F858B28F7186800290C6E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7E2F858D28F7186800290C6E /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; - 7E2F858F28F7186800290C6E /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 7E2F859228F7186800290C6E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 7E2F859428F7186900290C6E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 7E2F859728F7186900290C6E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 7E2F859928F7186900290C6E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 7E2F859E28F7186A00290C6E /* MyIdSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MyIdSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 7E2F85A228F7186A00290C6E /* MyIdSampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyIdSampleTests.swift; sourceTree = ""; }; - 7E2F85A828F7186A00290C6E /* MyIdSampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MyIdSampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 7E2F85AC28F7186A00290C6E /* MyIdSampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyIdSampleUITests.swift; sourceTree = ""; }; - 7E2F85AE28F7186A00290C6E /* MyIdSampleUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyIdSampleUITestsLaunchTests.swift; sourceTree = ""; }; - 7E3FCB112A43B5BC00255A9C /* ImageSaver.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageSaver.swift; sourceTree = ""; }; - 7E6924E028F73CDD009565F7 /* MyIdSample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MyIdSample-Bridging-Header.h"; sourceTree = ""; }; - 7E6924E128F73CE4009565F7 /* StartViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StartViewController.h; sourceTree = ""; }; - 7E6924E228F73CE6009565F7 /* StartViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StartViewController.m; sourceTree = ""; }; - B087814E61624E7CFF3C815B /* Pods-MyIdSample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MyIdSample.debug.xcconfig"; path = "Target Support Files/Pods-MyIdSample/Pods-MyIdSample.debug.xcconfig"; sourceTree = ""; }; - D2ABB1AECB56DAC1FB3888A8 /* Pods_MyIdSample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MyIdSample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F6C0106D3DB6855BEC00FE4D /* Pods-MyIdSample-MyIdSampleUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MyIdSample-MyIdSampleUITests.release.xcconfig"; path = "Target Support Files/Pods-MyIdSample-MyIdSampleUITests/Pods-MyIdSample-MyIdSampleUITests.release.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 7E2F858528F7186800290C6E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 4A0C1B0271B1A8BAF3B2EFEF /* Pods_MyIdSample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7E2F859B28F7186A00290C6E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C6EDC8ED0F24CF391C421A1A /* Pods_MyIdSampleTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7E2F85A528F7186A00290C6E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 6DD231C7C89B2B5662F00170 /* Pods_MyIdSample_MyIdSampleUITests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0C1C95B507A993AD65DEE004 /* Pods */ = { - isa = PBXGroup; - children = ( - B087814E61624E7CFF3C815B /* Pods-MyIdSample.debug.xcconfig */, - 5FED4B5FF06CA02D7380B4F6 /* Pods-MyIdSample.release.xcconfig */, - 4DB1B60DE92CE8FF0B0B660B /* Pods-MyIdSample-MyIdSampleUITests.debug.xcconfig */, - F6C0106D3DB6855BEC00FE4D /* Pods-MyIdSample-MyIdSampleUITests.release.xcconfig */, - 6778206B4335C1A61CF0B30F /* Pods-MyIdSampleTests.debug.xcconfig */, - 3749E526FB91A5B40C1F4A14 /* Pods-MyIdSampleTests.release.xcconfig */, - ); - path = Pods; - sourceTree = ""; - }; - 7E2F857F28F7186800290C6E = { - isa = PBXGroup; - children = ( - 7E2F858A28F7186800290C6E /* MyIdSample */, - 7E2F85A128F7186A00290C6E /* MyIdSampleTests */, - 7E2F85AB28F7186A00290C6E /* MyIdSampleUITests */, - 7E2F858928F7186800290C6E /* Products */, - 0C1C95B507A993AD65DEE004 /* Pods */, - 7E6924E028F73CDD009565F7 /* MyIdSample-Bridging-Header.h */, - 921C89C354748A1E6176061F /* Frameworks */, - ); - sourceTree = ""; - }; - 7E2F858928F7186800290C6E /* Products */ = { - isa = PBXGroup; - children = ( - 7E2F858828F7186800290C6E /* MyIdSample.app */, - 7E2F859E28F7186A00290C6E /* MyIdSampleTests.xctest */, - 7E2F85A828F7186A00290C6E /* MyIdSampleUITests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 7E2F858A28F7186800290C6E /* MyIdSample */ = { - isa = PBXGroup; - children = ( - 7E6924E528F73D30009565F7 /* ObjC */, - 7E6924E428F73D23009565F7 /* Swift */, - 7E2F859128F7186800290C6E /* Main.storyboard */, - 7E2F859428F7186900290C6E /* Assets.xcassets */, - 7E2F859628F7186900290C6E /* LaunchScreen.storyboard */, - 7E2F859928F7186900290C6E /* Info.plist */, - ); - path = MyIdSample; - sourceTree = ""; - }; - 7E2F85A128F7186A00290C6E /* MyIdSampleTests */ = { - isa = PBXGroup; - children = ( - 7E2F85A228F7186A00290C6E /* MyIdSampleTests.swift */, - ); - path = MyIdSampleTests; - sourceTree = ""; - }; - 7E2F85AB28F7186A00290C6E /* MyIdSampleUITests */ = { - isa = PBXGroup; - children = ( - 7E2F85AC28F7186A00290C6E /* MyIdSampleUITests.swift */, - 7E2F85AE28F7186A00290C6E /* MyIdSampleUITestsLaunchTests.swift */, - ); - path = MyIdSampleUITests; - sourceTree = ""; - }; - 7E6924E428F73D23009565F7 /* Swift */ = { - isa = PBXGroup; - children = ( - 7E2F858B28F7186800290C6E /* AppDelegate.swift */, - 7E2F858D28F7186800290C6E /* SceneDelegate.swift */, - 7E2F858F28F7186800290C6E /* ViewController.swift */, - 7E3FCB112A43B5BC00255A9C /* ImageSaver.swift */, - ); - path = Swift; - sourceTree = ""; - }; - 7E6924E528F73D30009565F7 /* ObjC */ = { - isa = PBXGroup; - children = ( - 7E6924E128F73CE4009565F7 /* StartViewController.h */, - 7E6924E228F73CE6009565F7 /* StartViewController.m */, - ); - path = ObjC; - sourceTree = ""; - }; - 921C89C354748A1E6176061F /* Frameworks */ = { - isa = PBXGroup; - children = ( - D2ABB1AECB56DAC1FB3888A8 /* Pods_MyIdSample.framework */, - 0584B25B2F961E34B28B8037 /* Pods_MyIdSample_MyIdSampleUITests.framework */, - 6A8AFA09F817C996454C7E56 /* Pods_MyIdSampleTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 7E2F858728F7186800290C6E /* MyIdSample */ = { - isa = PBXNativeTarget; - buildConfigurationList = 7E2F85B228F7186A00290C6E /* Build configuration list for PBXNativeTarget "MyIdSample" */; - buildPhases = ( - 2DFD6017CB4A2C531A446287 /* [CP] Check Pods Manifest.lock */, - 7E2F858428F7186800290C6E /* Sources */, - 7E2F858528F7186800290C6E /* Frameworks */, - 7E2F858628F7186800290C6E /* Resources */, - 7E72E5392A9883AD00152C1F /* Embed Frameworks */, - 00E65D69E2AE48B14E91CF41 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = MyIdSample; - productName = MyIdSample; - productReference = 7E2F858828F7186800290C6E /* MyIdSample.app */; - productType = "com.apple.product-type.application"; - }; - 7E2F859D28F7186A00290C6E /* MyIdSampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 7E2F85B528F7186A00290C6E /* Build configuration list for PBXNativeTarget "MyIdSampleTests" */; - buildPhases = ( - 64CC484CD6A4933808E429C7 /* [CP] Check Pods Manifest.lock */, - 7E2F859A28F7186A00290C6E /* Sources */, - 7E2F859B28F7186A00290C6E /* Frameworks */, - 7E2F859C28F7186A00290C6E /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 7E2F85A028F7186A00290C6E /* PBXTargetDependency */, - ); - name = MyIdSampleTests; - productName = MyIdSampleTests; - productReference = 7E2F859E28F7186A00290C6E /* MyIdSampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 7E2F85A728F7186A00290C6E /* MyIdSampleUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 7E2F85B828F7186A00290C6E /* Build configuration list for PBXNativeTarget "MyIdSampleUITests" */; - buildPhases = ( - 70E3FB52F73FA2356B9D2593 /* [CP] Check Pods Manifest.lock */, - 7E2F85A428F7186A00290C6E /* Sources */, - 7E2F85A528F7186A00290C6E /* Frameworks */, - 7E2F85A628F7186A00290C6E /* Resources */, - DD1186AEEE8050679BEC36C9 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 7E2F85AA28F7186A00290C6E /* PBXTargetDependency */, - ); - name = MyIdSampleUITests; - productName = MyIdSampleUITests; - productReference = 7E2F85A828F7186A00290C6E /* MyIdSampleUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 7E2F858028F7186800290C6E /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1340; - LastUpgradeCheck = 1340; - TargetAttributes = { - 7E2F858728F7186800290C6E = { - CreatedOnToolsVersion = 13.4.1; - LastSwiftMigration = 1400; - }; - 7E2F859D28F7186A00290C6E = { - CreatedOnToolsVersion = 13.4.1; - TestTargetID = 7E2F858728F7186800290C6E; - }; - 7E2F85A728F7186A00290C6E = { - CreatedOnToolsVersion = 13.4.1; - TestTargetID = 7E2F858728F7186800290C6E; - }; - }; - }; - buildConfigurationList = 7E2F858328F7186800290C6E /* Build configuration list for PBXProject "MyIdSample" */; - compatibilityVersion = "Xcode 13.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 7E2F857F28F7186800290C6E; - productRefGroup = 7E2F858928F7186800290C6E /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 7E2F858728F7186800290C6E /* MyIdSample */, - 7E2F859D28F7186A00290C6E /* MyIdSampleTests */, - 7E2F85A728F7186A00290C6E /* MyIdSampleUITests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 7E2F858628F7186800290C6E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7E2F859828F7186900290C6E /* LaunchScreen.storyboard in Resources */, - 7E2F859528F7186900290C6E /* Assets.xcassets in Resources */, - 7E2F859328F7186800290C6E /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7E2F859C28F7186A00290C6E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7E2F85A628F7186A00290C6E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 00E65D69E2AE48B14E91CF41 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-MyIdSample/Pods-MyIdSample-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-MyIdSample/Pods-MyIdSample-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MyIdSample/Pods-MyIdSample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 2DFD6017CB4A2C531A446287 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-MyIdSample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 64CC484CD6A4933808E429C7 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-MyIdSampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 70E3FB52F73FA2356B9D2593 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-MyIdSample-MyIdSampleUITests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - DD1186AEEE8050679BEC36C9 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-MyIdSample-MyIdSampleUITests/Pods-MyIdSample-MyIdSampleUITests-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-MyIdSample-MyIdSampleUITests/Pods-MyIdSample-MyIdSampleUITests-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MyIdSample-MyIdSampleUITests/Pods-MyIdSample-MyIdSampleUITests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 7E2F858428F7186800290C6E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7E2F859028F7186800290C6E /* ViewController.swift in Sources */, - 7E6924E328F73CE6009565F7 /* StartViewController.m in Sources */, - 7E3FCB122A43B5BC00255A9C /* ImageSaver.swift in Sources */, - 7E2F858C28F7186800290C6E /* AppDelegate.swift in Sources */, - 7E2F858E28F7186800290C6E /* SceneDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7E2F859A28F7186A00290C6E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7E2F85A328F7186A00290C6E /* MyIdSampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7E2F85A428F7186A00290C6E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7E2F85AD28F7186A00290C6E /* MyIdSampleUITests.swift in Sources */, - 7E2F85AF28F7186A00290C6E /* MyIdSampleUITestsLaunchTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 7E2F85A028F7186A00290C6E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 7E2F858728F7186800290C6E /* MyIdSample */; - targetProxy = 7E2F859F28F7186A00290C6E /* PBXContainerItemProxy */; - }; - 7E2F85AA28F7186A00290C6E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 7E2F858728F7186800290C6E /* MyIdSample */; - targetProxy = 7E2F85A928F7186A00290C6E /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 7E2F859128F7186800290C6E /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 7E2F859228F7186800290C6E /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 7E2F859628F7186900290C6E /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 7E2F859728F7186900290C6E /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 7E2F85B028F7186A00290C6E /* 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_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.5; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 7E2F85B128F7186A00290C6E /* 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_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.5; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 7E2F85B328F7186A00290C6E /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B087814E61624E7CFF3C815B /* Pods-MyIdSample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = S46NMW9Y9P; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = MyIdSample/Info.plist; - INFOPLIST_KEY_NSCameraUsageDescription = YOUR_TEXT; - INFOPLIST_KEY_NSPhotoLibraryUsageDescription = YOUR_TEXT; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; - INFOPLIST_KEY_UIMainStoryboardFile = Main; - INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0.3; - PRODUCT_BUNDLE_IDENTIFIER = uz.myid.ios.sample; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OBJC_BRIDGING_HEADER = "MyIdSample-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 7E2F85B428F7186A00290C6E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5FED4B5FF06CA02D7380B4F6 /* Pods-MyIdSample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = S46NMW9Y9P; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = MyIdSample/Info.plist; - INFOPLIST_KEY_NSCameraUsageDescription = YOUR_TEXT; - INFOPLIST_KEY_NSPhotoLibraryUsageDescription = YOUR_TEXT; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; - INFOPLIST_KEY_UIMainStoryboardFile = Main; - INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0.3; - PRODUCT_BUNDLE_IDENTIFIER = uz.myid.ios.sample; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OBJC_BRIDGING_HEADER = "MyIdSample-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 7E2F85B628F7186A00290C6E /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6778206B4335C1A61CF0B30F /* Pods-MyIdSampleTests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.5; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = uz.MyIdSampleTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MyIdSample.app/MyIdSample"; - }; - name = Debug; - }; - 7E2F85B728F7186A00290C6E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 3749E526FB91A5B40C1F4A14 /* Pods-MyIdSampleTests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.5; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = uz.MyIdSampleTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MyIdSample.app/MyIdSample"; - }; - name = Release; - }; - 7E2F85B928F7186A00290C6E /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4DB1B60DE92CE8FF0B0B660B /* Pods-MyIdSample-MyIdSampleUITests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = uz.MyIdSampleUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = MyIdSample; - }; - name = Debug; - }; - 7E2F85BA28F7186A00290C6E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F6C0106D3DB6855BEC00FE4D /* Pods-MyIdSample-MyIdSampleUITests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = uz.MyIdSampleUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = MyIdSample; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 7E2F858328F7186800290C6E /* Build configuration list for PBXProject "MyIdSample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7E2F85B028F7186A00290C6E /* Debug */, - 7E2F85B128F7186A00290C6E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 7E2F85B228F7186A00290C6E /* Build configuration list for PBXNativeTarget "MyIdSample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7E2F85B328F7186A00290C6E /* Debug */, - 7E2F85B428F7186A00290C6E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 7E2F85B528F7186A00290C6E /* Build configuration list for PBXNativeTarget "MyIdSampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7E2F85B628F7186A00290C6E /* Debug */, - 7E2F85B728F7186A00290C6E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 7E2F85B828F7186A00290C6E /* Build configuration list for PBXNativeTarget "MyIdSampleUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7E2F85B928F7186A00290C6E /* Debug */, - 7E2F85BA28F7186A00290C6E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 7E2F858028F7186800290C6E /* Project object */; -} diff --git a/MyIdSample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/MyIdSample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d68d0546c4804ac2ff47dd97c6e7921..0000000000000000000000000000000000000000 --- a/MyIdSample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/MyIdSample.xcodeproj/xcshareddata/xcschemes/MyIdSample.xcscheme b/MyIdSample.xcodeproj/xcshareddata/xcschemes/MyIdSample.xcscheme deleted file mode 100644 index 99df6e6eb787af10663bee8fa6994492b2c4e8f2..0000000000000000000000000000000000000000 --- a/MyIdSample.xcodeproj/xcshareddata/xcschemes/MyIdSample.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MyIdSample.xcworkspace/contents.xcworkspacedata b/MyIdSample.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index bbda0dc633503df20d0dbb1769e2f353b4f7b29d..0000000000000000000000000000000000000000 --- a/MyIdSample.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/MyIdSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/MyIdSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d68d0546c4804ac2ff47dd97c6e7921..0000000000000000000000000000000000000000 --- a/MyIdSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/MyIdSample/.DS_Store b/MyIdSample/.DS_Store deleted file mode 100644 index 33ab271e3bf2022e3212f42ad84b516be656fc49..0000000000000000000000000000000000000000 Binary files a/MyIdSample/.DS_Store and /dev/null differ diff --git a/MyIdSample/Assets.xcassets/.DS_Store b/MyIdSample/Assets.xcassets/.DS_Store deleted file mode 100644 index 97e56b77ecdcec3b61daef61561cdb7939c08cf6..0000000000000000000000000000000000000000 Binary files a/MyIdSample/Assets.xcassets/.DS_Store and /dev/null differ diff --git a/MyIdSample/Base.lproj/LaunchScreen.storyboard b/MyIdSample/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index 865e9329f3767a7c1dd66294b8025bf81dee7d2c..0000000000000000000000000000000000000000 --- a/MyIdSample/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MyIdSample/Base.lproj/Main.storyboard b/MyIdSample/Base.lproj/Main.storyboard deleted file mode 100644 index 96f98301372b0387b95b1a0b4acb4479c96f76e8..0000000000000000000000000000000000000000 --- a/MyIdSample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MyIdSample/Info.plist b/MyIdSample/Info.plist deleted file mode 100644 index dd3c9afdae35805086796848ae7dfa52ec858a07..0000000000000000000000000000000000000000 --- a/MyIdSample/Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - - UIApplicationSceneManifest - - UIApplicationSupportsMultipleScenes - - UISceneConfigurations - - UIWindowSceneSessionRoleApplication - - - UISceneConfigurationName - Default Configuration - UISceneDelegateClassName - $(PRODUCT_MODULE_NAME).SceneDelegate - UISceneStoryboardFile - Main - - - - - - diff --git a/MyIdSample/ObjC/StartViewController.h b/MyIdSample/ObjC/StartViewController.h deleted file mode 100644 index 164b656196dd1af97256a3462bbec7eb622c6d72..0000000000000000000000000000000000000000 --- a/MyIdSample/ObjC/StartViewController.h +++ /dev/null @@ -1,14 +0,0 @@ -// -// StartViewController.h -// MyIdSample -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface StartViewController : UIViewController - -@end - -NS_ASSUME_NONNULL_END diff --git a/MyIdSample/ObjC/StartViewController.m b/MyIdSample/ObjC/StartViewController.m deleted file mode 100644 index fafc48dd75f9a2a248dd9b9fae4d53dc87b0c7f2..0000000000000000000000000000000000000000 --- a/MyIdSample/ObjC/StartViewController.m +++ /dev/null @@ -1,60 +0,0 @@ -// -// StartViewController.m -// MyIdSample - -#import "StartViewController.h" -@import MyIdSDK; - -@interface StartViewController () - -@end - -@implementation StartViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view. -} - -- (IBAction)startMyId { - MyIdOrganizationDetails *organizationDetails = [[MyIdOrganizationDetails alloc] init]; - organizationDetails.phoneNumber = @"4242"; - - MyIdAppearance *appearance = [[MyIdAppearance alloc] init]; - appearance.primaryColor = [UIColor systemBlueColor]; - - MyIdConfig *config = [[MyIdConfig alloc] init]; - config.clientId = @""; - config.passportData = @""; - config.dateOfBirth = @""; - config.externalId = @""; - config.buildMode = MyIdBuildModePRODUCTION; - config.entryType = MyIdEntryTypeAUTH; - config.residency = MyIdResidencyRESIDENT; - config.locale = MyIdLocaleUZ; - config.cameraShape = MyIdCameraShapeCIRCLE; - config.organizationDetails = organizationDetails; - config.appearance = appearance; - config.withPhoto = false; - - [MyIdClient startWithConfig:config withDelegate:self]; -} - -#pragma mark MyIdClientDelegate - -- (void)onSuccessWithResult:(MyIdResult *)result { - NSLog(@"%@", result.code); - NSLog(@"%@", result.comparisonValue); - NSLog(@"%@", result.image); -} - -- (void)onErrorWithException:(MyIdException *)exception { - NSLog(@"%@", exception.code); - NSLog(@"%@", exception.message); -} - -- (void)onUserExited { - NSLog(@"user exited"); -} - -@end diff --git a/MyIdSample/Swift/.DS_Store b/MyIdSample/Swift/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 Binary files a/MyIdSample/Swift/.DS_Store and /dev/null differ diff --git a/MyIdSample/Swift/AppDelegate.swift b/MyIdSample/Swift/AppDelegate.swift deleted file mode 100644 index 143dd35cefd261ce4e668e750fdb0fb114bfa0ba..0000000000000000000000000000000000000000 --- a/MyIdSample/Swift/AppDelegate.swift +++ /dev/null @@ -1,24 +0,0 @@ -// -// AppDelegate.swift -// MyIdSample -// -// Created by Javokhir Savriev on 12/10/22. -// - -import UIKit - -@main -class AppDelegate: UIResponder, UIApplicationDelegate { - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - return true - } - - func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { - return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) - } - - func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { - } -} - diff --git a/MyIdSample/Swift/SceneDelegate.swift b/MyIdSample/Swift/SceneDelegate.swift deleted file mode 100644 index 3376e2b378a1a87a06d914af19268c32cac0ab4a..0000000000000000000000000000000000000000 --- a/MyIdSample/Swift/SceneDelegate.swift +++ /dev/null @@ -1,33 +0,0 @@ -// -// SceneDelegate.swift -// MyIdSample -// -// Created by Javokhir Savriev on 12/10/22. -// - -import UIKit - -class SceneDelegate: UIResponder, UIWindowSceneDelegate { - - var window: UIWindow? - - func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { - guard let _ = (scene as? UIWindowScene) else { return } - } - - func sceneDidDisconnect(_ scene: UIScene) { - } - - func sceneDidBecomeActive(_ scene: UIScene) { - } - - func sceneWillResignActive(_ scene: UIScene) { - } - - func sceneWillEnterForeground(_ scene: UIScene) { - } - - func sceneDidEnterBackground(_ scene: UIScene) { - } -} - diff --git a/MyIdSample/Swift/ViewController.swift b/MyIdSample/Swift/ViewController.swift deleted file mode 100644 index 373e54e2690cb98ff6f82543d386f89f1f8624c5..0000000000000000000000000000000000000000 --- a/MyIdSample/Swift/ViewController.swift +++ /dev/null @@ -1,194 +0,0 @@ -// -// ViewController.swift -// MyIdSample -// -// Created by Javokhir Savriev on 12/10/22. -// - -import UIKit -import MyIdSDK - -class ViewController: UIViewController { - - private let clientIdTextField: UITextField = { - let textField = UITextField() - textField.placeholder = "Client ID" - textField.borderStyle = .roundedRect - textField.translatesAutoresizingMaskIntoConstraints = false - return textField - }() - - private let passportTextField: UITextField = { - let textField = UITextField() - textField.placeholder = "Passport data" - textField.borderStyle = .roundedRect - textField.translatesAutoresizingMaskIntoConstraints = false - return textField - }() - - private let dobTextField: UITextField = { - let textField = UITextField() - textField.placeholder = "Date of birth" - textField.borderStyle = .roundedRect - textField.translatesAutoresizingMaskIntoConstraints = false - return textField - }() - - private let textResult: UILabel = { - let label = UILabel() - label.font = .systemFont(ofSize: 16) - label.textAlignment = .center - label.numberOfLines = 0 - label.lineBreakMode = .byTruncatingTail - label.translatesAutoresizingMaskIntoConstraints = false - return label - }() - - private let imageResult: UIImageView = { - let imageView = UIImageView() - imageView.heightAnchor.constraint(equalToConstant: 200).isActive = true - imageView.contentMode = .scaleAspectFit - imageView.translatesAutoresizingMaskIntoConstraints = false - return imageView - }() - - private var buildType: MyIdBuildMode = .PRODUCTION - - private var faceImage: UIImage? = nil - - override func viewDidLoad() { - super.viewDidLoad() - setupViews() - } - - func loadPayload() throws -> Data { - let payloadURL = Bundle.main.url(forResource: "payload", withExtension: "json")! - let payloadData = try Data(contentsOf: payloadURL) - return payloadData - } - - @objc func buildTypeControlChanged(sender: UISegmentedControl) { - if sender.selectedSegmentIndex == 1 { - buildType = .DEBUG - } else { - buildType = .PRODUCTION - } - } - - @objc func scanButtonPressed(sender: UIButton) { - startMyId() - } - - @objc func saveButtonPressed(sender: UIButton) { - saveImage() - } - - private func startMyId() { - let config = MyIdConfig() - config.clientId = "client_id" - config.clientHash = "client_hash" - config.clientHashId = "client_hash_id" - config.passportData = self.passportTextField.text ?? "" - config.dateOfBirth = self.dobTextField.text ?? "" - config.buildMode = self.buildType - - MyIdClient.start(withConfig: config, withDelegate: self) - } - - private func saveImage() { - guard let image = faceImage else { return } - - ImageSaver().writeToPhotoAlbum(image: image) - } -} - -extension ViewController: MyIdClientDelegate { - - func onSuccess(result: MyIdResult) { - textResult.text = "\(String(describing: result.code))" - imageResult.image = result.image - - faceImage = result.image - } - - func onError(exception: MyIdException) { - textResult.text = "\(String(describing: exception.message)) - \(String(describing: exception.code))" - } - - func onUserExited() { - textResult.text = "User exited" - } -} - -extension ViewController { - - private func setupViews() { - let margins = view.layoutMarginsGuide - - let scrollView = UIScrollView() - scrollView.translatesAutoresizingMaskIntoConstraints = false - - let buildTypeControl = UISegmentedControl(items: ["PROD", "DEV"]) - buildTypeControl.addTarget(self, action: #selector(buildTypeControlChanged), for: .valueChanged) - buildTypeControl.selectedSegmentIndex = 0 - buildTypeControl.translatesAutoresizingMaskIntoConstraints = false - - let scanButton = UIButton() - scanButton.translatesAutoresizingMaskIntoConstraints = false - scanButton.setTitle("Scan Face Data", for: .normal) - scanButton.setTitleColor(.blue, for: .normal) - scanButton.addTarget(self, action: #selector(scanButtonPressed), for: .touchUpInside) - - let saveButton = UIButton() - saveButton.translatesAutoresizingMaskIntoConstraints = false - saveButton.setTitle("Save Image", for: .normal) - saveButton.setTitleColor(.red, for: .normal) - saveButton.addTarget(self, action: #selector(saveButtonPressed), for: .touchUpInside - - let stackView = UIStackView() - stackView.axis = .vertical - stackView.alignment = .leading - stackView.spacing = 16 - stackView.translatesAutoresizingMaskIntoConstraints = false - stackView.addArrangedSubview(clientIdTextField) - stackView.addArrangedSubview(passportTextField) - stackView.addArrangedSubview(dobTextField) - stackView.addArrangedSubview(scanButton) - stackView.addArrangedSubview(saveButton) - stackView.addArrangedSubview(textResult) - stackView.addArrangedSubview(imageResult) - - scrollView.addSubview(stackView) - view.addSubview(scrollView) - - NSLayoutConstraint.activate([ - scrollView.leadingAnchor.constraint(equalTo: margins.leadingAnchor), - scrollView.trailingAnchor.constraint(equalTo: margins.trailingAnchor), - scrollView.topAnchor.constraint(equalTo: margins.topAnchor), - scrollView.bottomAnchor.constraint(equalTo: margins.bottomAnchor) - ]) - - NSLayoutConstraint.activate([ - stackView.leadingAnchor.constraint(equalTo: scrollView.leadingAnchor), - stackView.trailingAnchor.constraint(equalTo: scrollView.trailingAnchor), - stackView.topAnchor.constraint(equalTo: scrollView.topAnchor, constant: 20), - stackView.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor), - stackView.widthAnchor.constraint(equalTo: scrollView.widthAnchor) - ]) - - NSLayoutConstraint.activate([ - clientIdTextField.widthAnchor.constraint(equalTo: stackView.widthAnchor), - passportTextField.widthAnchor.constraint(equalTo: stackView.widthAnchor), - dobTextField.widthAnchor.constraint(equalTo: stackView.widthAnchor), - scanButton.centerXAnchor.constraint(equalTo: stackView.centerXAnchor), - saveButton.centerXAnchor.constraint(equalTo: stackView.centerXAnchor), - ]) - - let tap = UITapGestureRecognizer(target: self, action: #selector(UIInputViewController.dismissKeyboard)) - view.addGestureRecognizer(tap) - } - - @objc func dismissKeyboard() { - view.endEditing(true) - } -} diff --git a/Podfile b/Podfile deleted file mode 100644 index 3e9f554a15e5d37dca9b1643c3b7486f260c414b..0000000000000000000000000000000000000000 --- a/Podfile +++ /dev/null @@ -1,18 +0,0 @@ -# Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' - -target 'MyIdSample' do - use_frameworks! - - target 'MyIdSampleTests' do - inherit! :search_paths - # Pods for testing - end - - target 'MyIdSampleUITests' do - # Pods for testing - end - - pod 'MyIdSDK' - -end \ No newline at end of file diff --git a/Podfile.lock b/Podfile.lock deleted file mode 100644 index af8c6a700da635a9f63c2516827f501851777a1b..0000000000000000000000000000000000000000 --- a/Podfile.lock +++ /dev/null @@ -1,16 +0,0 @@ -PODS: - - MyIdSDK (2.2.2) - -DEPENDENCIES: - - MyIdSDK - -SPEC REPOS: - trunk: - - MyIdSDK - -SPEC CHECKSUMS: - MyIdSDK: def78f7b73af02acda500f7a3f3e221ca9bfe20b - -PODFILE CHECKSUM: 3d43422acf589a5c2bd22a9c89828a68b010d362 - -COCOAPODS: 1.13.0 diff --git a/myid-ios-parent.xcodeproj/project.pbxproj b/myid-ios-parent.xcodeproj/project.pbxproj new file mode 100644 index 0000000000000000000000000000000000000000..929dd5a051078d5935f28810da316cbbd6135c21 --- /dev/null +++ b/myid-ios-parent.xcodeproj/project.pbxproj @@ -0,0 +1,394 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXBuildFile section */ + 7E6631B02DC0AB8F00C2C87A /* MyIdSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 7E6631AF2DC0AB8F00C2C87A /* MyIdSDK */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 7EAA66092D648EA000340823 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 7EE673D32D6309D700E08D7D /* myid-ios-parent.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "myid-ios-parent.app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + 7EE673D52D6309D700E08D7D /* myid-ios-parent */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + ); + path = "myid-ios-parent"; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + 7EE673D02D6309D700E08D7D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7E6631B02DC0AB8F00C2C87A /* MyIdSDK in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 7EE673CA2D6309D700E08D7D = { + isa = PBXGroup; + children = ( + 7EE673D52D6309D700E08D7D /* myid-ios-parent */, + 7EE673D42D6309D700E08D7D /* Products */, + ); + sourceTree = ""; + }; + 7EE673D42D6309D700E08D7D /* Products */ = { + isa = PBXGroup; + children = ( + 7EE673D32D6309D700E08D7D /* myid-ios-parent.app */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 7EE673D22D6309D700E08D7D /* myid-ios-parent */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7EE673E12D6309D700E08D7D /* Build configuration list for PBXNativeTarget "myid-ios-parent" */; + buildPhases = ( + 7EE673CF2D6309D700E08D7D /* Sources */, + 7EE673D02D6309D700E08D7D /* Frameworks */, + 7EE673D12D6309D700E08D7D /* Resources */, + 7EAA66092D648EA000340823 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + 7EE673D52D6309D700E08D7D /* myid-ios-parent */, + ); + name = "myid-ios-parent"; + productName = "myid-ios-parent"; + productReference = 7EE673D32D6309D700E08D7D /* myid-ios-parent.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 7EE673CB2D6309D700E08D7D /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1620; + LastUpgradeCheck = 1620; + TargetAttributes = { + 7EE673D22D6309D700E08D7D = { + CreatedOnToolsVersion = 16.2; + }; + }; + }; + buildConfigurationList = 7EE673CE2D6309D700E08D7D /* Build configuration list for PBXProject "myid-ios-parent" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 7EE673CA2D6309D700E08D7D; + minimizedProjectReferenceProxies = 1; + packageReferences = ( + 7E6631AE2DC0AB8F00C2C87A /* XCRemoteSwiftPackageReference "myid-ios-sdk" */, + ); + preferredProjectObjectVersion = 77; + productRefGroup = 7EE673D42D6309D700E08D7D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 7EE673D22D6309D700E08D7D /* myid-ios-parent */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 7EE673D12D6309D700E08D7D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 7EE673CF2D6309D700E08D7D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 7EE673DF2D6309D700E08D7D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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 = 18.2; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 7EE673E02D6309D700E08D7D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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 = 18.2; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 7EE673E22D6309D700E08D7D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + CURRENT_PROJECT_VERSION = 6; + DEVELOPMENT_ASSET_PATHS = "\"myid-ios-parent/Preview Content\""; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = S46NMW9Y9P; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_CFBundleDisplayName = "MyID SDK"; + INFOPLIST_KEY_NSCameraUsageDescription = YOUR_TEXT_HERE; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = uz.uzinfocom.myidsdk; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MyID SDK Profile"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 7EE673E32D6309D700E08D7D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + CURRENT_PROJECT_VERSION = 6; + DEVELOPMENT_ASSET_PATHS = "\"myid-ios-parent/Preview Content\""; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = S46NMW9Y9P; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_CFBundleDisplayName = "MyID SDK"; + INFOPLIST_KEY_NSCameraUsageDescription = YOUR_TEXT_HERE; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = uz.uzinfocom.myidsdk; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MyID SDK Profile"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 7EE673CE2D6309D700E08D7D /* Build configuration list for PBXProject "myid-ios-parent" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7EE673DF2D6309D700E08D7D /* Debug */, + 7EE673E02D6309D700E08D7D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7EE673E12D6309D700E08D7D /* Build configuration list for PBXNativeTarget "myid-ios-parent" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7EE673E22D6309D700E08D7D /* Debug */, + 7EE673E32D6309D700E08D7D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 7E6631AE2DC0AB8F00C2C87A /* XCRemoteSwiftPackageReference "myid-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://gitlab.myid.uz/myid-public-code/myid-ios-sdk.git"; + requirement = { + branch = master; + kind = branch; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 7E6631AF2DC0AB8F00C2C87A /* MyIdSDK */ = { + isa = XCSwiftPackageProductDependency; + package = 7E6631AE2DC0AB8F00C2C87A /* XCRemoteSwiftPackageReference "myid-ios-sdk" */; + productName = MyIdSDK; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = 7EE673CB2D6309D700E08D7D /* Project object */; +} diff --git a/MyIdSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/myid-ios-parent.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from MyIdSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to myid-ios-parent.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/MyIdSample/Assets.xcassets/AccentColor.colorset/Contents.json b/myid-ios-parent/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from MyIdSample/Assets.xcassets/AccentColor.colorset/Contents.json rename to myid-ios-parent/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/100.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/100.png new file mode 100644 index 0000000000000000000000000000000000000000..8e94b19434f98fa9161594a19ba813bb50df7d02 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/100.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/1024.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/1024.png new file mode 100644 index 0000000000000000000000000000000000000000..2f56a8fbe835696e33884ef5cfd2d41efc4028d7 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/1024.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/114.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/114.png new file mode 100644 index 0000000000000000000000000000000000000000..2dd13ff88b09e9a20ba11b09cc6f926b443d266d Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/114.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/120.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/120.png new file mode 100644 index 0000000000000000000000000000000000000000..5d0920fc052b641845c42fde99c9d206fb2b5801 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/120.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/144.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/144.png new file mode 100644 index 0000000000000000000000000000000000000000..965d161d29d288276297512ccee84eba1b055cd5 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/144.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/152.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/152.png new file mode 100644 index 0000000000000000000000000000000000000000..4c96bb63c11d65800228fe3cc608f9900902a109 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/152.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/167.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/167.png new file mode 100644 index 0000000000000000000000000000000000000000..00005ab84c06d16acd7b1e68bb3f6c8d06f5d321 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/167.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/180.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/180.png new file mode 100644 index 0000000000000000000000000000000000000000..c72bfb1dd9899d2cceea08d04ae8f7b94c6011f9 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/180.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/20.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/20.png new file mode 100644 index 0000000000000000000000000000000000000000..223ca980e371f6e93b1b09e333b1d7ec289743a3 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/20.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/29.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/29.png new file mode 100644 index 0000000000000000000000000000000000000000..515eeb19cd79d4b394c91f06494697416c55b8ab Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/29.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/40.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/40.png new file mode 100644 index 0000000000000000000000000000000000000000..b34add93bbf7e1821e93ad11f6487d17b86a01e9 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/40.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/50.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/50.png new file mode 100644 index 0000000000000000000000000000000000000000..d7ef1de840fbb4fdf41a91b1fa5f04e9e9dd0bd6 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/50.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/57.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/57.png new file mode 100644 index 0000000000000000000000000000000000000000..394834a77ab34d42aa731be8a2a16368a10376cb Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/57.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/58.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/58.png new file mode 100644 index 0000000000000000000000000000000000000000..ca84264878428419770cca99f0a0a274f7c52262 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/58.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/60.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/60.png new file mode 100644 index 0000000000000000000000000000000000000000..9a775ed8eb0da49ea0c8214432502689734d0772 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/60.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/72.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/72.png new file mode 100644 index 0000000000000000000000000000000000000000..f0e023f1028b3137a0453f71e06fe2bfdc7e31b0 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/72.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/76.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/76.png new file mode 100644 index 0000000000000000000000000000000000000000..249771aa90fa22252df8fdb03eef4e35db7c45d2 Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/76.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/80.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/80.png new file mode 100644 index 0000000000000000000000000000000000000000..6b33a7519f311144d31180d607c6737ed36b212a Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/80.png differ diff --git a/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/87.png b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/87.png new file mode 100644 index 0000000000000000000000000000000000000000..36681a0d2ecf518034e2955ce18cac400721865f Binary files /dev/null and b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/87.png differ diff --git a/MyIdSample/Assets.xcassets/AppIcon.appiconset/Contents.json b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 51% rename from MyIdSample/Assets.xcassets/AppIcon.appiconset/Contents.json rename to myid-ios-parent/Assets.xcassets/AppIcon.appiconset/Contents.json index 5a3257a7d00cc51c19d02d81f119c077049b2d74..4fdf88263a71873625448bca07fdc5cb865707fe 100644 --- a/MyIdSample/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/myid-ios-parent/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,86 +1,151 @@ { "images" : [ { + "filename" : "40.png", "idiom" : "iphone", "scale" : "2x", "size" : "20x20" }, { + "filename" : "60.png", "idiom" : "iphone", "scale" : "3x", "size" : "20x20" }, { + "filename" : "29.png", + "idiom" : "iphone", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "58.png", "idiom" : "iphone", "scale" : "2x", "size" : "29x29" }, { + "filename" : "87.png", "idiom" : "iphone", "scale" : "3x", "size" : "29x29" }, { + "filename" : "80.png", "idiom" : "iphone", "scale" : "2x", "size" : "40x40" }, { + "filename" : "120.png", "idiom" : "iphone", "scale" : "3x", "size" : "40x40" }, { + "filename" : "57.png", + "idiom" : "iphone", + "scale" : "1x", + "size" : "57x57" + }, + { + "filename" : "114.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "57x57" + }, + { + "filename" : "120.png", "idiom" : "iphone", "scale" : "2x", "size" : "60x60" }, { + "filename" : "180.png", "idiom" : "iphone", "scale" : "3x", "size" : "60x60" }, { + "filename" : "20.png", "idiom" : "ipad", "scale" : "1x", "size" : "20x20" }, { + "filename" : "40.png", "idiom" : "ipad", "scale" : "2x", "size" : "20x20" }, { + "filename" : "29.png", "idiom" : "ipad", "scale" : "1x", "size" : "29x29" }, { + "filename" : "58.png", "idiom" : "ipad", "scale" : "2x", "size" : "29x29" }, { + "filename" : "40.png", "idiom" : "ipad", "scale" : "1x", "size" : "40x40" }, { + "filename" : "80.png", "idiom" : "ipad", "scale" : "2x", "size" : "40x40" }, { + "filename" : "50.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "50x50" + }, + { + "filename" : "100.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "50x50" + }, + { + "filename" : "72.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "72x72" + }, + { + "filename" : "144.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "72x72" + }, + { + "filename" : "76.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "filename" : "152.png", "idiom" : "ipad", "scale" : "2x", "size" : "76x76" }, { + "filename" : "167.png", "idiom" : "ipad", "scale" : "2x", "size" : "83.5x83.5" }, { + "filename" : "1024.png", "idiom" : "ios-marketing", "scale" : "1x", "size" : "1024x1024" diff --git a/MyIdSample/Assets.xcassets/Contents.json b/myid-ios-parent/Assets.xcassets/Contents.json similarity index 100% rename from MyIdSample/Assets.xcassets/Contents.json rename to myid-ios-parent/Assets.xcassets/Contents.json diff --git a/myid-ios-parent/ContentView.swift b/myid-ios-parent/ContentView.swift new file mode 100644 index 0000000000000000000000000000000000000000..83969d4cc983aac6de24c41b148c32f0d05f6365 --- /dev/null +++ b/myid-ios-parent/ContentView.swift @@ -0,0 +1,109 @@ +// +// ContentView.swift +// + +import SwiftUI +import MyIdSDK + +struct ContentView: View { + + @StateObject private var viewModel = ViewModel() + + var body: some View { + ScrollView { + VStack(spacing: 16) { + FormSection(viewModel: viewModel) + + Button(action: { + viewModel.startMyId() + }) { + Text("Start SDK") + .font(.headline) + .frame(maxWidth: .infinity) + .padding() + .background(Color.blue) + .foregroundColor(.white) + .cornerRadius(10) + } + .padding(.horizontal) + + if let image = viewModel.image { + Image(uiImage: image) + .resizable() + .scaledToFit() + .frame(height: 100) + .cornerRadius(12) + .padding(.horizontal) + } + + if !viewModel.message.isEmpty { + Text(viewModel.message) + .foregroundColor(.blue) + .padding() + .background(Color.gray.opacity(0.1)) + .cornerRadius(8) + .padding(.horizontal) + .onTapGesture { + copyToClipboard(viewModel.message) + } + } + } + .padding(.vertical) + } + } + + private func copyToClipboard(_ text: String) { + UIPasteboard.general.string = text + } +} + +struct FormSection: View { + + @ObservedObject var viewModel: ViewModel + + var body: some View { + VStack( + alignment: .leading, + spacing: 16 + ) { + Group { + TextField("Passport Data", text: $viewModel.passportData) + TextField("Date of Birth", text: $viewModel.dateOfBirth) + TextField("External ID", text: $viewModel.externalId) + } + .textFieldStyle(RoundedBorderTextFieldStyle()) + .padding(.horizontal) + + Group { + Picker("Residency", selection: $viewModel.residency) { + Text("Resident").tag(MyIdResidency.resident) + Text("Non-Resident").tag(MyIdResidency.nonResident) + Text("User defined").tag(MyIdResidency.userDefined) + } + + Picker("Environment", selection: $viewModel.environment) { + Text("Production").tag(MyIdEnvironment.production) + Text("Debug").tag(MyIdEnvironment.debug) + } + + Picker("Entry Type", selection: $viewModel.entryType) { + Text("Identification").tag(MyIdEntryType.identification) + Text("Face detection").tag(MyIdEntryType.faceDetection) + } + + Picker("Locale", selection: $viewModel.locale) { + Text("Uzbek").tag(MyIdLocale.uzbek) + Text("English").tag(MyIdLocale.english) + Text("Russian").tag(MyIdLocale.russian) + } + + Picker("Camera Shape", selection: $viewModel.cameraShape) { + Text("Circle").tag(MyIdCameraShape.circle) + Text("Ellipse").tag(MyIdCameraShape.ellipse) + } + } + .pickerStyle(MenuPickerStyle()) + .padding(.horizontal) + } + } +} diff --git a/myid-ios-parent/Preview Content/Preview Assets.xcassets/Contents.json b/myid-ios-parent/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000000000000000000000000000000000000..73c00596a7fca3f3d4bdd64053b69d86745f9e10 --- /dev/null +++ b/myid-ios-parent/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/myid-ios-parent/ViewModel.swift b/myid-ios-parent/ViewModel.swift new file mode 100644 index 0000000000000000000000000000000000000000..b0681a8b6979d0721ba123851de2c88e67ae1314 --- /dev/null +++ b/myid-ios-parent/ViewModel.swift @@ -0,0 +1,66 @@ +// +// ViewModel.swift +// + +import SwiftUI +import Combine +import MyIdSDK + +@objc public class ViewModel: NSObject, ObservableObject { + + @Published var passportData: String = "" + @Published var dateOfBirth: String = "" + @Published var externalId: String = "" + @Published var residency: MyIdResidency = .resident + @Published var environment: MyIdEnvironment = .debug + @Published var entryType: MyIdEntryType = .identification + @Published var locale: MyIdLocale = .uzbek + @Published var cameraShape: MyIdCameraShape = .circle + + @Published var image: UIImage? + @Published var message: String = "" + + @objc public func startMyId() { + let devClientId = "your_dev_client_id" + let devClientHash = "your_dev_client_hash" + let devClientHashId = "your_dev_client_hash_id" + + let prodClientId = "your_prod_client_id" + let prodClientHash = "your_prod_client_hash" + let prodClientHashId = "your_prod_client_hash_id" + + let config = MyIdConfig() + config.clientId = environment == .production ? prodClientId : devClientId + config.clientHash = environment == .production ? prodClientHash : devClientHash + config.clientHashId = environment == .production ? prodClientHashId : devClientHashId + config.passportData = passportData + config.dateOfBirth = dateOfBirth + config.externalId = externalId + config.residency = residency + config.environment = environment + config.entryType = entryType + config.locale = locale + config.cameraShape = cameraShape + config.presentationStyle = .sheet + + MyIdClient.start(withConfig: config, withDelegate: self) + } +} + +@objc extension ViewModel: MyIdClientDelegate { + + public func onSuccess(result: MyIdResult) { + message = result.code ?? "" + image = result.image + } + + public func onError(exception: MyIdException) { + message = exception.message ?? "" + image = nil + } + + public func onUserExited() { + message = "User exited" + image = nil + } +} diff --git a/myid-ios-parent/myid_ios_parentApp.swift b/myid-ios-parent/myid_ios_parentApp.swift new file mode 100644 index 0000000000000000000000000000000000000000..4512a8a8cb7d3f891600208ffa464d529abd435a --- /dev/null +++ b/myid-ios-parent/myid_ios_parentApp.swift @@ -0,0 +1,14 @@ +// +// myid_ios_parentApp.swift +// + +import SwiftUI + +@main +struct myid_ios_parentApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +}