Open jparismorgan opened 2 years ago
Thanks for your report, @jparismorgan!
I had a look at the current state of master
, and everything seems to have the correct access level. I then set up a new Xcode project and added "SwiftOverpassWrapper" to the Podfile
. While running pod install
, I noticed that instead of the most-recent release (v2.0.0), it was installing 1.0.3.
And in version 1.0.3, the initializer of NodeQuery
is internal
(cp. here).
@holyturt, in order to resolve this, we probably need to publish the v2.0.0 to the CocoaPods specs repo. I believe only you can do that, since you're the owner. (But I might be mistaken.) Could you have a look and help @jparismorgan out? Thanks in advance! (And a happy new year, btw! 🥳)
Thanks @wtimme, that looks like the issue. If I do pod search SwiftOverpass
I see 1.0.3
is the most recent:
-> SwiftOverpass (1.0.3)
A wrapper of Overpass API.
pod 'SwiftOverpass', '~> 1.0.3'
- Homepage: https://github.com/holyturt/SwiftOverpassWrapper
- Source: https://github.com/holyturt/SwiftOverpassWrapper.git
- Versions: 1.0.3, 1.0.2, 1.0.1, 1.0.0 [trunk repo]
In case you are still interested in using this framework, you can specify the repository and the branch directly in your Podfile
. Take a look:
Before:
pod 'SwiftOverpass, '~> 1.0.3'
After:
pod `SwiftOverpass`,
:git => 'https://github.com/holyturt/SwiftOverpassWrapper.git',
:branch => 'main'
Note: I haven't tested this myself locally. In case you run into problems or wanted to read up on the details of this syntax, head over to the Podfile
documentation. I hope that helps.
In case you are still interested in using this framework, you can specify the repository and the branch directly in your
Podfile
. Take a look:Before:
pod 'SwiftOverpass, '~> 1.0.3'
After:
pod `SwiftOverpass`, :git => 'https://github.com/holyturt/SwiftOverpassWrapper.git', :branch => 'main'
Note: I haven't tested this myself locally. In case you run into problems or wanted to read up on the details of this syntax, head over to the
Podfile
documentation. I hope that helps.
To the Answer of wtimme
In my case it worked by using
pod 'SwiftOverpass', :git => 'https://github.com/holyturt/SwiftOverpassWrapper.git', :branch => 'master'
On XCode 13.2.1 you will get: