From b261a98efeefbe9cac171b69ff37c657706b7de1 Mon Sep 17 00:00:00 2001 From: Eni Sinanaj Date: Thu, 30 Apr 2020 14:16:19 +0200 Subject: [PATCH] fix: Fixed reference to git repository in Podspec file (#161) * Fixed reference to git repository in Podspec file * Fixed build issue because of unused variable * Fixed issue with build. Unused variable inputImage --- ios/RNCCameraRollManager.m | 1 - ios/RNCCameraroll.podspec | 4 ++-- .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 ios/RNCCameraroll.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/ios/RNCCameraRollManager.m b/ios/RNCCameraRollManager.m index 717048326..0f3f12058 100644 --- a/ios/RNCCameraRollManager.m +++ b/ios/RNCCameraRollManager.m @@ -123,7 +123,6 @@ RCT_EXPORT_METHOD(saveToCameraRoll:(NSURLRequest *)request // URLs, `data:` URIs, etc. Video URLs are passed directly through for now; it may be nice to support // more ways of loading videos in the future. __block NSURL *inputURI = nil; - __block UIImage *inputImage = nil; __block PHFetchResult *photosAsset; __block PHAssetCollection *collection; __block PHObjectPlaceholder *placeholder; diff --git a/ios/RNCCameraroll.podspec b/ios/RNCCameraroll.podspec index b56fac98e..fa2b5e04c 100644 --- a/ios/RNCCameraroll.podspec +++ b/ios/RNCCameraroll.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| # s.license = { :type => "MIT", :file => "FILE_LICENSE" } s.author = { "author" => "author@domain.cn" } s.platform = :ios, "7.0" - s.source = { :git => "https://github.com/author/RNCCameraroll.git", :tag => "master" } + s.source = { :git => "https://github.com/react-native-community/react-native-cameraroll.git", :tag => "master" } s.source_files = "RNCCameraroll/**/*.{h,m}" s.requires_arc = true @@ -21,4 +21,4 @@ Pod::Spec.new do |s| end - \ No newline at end of file + diff --git a/ios/RNCCameraroll.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/RNCCameraroll.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/ios/RNCCameraroll.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + +