diff --git a/ios/RNPdfScanner.podspec b/ios/RNPdfScanner.podspec old mode 100644 new mode 100755 index b9be324..87c0e6e --- a/ios/RNPdfScanner.podspec +++ b/ios/RNPdfScanner.podspec @@ -10,13 +10,9 @@ Pod::Spec.new do |s| s.license = package['license'] s.author = package['author'] s.homepage = 'https://github.com/Michaelvilleneuve/react-native-document-scanner' - s.source = { :git => 'https://github.com/Michaelvilleneuve/react-native-document-scanner.git', :tag => s.version } - - s.requires_arc = true s.platform = :ios, '8.0' - - s.preserve_paths = 'README.md', 'package.json', 'index.js' - s.source_files = '*.{h,m}' - + s.source = { :git => 'https://github.com/Michaelvilleneuve/react-native-document-scanner.git' } + s.source_files = 'ios/RNPdfScanner/**/*.{h,m}' s.dependency 'React' + s.requires_arc = true end diff --git a/ios/DocumentScannerView.h b/ios/RNPdfScanner/DocumentScannerView.h similarity index 100% rename from ios/DocumentScannerView.h rename to ios/RNPdfScanner/DocumentScannerView.h diff --git a/ios/DocumentScannerView.m b/ios/RNPdfScanner/DocumentScannerView.m similarity index 100% rename from ios/DocumentScannerView.m rename to ios/RNPdfScanner/DocumentScannerView.m diff --git a/ios/IPDFCameraViewController.h b/ios/RNPdfScanner/IPDFCameraViewController.h similarity index 100% rename from ios/IPDFCameraViewController.h rename to ios/RNPdfScanner/IPDFCameraViewController.h diff --git a/ios/IPDFCameraViewController.m b/ios/RNPdfScanner/IPDFCameraViewController.m similarity index 100% rename from ios/IPDFCameraViewController.m rename to ios/RNPdfScanner/IPDFCameraViewController.m diff --git a/ios/RNPdfScanner.xcodeproj/project.pbxproj b/ios/RNPdfScanner/RNPdfScanner.xcodeproj/project.pbxproj similarity index 100% rename from ios/RNPdfScanner.xcodeproj/project.pbxproj rename to ios/RNPdfScanner/RNPdfScanner.xcodeproj/project.pbxproj diff --git a/ios/RNPdfScannerManager.h b/ios/RNPdfScanner/RNPdfScannerManager.h similarity index 100% rename from ios/RNPdfScannerManager.h rename to ios/RNPdfScanner/RNPdfScannerManager.h diff --git a/ios/RNPdfScannerManager.m b/ios/RNPdfScanner/RNPdfScannerManager.m similarity index 100% rename from ios/RNPdfScannerManager.m rename to ios/RNPdfScanner/RNPdfScannerManager.m