Skip to content

Commit

Permalink
feat(rn): implement RN iOS stamper
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 committed Jan 7, 2025
1 parent a35875d commit cfc5143
Show file tree
Hide file tree
Showing 15 changed files with 774 additions and 300 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ Pod::Spec.new do |s|
s.license = package["license"]
s.authors = package["author"]

s.platforms = { :ios => min_ios_version_supported }
s.platforms = { :ios => "17.0" }
s.source = { :git => "https://github.com/alchemyplatform/aa-sdk.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
s.private_header_files = "ios/**/*.h"

# spm_dependency(s, url: "https://github.com/tkhq/swift-sdk", requirement: {kind: 'upToNextMajorVersion', minimumVersion: '1.2.0'}, products: ["TurnkeySDK"])
s.dependency "Base58Swift"

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
if respond_to?(:install_modules_dependencies, true)
Expand Down
2 changes: 1 addition & 1 deletion account-kit/rn-signer/example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require Pod::Executable.execute_command('node', ['-p',
{paths: [process.argv[1]]},
)', __dir__]).strip

platform :ios, min_ios_version_supported
platform :ios, '17.0'
prepare_react_native_project!

linkage = ENV['USE_FRAMEWORKS']
Expand Down
Loading

0 comments on commit cfc5143

Please sign in to comment.