callstack / react-native-image-editor

A library providing an API for cropping images from the web and the local file system.
MIT License
376 stars 118 forks source link

Unable to find a specification for `React-RCTImage` depended upon by `react-native-image-editor` #34

Closed thekevinbrown closed 5 years ago

thekevinbrown commented 5 years ago

Bug

[!] Unable to find a specification for `React-RCTImage` depended upon by `react-native-image-editor`

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

Environment info

React Native 0.59.10

React native info output:

$ react-native info
info 
  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (8) x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
      Memory: 37.52 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
      Yarn: 1.13.0 - /usr/local/bin/yarn
      npm: 6.9.0 - ~/.nvm/versions/node/v10.15.3/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    IDEs:
      Android Studio: 3.4 AI-183.6156.11.34.5692245
      Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.10 => 0.59.10 
    npmGlobalPackages:
      react-native-cli: 2.0.1

Library version: 2.0.1

Steps To Reproduce

  1. Upgrade from version 2.0.0 to 2.0.1 with React Native v59
  2. pod install

Describe what you expected to happen:

  1. Successful pod install

Reproducible sample code

This is a podspec problem, which looks like it was introduced in 885669d8af54f8570a5f18b61550e637d2c54987 with the note of fixing it, but the change actually breaks it when it was working for us under 2.0.0. I'm not sure why that change was made but it's breaking our build at the moment.

thekevinbrown commented 5 years ago

We've reverted to v2.0.0 which is working.

Trancever commented 5 years ago

@thekevinbrown v2.0.0 doesn't work on 0.60.x React-Native.

thekevinbrown commented 5 years ago

We're using 0.59.10 React-Native.

Trancever commented 5 years ago

@thekevinbrown Good, use v2.0.0 and it's gonna work fine for you

ghost commented 4 years ago

[!] Unable to find a specification for React-RCTImage depended upon by react-native-image-editor

You have either:

info React Native Environment Info: System: OS: macOS 10.14.5 CPU: (4) x64 Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz Memory: 2.19 GB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 13.10.1 - /usr/local/Cellar/node/13.10.1/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.2 - /usr/local/Cellar/node/13.10.1/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3 IDEs: Xcode: 10.3/10G8 - /usr/bin/xcodebuild npmPackages: react: 16.8.3 => 16.8.3 react-native: ^0.59.5 => 0.59.9 npmGlobalPackages: react-native-cli: 2.0.1