Viro: Cannot install Cocoapods for Viro

Created on 14 Aug 2018  路  6Comments  路  Source: viromedia/viro

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

Most helpful comment

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'

All 6 comments

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'

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

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

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 :)

What's the solution to this ?

@ckOfor
platform :ios, '9.3'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vuthanhtrung0504 picture vuthanhtrung0504  路  5Comments

slycoder picture slycoder  路  4Comments

krishanjangir picture krishanjangir  路  4Comments

peacemind picture peacemind  路  5Comments

jonlaing picture jonlaing  路  6Comments