GLTFKit icon indicating copy to clipboard operation
GLTFKit copied to clipboard

CocoaPods branch not found error

Open jjv360 opened this issue 7 years ago • 0 comments

Hi, when trying to import this library using CocoaPods I get this error:

[!] Error installing GLTF
[!] /usr/bin/git clone https://github.com/warrenm/GLTFKit.git /var/folders/26/6jnb3c8577d4l4lc08vv19gc0000gn/T/d20180629-39482-ekkeka --template= --single-branch --depth 1 --branch 0.5.1

Cloning into '/var/folders/26/6jnb3c8577d4l4lc08vv19gc0000gn/T/d20180629-39482-ekkeka'...
warning: Could not find remote branch 0.5.1 to clone.
fatal: Remote branch 0.5.1 not found in upstream origin

In the mean time, a workaround that worked for me is to use the latest version directly from git, like so:

pod 'GLTF',     :git => "https://github.com/warrenm/GLTFKit.git"
pod 'GLTFSCN',  :git => "https://github.com/warrenm/GLTFKit.git"

jjv360 avatar Jun 29 '18 07:06 jjv360