GEOSwift: pod install fails on macOS High Sierra
I’m running macOS High Sierra 10.13.3, XCode 9.2 (9C40b), and cocoapods 1.4.0. Running ‘pod install’ for ‘GEOSwift’ yields the following error. It seems to be purely related to the SVN export. I did notice that the geos project has transitioned from SVN to GIT (https://trac.osgeo.org/geos/wiki/CodeRepository). Has nobody else encountered this? How can we get our wonderful GEOSwift back under High Sierra? TIA!!!
Installing geos (3.5.0)
[!] Error installing geos
[!] /usr/bin/svn export --non-interactive --trust-server-cert --force https://svn.osgeo.org/geos/tags/3.5.0 /var/folders/n2/5vdk92sj48qgnvyw00jx0q480000gn/T/d20180301-15895-1qd8777
A /var/folders/n2/5vdk92sj48qgnvyw00jx0q480000gn/T/d20180301-15895-1qd8777
...
A /var/folders/n2/5vdk92sj48qgnvyw00jx0q480000gn/T/d20180301-15895-1qd8777/include/geos/geom/MultiPolygon.h
svn: E175013: Access to '/geos/!svn/rvr/4086/tags/3.5.0/include/geos/geom/GeometryCollection.h' forbidden
svn: E200042: Additional errors:
svn: E175013: Access to '/geos/!svn/rvr/4086/tags/3.5.0/include/geos/geom/Envelope.h' forbidden
svn: E175013: Access to '/geos/!svn/rvr/4086/tags/3.5.0/include/geos/geom/GeometryFactory.h' forbidden
svn: E175013: Access to '/geos/!svn/rvr/4086/tags/3.5.0/include/geos/geom/GeometryList.h' forbidden
svn: E175013: Access to '/geos/!svn/rvr/4086/tags/3.5.0/include/geos/geom/util/ShortCircuitedGeometryVisitor.h' forbidden
svn: E175013: Access to '/geos/!svn/rvr/4086/tags/3.5.0/include/geos/geom/util/PointExtracter.h' forbidden
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 60 (24 by maintainers)
@ElnazTaqizadeh TL;DR This should work as is without problem. Of course you need YOUR_TARGET_NAME with actual target name.
@vfn Your podspec for
geosis trying to buildgeosfor all architecture which takes a long time and almost impossible to debug. Mine only runs the./configureand let Xcode do the the heavy lifting.Thanks a lot for your answer. It’s good now.
Hey guys, I had a similar problem with
/bin/bash: line 2: alias: autoconf: not foundSo, I was using the CocoaPods application, then tried the
pod updatecommand (which turns out calls into the application for the version of cocoapods)I uninstalled the app, installed cocoapods as a gem, and then was able to successfully install and update the app.
This must be something about sub-shells created by the app and not having homebrew’s autoconf on the path.
So, again, my setup:
brew install rbenveval "$(rbenv init -)"in.bash_profilerbenv install 2.5.0rbenv system 2.5.0gem update --systemgem install cocoapodspod update@himi1 sure
@jwilson85 Following should solve your problem.
This did not work for me. when I included the
source 'https://github.com/mojtabacazi/Specs.git'My other pods started failingIf I don’t include it the install hangs