Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Cocoapods for Viro #386

Closed
alexborton opened this issue Aug 14, 2018 · 6 comments
Closed

Cannot install Cocoapods for Viro #386

alexborton opened this issue Aug 14, 2018 · 6 comments

Comments

@alexborton
Copy link

alexborton commented Aug 14, 2018

Environment

  1. OS: Mac
  2. Platform: iOS
  3. Version: ViroReact version 2.9 and React Native 0.55.3
  4. Device(s): NA

Description

I've tried installing the Viro via the static instructions here (my current app does not use use_frameworks!). When i try to pod install, i get the following error;

CocoaPods could not find compatible versions for pod "ViroKit_static_lib":
  In Podfile:
    ViroKit_static_lib (from `../node_modules/react-viro/ios/dist/ViroRenderer/static_lib`)

Specs satisfying the `ViroKit_static_lib (from `../node_modules/react-viro/ios/dist/ViroRenderer/static_lib`)` dependency were found, but they required a higher minimum deployment target.

I have node_modules installed and checked the path - it exists ;)

@alexborton
Copy link
Author

30 seconds after posting, i realised that my platform :ios was at 8.0

I checked in the podspec and realised the Viro is at 9.3

It might be worth adding that to your docs 👍

platform :ios, '9.3'

@manbod
Copy link
Collaborator

manbod commented Aug 15, 2018

Glad you got it working! Will update our docs mention platform :ios, '9.3' 👍

@manbod manbod closed this as completed Aug 15, 2018
@manbod
Copy link
Collaborator

manbod commented Aug 15, 2018

Also, FYI - we had reports of the ViroKit_static_lib failing to build on v2.9.0, from other devs. We just released a new version 2.9.1 addressing those issues. Recommend updating your project to the new version

@alexborton
Copy link
Author

Thank you for the feedback - I have actually been having a number of issues. I reverted back to 2.8.1 as that was mentioned to be more stable. I won't list the issues in here as i don't want to ramble. I'll open new issues if/when i reach a dead end :)

@ckOfor
Copy link

ckOfor commented Jan 13, 2019

What's the solution to this ?

@gHashTag
Copy link

gHashTag commented Dec 5, 2019

@ckOfor
platform :ios, '9.3'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants