mapbox / mapbox-annotation-extension

Framework extensions that can be used with the Mapbox Maps SDK for iOS.
ISC License
11 stars 18 forks source link

Branch instead of tag? #63

Closed jmcur closed 4 years ago

jmcur commented 4 years ago

I'm running a Flutter project that includes mapbox-gl, which has mapbox-annotation-extension as a dependency. I'm having this error, where I think is trying to get the branch instead of the tag. Maybe 0.0.1-beta.1 was a branch before and mapbox-gl was not updated, but I cant figure out how to fix it from my side. Do you know a way to fix this, maybe by creating a branch with the name 0.0.1-beta.1 or modifying the mapbox-gl library in order to ask the tag and not the branch. Thanks!


-> Installing Mapbox-iOS-SDK (5.5.0)
      > Copying Mapbox-iOS-SDK from
      `/Users/juancurti/Library/Caches/CocoaPods/Pods/Release/Mapbox-
      iOS-SDK/5.5.0-7fa66` to `Pods/Mapbox-iOS-SDK`

    -> Installing MapboxAnnotationExtension (0.0.1-beta.1)
     > Git download
     > Git download
         $ /usr/bin/git clone
         https://github.com/mapbox/mapbox-annotation-extension.git
         /var/folders/nj/qknzmld91cqct7m_bzmfp8g00000gn/T/d20200122-3
         892-aerfk5 --template= --single-branch --depth 1 --branch
         0.0.1-beta.1

    [!] Error installing MapboxAnnotationExtension
    [!] /usr/bin/git clone
    https://github.com/mapbox/mapbox-annotation-extension.git
    /var/folders/nj/qknzmld91cqct7m_bzmfp8g00000gn/T/d20200122-3892-a
    erfk5 --template= --single-branch --depth 1 --branch 0.0.1-beta.1

    Cloning into
    '/var/folders/nj/qknzmld91cqct7m_bzmfp8g00000gn/T/d20200122-3892-
    aerfk5'...
    warning: Could not find remote branch 0.0.1-beta.1 to clone.
    fatal: Remote branch 0.0.1-beta.1 not found in upstream origin