From 6f0010a572a34371449cd4e34f8c2235c03e3555 Mon Sep 17 00:00:00 2001 From: Thiago Porto Date: Tue, 23 Apr 2019 11:51:05 -0300 Subject: [PATCH 1/3] Added Podfile.lock --- ios/Podfile.lock | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ios/Podfile.lock diff --git a/ios/Podfile.lock b/ios/Podfile.lock new file mode 100644 index 0000000..ac2ad85 --- /dev/null +++ b/ios/Podfile.lock @@ -0,0 +1,21 @@ +PODS: + - FileBrowser (1.0.0) + +DEPENDENCIES: + - FileBrowser (from `https://github.com/prscX/FileBrowser`) + +EXTERNAL SOURCES: + FileBrowser: + :git: https://github.com/prscX/FileBrowser + +CHECKOUT OPTIONS: + FileBrowser: + :commit: d36e59991f81618fc3f2a80650bc4ef1df57b6df + :git: https://github.com/prscX/FileBrowser + +SPEC CHECKSUMS: + FileBrowser: 42fe0e5dbb9602f13c6f7f742f4a4193b018eafd + +PODFILE CHECKSUM: e661a6f7762e7314b2c05b56a53d6b866b21ccfc + +COCOAPODS: 1.5.3 From 0f73c96c5a48e230b3401db7be8608aa246f1b02 Mon Sep 17 00:00:00 2001 From: Thiago Porto Date: Tue, 23 Apr 2019 11:54:41 -0300 Subject: [PATCH 2/3] Bump pacakge version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ca37aab..dd7c795 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-file-selector", - "version": "0.0.6", + "version": "0.0.7", "description": "React Native: Native File Selector", "main": "RNFileSelector.js", "scripts": { From d2ae93c6252e199c83053c1eff4f531fdfb68b10 Mon Sep 17 00:00:00 2001 From: Thiago Porto Date: Tue, 23 Apr 2019 12:17:44 -0300 Subject: [PATCH 3/3] Added bridging header --- ios/RNFileSelector-Bridging-Header.h | 4 ++++ ios/RNFileSelector.xcodeproj/project.pbxproj | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 ios/RNFileSelector-Bridging-Header.h diff --git a/ios/RNFileSelector-Bridging-Header.h b/ios/RNFileSelector-Bridging-Header.h new file mode 100644 index 0000000..1b2cb5d --- /dev/null +++ b/ios/RNFileSelector-Bridging-Header.h @@ -0,0 +1,4 @@ +// +// Use this file to import your target's public headers that you would like to expose to Swift. +// + diff --git a/ios/RNFileSelector.xcodeproj/project.pbxproj b/ios/RNFileSelector.xcodeproj/project.pbxproj index 915b49f..41d7f63 100644 --- a/ios/RNFileSelector.xcodeproj/project.pbxproj +++ b/ios/RNFileSelector.xcodeproj/project.pbxproj @@ -44,6 +44,7 @@ /* Begin PBXFileReference section */ 134814201AA4EA6300B7C361 /* libRNFileSelector.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNFileSelector.a; sourceTree = BUILT_PRODUCTS_DIR; }; 3EA737E0FFBB40D2ECF9C736 /* Pods-RNFileSelector.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFileSelector.release.xcconfig"; path = "Pods/Target Support Files/Pods-RNFileSelector/Pods-RNFileSelector.release.xcconfig"; sourceTree = ""; }; + 65B1DA22226F61570079466B /* RNFileSelector-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNFileSelector-Bridging-Header.h"; sourceTree = ""; }; A73D196C67F67BCCD9F439C8 /* Pods-RNFileSelector.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFileSelector.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RNFileSelector/Pods-RNFileSelector.debug.xcconfig"; sourceTree = ""; }; B3E7B5881CC2AC0600A0062D /* RNFileSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNFileSelector.h; sourceTree = ""; }; B3E7B5891CC2AC0600A0062D /* RNFileSelector.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNFileSelector.m; sourceTree = ""; }; @@ -80,6 +81,7 @@ 134814211AA4EA7D00B7C361 /* Products */, CE569A9020403969005B5ACC /* Frameworks */, 6EE51A2FE94F687D07C4BA7A /* Pods */, + 65B1DA22226F61570079466B /* RNFileSelector-Bridging-Header.h */, ); sourceTree = ""; }; @@ -142,6 +144,7 @@ TargetAttributes = { 58B511DA1A9E6C8500147676 = { CreatedOnToolsVersion = 6.1.1; + LastSwiftMigration = 1010; }; }; }; @@ -303,16 +306,21 @@ isa = XCBuildConfiguration; baseConfigurationReference = A73D196C67F67BCCD9F439C8 /* Pods-RNFileSelector.debug.xcconfig */; buildSettings = { + CLANG_ENABLE_MODULES = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, "$(SRCROOT)/../../../React/**", "$(SRCROOT)/../../react-native/React/**", ); + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = RNFileSelector; SKIP_INSTALL = YES; + SWIFT_OBJC_BRIDGING_HEADER = "RNFileSelector-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.2; }; name = Debug; }; @@ -320,16 +328,20 @@ isa = XCBuildConfiguration; baseConfigurationReference = 3EA737E0FFBB40D2ECF9C736 /* Pods-RNFileSelector.release.xcconfig */; buildSettings = { + CLANG_ENABLE_MODULES = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, "$(SRCROOT)/../../../React/**", "$(SRCROOT)/../../react-native/React/**", ); + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = RNFileSelector; SKIP_INSTALL = YES; + SWIFT_OBJC_BRIDGING_HEADER = "RNFileSelector-Bridging-Header.h"; + SWIFT_VERSION = 4.2; }; name = Release; };