2021-04-23 12:29:45 +01:00
|
|
|
platform :ios, '11.1'
|
2019-05-02 16:33:03 -04:00
|
|
|
workspace 'BlueWallet'
|
2020-10-07 08:24:36 -04:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
2020-06-18 11:49:36 -04:00
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
2021-07-06 05:38:53 -04:00
|
|
|
|
2020-06-18 11:49:36 -04:00
|
|
|
target 'BlueWallet' do
|
2020-10-07 08:24:36 -04:00
|
|
|
config = use_native_modules!
|
2020-06-18 11:49:36 -04:00
|
|
|
|
2021-07-06 05:38:53 -04:00
|
|
|
use_react_native!(
|
|
|
|
:path => config[:reactNativePath],
|
|
|
|
# to enable hermes on iOS, change `false` to `true` and then install pods
|
|
|
|
:hermes_enabled => false
|
|
|
|
)
|
2019-05-02 16:33:03 -04:00
|
|
|
|
2020-06-18 11:49:36 -04:00
|
|
|
# Enables Flipper.
|
|
|
|
#
|
|
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
|
|
# you should disable these next few lines.
|
2021-07-06 05:38:53 -04:00
|
|
|
use_flipper!()
|
2020-06-18 11:49:36 -04:00
|
|
|
post_install do |installer|
|
2021-07-06 05:38:53 -04:00
|
|
|
react_native_post_install(installer)
|
2020-11-18 10:51:15 -05:00
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
target.build_configurations.each do |config|
|
2021-02-09 11:38:39 -05:00
|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
|
2020-11-18 10:51:15 -05:00
|
|
|
if ['React-Core-AccessibilityResources'].include? target.name
|
|
|
|
config.build_settings['CODE_SIGN_STYLE'] = "Manual"
|
|
|
|
config.build_settings['CODE_SIGN_IDENTITY'] = "Apple Distribution: Bluewallet Services, S. R. L. (A7W54YZ4WU)"
|
|
|
|
config.build_settings['DEVELOPMENT_TEAM'] = "A7W54YZ4WU"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2020-06-18 11:49:36 -04:00
|
|
|
end
|
2020-11-02 08:11:28 -05:00
|
|
|
|
2021-02-21 22:09:04 -05:00
|
|
|
|
2020-11-02 08:11:28 -05:00
|
|
|
end
|
|
|
|
|
2021-06-06 03:58:39 -04:00
|
|
|
target 'WidgetsExtension' do
|
2021-02-21 22:09:04 -05:00
|
|
|
pod 'SwiftSocket', :git => 'https://github.com/swiftsocket/SwiftSocket.git', :branch => 'master'
|
|
|
|
end
|