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
This commit is contained in:
Eni Sinanaj 2020-04-30 14:16:19 +02:00 committed by GitHub
parent ade785e29d
commit b261a98efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View File

@ -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;

View File

@ -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

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>