diff --git a/README.md b/README.md index 5c0406d..e903261 100644 --- a/README.md +++ b/README.md @@ -1 +1,45 @@ # w3s-ios-sdk + +## Installation + +### CocoaPods + +To integrate ProgrammableWalletSDK into your Xcode project using CocoaPods, specify it in your `Podfile`: + +```shell +source 'https://github.com/CocoaPods/Specs.git' + +pod 'CircleProgrammableWalletSDK' +``` + +The Podfile setup from the Sample App. + +```shell +source 'https://github.com/circlefin/w3s-ios-sdk.git' +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '13.0' + +target 'w3s-ios-sample-app-wallets' do + # Comment the next line if you don't want to use dynamic frameworks + use_frameworks! + + # Applicable before CircleProgrammableWalletSDK version 1.0.12 + # use_frameworks! :linkage => :static + + pod 'CircleProgrammableWalletSDK' + +end + +post_install do |installer| + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' + + # See this: https://developer.apple.com/forums/thread/725300 + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' + end + end +end +``` + +> Please refer to the [Sample App](https://github.com/circlefin/w3s-ios-sample-app-wallets) to see more details. diff --git a/Resources/CircleProgrammableWalletSDKBundle.bundle/Info.plist b/Resources/CircleProgrammableWalletSDKBundle.bundle/Info.plist index f75462f..a9d5656 100644 --- a/Resources/CircleProgrammableWalletSDKBundle.bundle/Info.plist +++ b/Resources/CircleProgrammableWalletSDKBundle.bundle/Info.plist @@ -15,13 +15,13 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 1.0.13 + 1.0.14 CFBundleSupportedPlatforms iPhoneOS CFBundleVersion - 704 + 707 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeDirectory b/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeDirectory index ffb03e1..8a6312e 100644 Binary files a/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeDirectory and b/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeDirectory differ diff --git a/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements-1 b/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements-1 index 75ca0ae..7bb6ec3 100644 Binary files a/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements-1 and b/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements-1 differ diff --git a/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeSignature b/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeSignature index 715ed37..0baf34f 100644 Binary files a/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeSignature and b/Resources/CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeSignature differ diff --git a/Source/CircleProgrammableWalletSDK.xcframework/Info.plist b/Source/CircleProgrammableWalletSDK.xcframework/Info.plist index 4d7e004..8c9fa47 100644 --- a/Source/CircleProgrammableWalletSDK.xcframework/Info.plist +++ b/Source/CircleProgrammableWalletSDK.xcframework/Info.plist @@ -10,15 +10,18 @@ DebugSymbolsPath dSYMs LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath CircleProgrammableWalletSDK.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator BinaryPath @@ -26,18 +29,15 @@ DebugSymbolsPath dSYMs LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath CircleProgrammableWalletSDK.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/CircleProgrammableWalletSDK.framework/Info.plist b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/CircleProgrammableWalletSDK.framework/Info.plist index a23e913..3605fd9 100644 --- a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/CircleProgrammableWalletSDK.framework/Info.plist +++ b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/CircleProgrammableWalletSDK.framework/Info.plist @@ -17,13 +17,13 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.13 + 1.0.14 CFBundleSupportedPlatforms iPhoneOS CFBundleVersion - 704 + 707 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Info.plist b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Info.plist index bff0984..b48d49f 100644 --- a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Info.plist +++ b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.0.13 + 1.0.14 CFBundleVersion 0 diff --git a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Resources/DWARF/CircleProgrammableWalletSDK b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Resources/DWARF/CircleProgrammableWalletSDK index 3b8d873..bb61db2 100644 Binary files a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Resources/DWARF/CircleProgrammableWalletSDK and b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Resources/DWARF/CircleProgrammableWalletSDK differ diff --git a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/CircleProgrammableWalletSDK b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/CircleProgrammableWalletSDK index 82621d1..9a041ec 100755 Binary files a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/CircleProgrammableWalletSDK and b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/CircleProgrammableWalletSDK differ diff --git a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/Info.plist b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/Info.plist index e75fece..10fd1d6 100644 --- a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/Info.plist +++ b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/Info.plist @@ -17,13 +17,13 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.13 + 1.0.14 CFBundleSupportedPlatforms iPhoneSimulator CFBundleVersion - 704 + 707 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/_CodeSignature/CodeResources b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/_CodeSignature/CodeResources index c9e1d14..d0d7b28 100644 --- a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/_CodeSignature/CodeResources +++ b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/CircleProgrammableWalletSDK.framework/_CodeSignature/CodeResources @@ -14,11 +14,11 @@ CircleProgrammableWalletSDKBundle.bundle/Info.plist - 5jdv2pMlNtkHZaccMHMgwuYkVRo= + 26PxFEy1RBfgXlP9nuRGo9Wvwco= CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeDirectory - eUcvKJ+hFyMgBAs9AxRp8zSfxmc= + 2fLQ5BIL2SKIlN/WlYE59GQtmZo= CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements @@ -26,7 +26,7 @@ CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements-1 - IvfSioWb/+hxGre09eI3Q7UF9Vw= + za1xclbrg84q7poLG0W+PTmurTw= CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeResources @@ -46,7 +46,7 @@ Info.plist - XKfS+nWRqkwXfVF8PSSMhuCtDcM= + y1DjTXOQnsxLxZE8J2xdl1bX7U4= Modules/CircleProgrammableWalletSDK.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -113,14 +113,14 @@ hash2 - YOvmQG6ejYTXNhAuboWHm4zJrAOeDIjcev6BNDrh/Cc= + CEh+Geb4Y0ZgETfQDuqYb63Hk72ToKuil4hOEjJy9/s= CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeDirectory hash2 - 8Cvb0HGAZaFKuMcvHE3bjedq5+TCaNA0oPbuGFCnhXc= + NwzT1L3iyR1WyHhkpPzXNtdp1ATYa3F+gkp5MCtY6Kc= CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements @@ -134,7 +134,7 @@ hash2 - o9SIMwKXqyxJLnENGpZKLInkdLv+P9W0qzNXr59BVP0= + 7sb+1s3V2xh3Bl8yT+6F0Iej+vMAjMTbi7lRkUvxLUI= CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeResources diff --git a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Info.plist b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Info.plist index bff0984..b48d49f 100644 --- a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Info.plist +++ b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.0.13 + 1.0.14 CFBundleVersion 0 diff --git a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Resources/DWARF/CircleProgrammableWalletSDK b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Resources/DWARF/CircleProgrammableWalletSDK index 13f915b..9646f1a 100644 Binary files a/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Resources/DWARF/CircleProgrammableWalletSDK and b/Source/CircleProgrammableWalletSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/CircleProgrammableWalletSDK.framework.dSYM/Contents/Resources/DWARF/CircleProgrammableWalletSDK differ diff --git a/Specs/CircleProgrammableWalletSDK/1.0.14/CircleProgrammableWalletSDK.podspec b/Specs/CircleProgrammableWalletSDK/1.0.14/CircleProgrammableWalletSDK.podspec new file mode 100644 index 0000000..c0f9c76 --- /dev/null +++ b/Specs/CircleProgrammableWalletSDK/1.0.14/CircleProgrammableWalletSDK.podspec @@ -0,0 +1,24 @@ +Pod::Spec.new do |s| + s.name = 'CircleProgrammableWalletSDK' + s.version = '1.0.14' + s.license = 'Apache License, Version 2.0' + s.summary = 'CircleProgrammableWalletSDK for iOS.' + s.homepage = 'https://www.circle.com/web3-services' + s.author = 'CIRCLE' + s.source = { :git => "https://github.com/circlefin/w3s-ios-sdk.git", + :tag => s.version } + + s.platform = :ios, '13.0' + s.swift_versions = ['5'] + + s.ios.vendored_frameworks = 'Source/*.xcframework' + s.resources = 'Resources/*' + + # Dependency + s.dependency 'Alamofire', '5.5.0' + s.dependency 'DeviceKit', '5.1.0' + s.dependency 'SDWebImage', '5.9.1' + s.dependency 'IQKeyboardManagerSwift', '6.5.11' + s.dependency 'SnapKit', '5.6.0' + +end