question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React-RCTCameraRoll Podspec missing in 0.61.2

See original GitHub issue

It’s no longer possible to install the camera roll library via CocoaPods on 0.61.2. It looks like the React-RCTCameraRoll.podspec is missing in the latest release. It was previously present in 0.60.6.

Podfile command: pod 'React-RCTCameraRoll', :path => '../node_modules/react-native/Libraries/CameraRoll'

I included screenshots below of the /node_modules/react-native/Libraries/CameraRoll/ directory. Both new projects created from scratch with react-native init - 0.60.6 on the left and 0.61.2 on the right.

cameraroll

React Native version:

System: OS: macOS Mojave 10.14.5 CPU: (12) x64 Intel® Core™ i7-8700B CPU @ 3.20GHz Memory: 591.88 MB / 16.00 GB Shell: 3.2.57 - /bin/bash

Binaries: Node: 8.4.0 - ~/.nvm/versions/node/v8.4.0/bin/node npm: 5.3.0 - ~/.nvm/versions/node/v8.4.0/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0 Android SDK: API Levels: 24, 25, 26, 27, 28, 29 Build Tools: 27.0.2, 28.0.3, 29.0.2 IDEs: Android Studio: 3.5 AI-191.8026.42.35.5900203 Xcode: 11.1/11A1027 - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.2 => 0.61.2 npmGlobalPackages: react-native-cli: 2.0.1

Steps To Reproduce

  1. create a new project with react-native init --version 0.61.2 <ProjectName>
  2. open /node_modules/react-native/Libraries/CameraRoll directory and observe the podspec file is missing

Describe what you expected to happen: Expected the following pod file command to install the camera roll library pod 'React-RCTCameraRoll', :path => '../node_modules/react-native/Libraries/CameraRoll'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:7

github_iconTop GitHub Comments

2reactions
brien-creancommented, Dec 1, 2020

I just noticed the react-native-community repo https://github.com/react-native-cameraroll/react-native-cameraroll which provides the same API. I just installed it following their docs so closing this ticket

0reactions
sundariragavancommented, Nov 26, 2020

any updates on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to find a specification in CocoaPods
Might want to try pod repo update && pod setup first - if your repo is just missing specs this might fix it...
Read more >
Podspec Syntax Reference v1.11.2
A specification describes a version of Pod library. It includes details about where the source should be fetched from, what files to use,...
Read more >
Troubleshooting
To solve this, you might need to uninstall the gem first and then re-install. $ gem uninstall cocoapods $ gem install cocoapods.
Read more >
F.A.Q
First see point #2, then consider that unless you tell us about the missing feature and why it is important, it won't happen...
Read more >
Specs and the Specs Repo
A Podspec, or Spec, describes a version of a Pod library. ... -Wno-missing-prototypes' facebook.dependency 'Facebook-iOS-SDK' end # ... end.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found