Skip to content

Commit

Permalink
🔄 synced file(s) with circlefin/w3s-ios-sdk-internal (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot authored Feb 29, 2024
1 parent 50ff4d7 commit 30bc48b
Show file tree
Hide file tree
Showing 15 changed files with 88 additions and 20 deletions.
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions Resources/CircleProgrammableWalletSDKBundle.bundle/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.13</string>
<string>1.0.14</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>704</string>
<string>707</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions Source/CircleProgrammableWalletSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>CircleProgrammableWalletSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>CircleProgrammableWalletSDK.framework/CircleProgrammableWalletSDK</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>CircleProgrammableWalletSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.13</string>
<string>1.0.14</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>704</string>
<string>707</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0.13</string>
<string>1.0.14</string>
<key>CFBundleVersion</key>
<string>0</string>
</dict>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.13</string>
<string>1.0.14</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneSimulator</string>
</array>
<key>CFBundleVersion</key>
<string>704</string>
<string>707</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
</data>
<key>CircleProgrammableWalletSDKBundle.bundle/Info.plist</key>
<data>
5jdv2pMlNtkHZaccMHMgwuYkVRo=
26PxFEy1RBfgXlP9nuRGo9Wvwco=
</data>
<key>CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeDirectory</key>
<data>
eUcvKJ+hFyMgBAs9AxRp8zSfxmc=
2fLQ5BIL2SKIlN/WlYE59GQtmZo=
</data>
<key>CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements</key>
<data>
OnX22wWFKRSOFN1+obRynMCeyXM=
</data>
<key>CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements-1</key>
<data>
IvfSioWb/+hxGre09eI3Q7UF9Vw=
za1xclbrg84q7poLG0W+PTmurTw=
</data>
<key>CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeResources</key>
<data>
Expand All @@ -46,7 +46,7 @@
</data>
<key>Info.plist</key>
<data>
XKfS+nWRqkwXfVF8PSSMhuCtDcM=
y1DjTXOQnsxLxZE8J2xdl1bX7U4=
</data>
<key>Modules/CircleProgrammableWalletSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
<data>
Expand Down Expand Up @@ -113,14 +113,14 @@
<dict>
<key>hash2</key>
<data>
YOvmQG6ejYTXNhAuboWHm4zJrAOeDIjcev6BNDrh/Cc=
CEh+Geb4Y0ZgETfQDuqYb63Hk72ToKuil4hOEjJy9/s=
</data>
</dict>
<key>CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeDirectory</key>
<dict>
<key>hash2</key>
<data>
8Cvb0HGAZaFKuMcvHE3bjedq5+TCaNA0oPbuGFCnhXc=
NwzT1L3iyR1WyHhkpPzXNtdp1ATYa3F+gkp5MCtY6Kc=
</data>
</dict>
<key>CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeRequirements</key>
Expand All @@ -134,7 +134,7 @@
<dict>
<key>hash2</key>
<data>
o9SIMwKXqyxJLnENGpZKLInkdLv+P9W0qzNXr59BVP0=
7sb+1s3V2xh3Bl8yT+6F0Iej+vMAjMTbi7lRkUvxLUI=
</data>
</dict>
<key>CircleProgrammableWalletSDKBundle.bundle/_CodeSignature/CodeResources</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0.13</string>
<string>1.0.14</string>
<key>CFBundleVersion</key>
<string>0</string>
</dict>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 30bc48b

Please sign in to comment.