Skip to content

Commit 365766f

Browse files
committed
- ios pod hot fix
1 parent 5844302 commit 365766f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

ios/Podfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ target 'RNFileSelector' do
66
use_frameworks!
77

88
# Pods for RNFileSelector
9-
pod 'FileBrowser'
9+
pod 'FileBrowser', :git => 'https://github.com/prscX/FileBrowser'
10+
11+
post_install do |installer|
12+
installer.pods_project.targets.each do |target|
13+
if target.name.include?('FileBrowser')
14+
target.build_configurations.each do |config|
15+
config.build_settings['SWIFT_VERSION'] = '4.1'
16+
end
17+
end
18+
end
19+
end
1020

1121
end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-file-selector",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "React Native: Native File Selector",
55
"main": "RNFileSelector.js",
66
"scripts": {

0 commit comments

Comments
 (0)