Coder Social home page Coder Social logo

Install issue about geoswift HOT 15 CLOSED

geoswift avatar geoswift commented on May 22, 2024
Install issue

from geoswift.

Comments (15)

vfn avatar vfn commented on May 22, 2024

Can you confirm what Xcode version you are using, as well as cocoapods?

from geoswift.

JiDai avatar JiDai commented on May 22, 2024

Xcode Version 9.1 (9B55)

$ pod --version
1.3.1

from geoswift.

vfn avatar vfn commented on May 22, 2024

@JiDai thanks! I have the exact same setup, although pod install works as expected on a fresh clone of the repo.

So, you cloned the repo and run pod install and get the error above, is that correct? Or are you integrating GEOSwift into your project?

If it's an integration issue, can you plz share your Podfile

from geoswift.

JiDai avatar JiDai commented on May 22, 2024

I did not clone the repo, I create new empty project in Swift. modify the podfile and install.

Here is my Podfile

platform :ios, '8.0'
use_frameworks!

target 'PastSalesExplorer' do
    pod 'GEOSwift'
end

from geoswift.

vfn avatar vfn commented on May 22, 2024

@JiDai are you still experiencing this problem? If yes, could you please create a project that reproduces the issue and push it into a public github repo and share the link here?

Thanks!

from geoswift.

JiDai avatar JiDai commented on May 22, 2024

I juste created new project (Single View App), add podfile and install. Here is he repo https://github.com/JiDai/DemoGeoSwift

from geoswift.

vfn avatar vfn commented on May 22, 2024

You're getting the same issue on this new project?

I cloned your repo and couldn't replicate it:

pod install
Analyzing dependencies
Downloading dependencies
Installing GEOSwift (2.1.0)
Installing geos (3.5.0)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `DemoGeoSwift.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 2 total pods installed.

And the project running:
screen shot 2017-12-21 at 10 12 31 am

from geoswift.

JiDai avatar JiDai commented on May 22, 2024

Damn.
Yes, same issue on this new project.
So it is my env ?

from geoswift.

JiDai avatar JiDai commented on May 22, 2024

I found similar issues on Geos trac project. Can you bump dependency ?

from geoswift.

vfn avatar vfn commented on May 22, 2024

@JiDai What do you mean by Can you bump dependency ?

from geoswift.

JiDai avatar JiDai commented on May 22, 2024

Geos has been updated to 3.6.2. I supposed you could upgrade geos to this version but your pod file does not specify version, so the version installed is 3.5. Geos has not publish a version ulterior to 3.5 on cocoa pods ?

from geoswift.

vfn avatar vfn commented on May 22, 2024

@JiDai would you like to have a go at that? The GEOS podspec repo is at https://github.com/GEOSwift/geos

Please update it and then create a pull request for the new GEOS pod and another PR on this repo if needed.

Thanks!

from geoswift.

davenquinn avatar davenquinn commented on May 22, 2024

Hi, I don't know if anything has been resolved with this, but I am getting a similar error on attempted install on High Sierra. Essentially the same output as above, ending with

Can't fetch local revision (neither .svn nor .git found)
Wrote rev '0' in file './geos_svn_revision.h'
sed: can't read s/\/\* #undef HAVE_INT64_T_64 \*\//#define HAVE_INT64_T_64 1/: No such file or directory

(full logs attached.)

This occurs whether I try to integrate with my project, or do a clean install by cloning this repo and then running pod update and pod install. My cocoapods version is 1.5.0. It appears it is trying to install geos 3.5.0.

Any ideas?

from geoswift.

vfn avatar vfn commented on May 22, 2024

@davenquinn Can you confirm what version of the library you are trying to install? I released v2.2.0 last week. If you don't have the latest version, can you please try that out?

from geoswift.

macdrevx avatar macdrevx commented on May 22, 2024

We've revised the pod install process for GEOSwift 3.0.0 and geos 3.7.0. Please try them out and if you have any problems, reopen this issue with new info.

from geoswift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.