Files
trezor-suite/packages/react-native-usb/ios/ReactNativeUsb.podspec
Daniel Suchý 3be5f5015e feat(mobile): create react-native-usb library (#9689)
* feat(mobile): create react-native-usb library

* feat(transport): add react-native-usb layer

* chore: align package.json scripts with rest of repo

* chore: align formatting with rest of monorepo

* chore: refactor types

* chore: add xml values for Trezor devices filter

* chore: implement new transport in mobile app

* fix: fix write error - data type error

* fix: dedupe deps

* fix(mobile): rework permission request logic

* chore: remove old transport-native

* chore: move tranport-native to dynamically loaded package

* chore: remove unused files

* chore: cleanup + pr comments

* chore: update refs

* fix tsconfig.json

* fix types

* fix: fix protobuf typo
2023-10-29 12:34:05 +01:00

28 lines
783 B
Ruby

require 'json'
package = JSON.parse(File.read(File.join(__dir__, '..', 'package.json')))
Pod::Spec.new do |s|
s.name = 'ReactNativeUsb'
s.version = package['version']
s.summary = package['description']
s.description = package['description']
s.license = package['license']
s.author = package['author']
s.homepage = package['homepage']
s.platform = :ios, '13.0'
s.swift_version = '5.4'
s.source = { git: 'https://github.com/trezor/trezor-suite' }
s.static_framework = true
s.dependency 'ExpoModulesCore'
# Swift/Objective-C compatibility
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'SWIFT_COMPILATION_MODE' => 'wholemodule'
}
s.source_files = "**/*.{h,m,swift}"
end