LocationManager
LocationManager copied to clipboard
Not building on Carthage v0.34
Attempting to install/build via the latest release of Carthage (v0.34) results in the following error:
Dependency "LocationManager" has no shared framework schemes for any of the platforms: iOS
If you believe this to be an error, please file an issue with the maintainers at https://github.com/intuit/LocationManager/issues/new
After some snooping online it would seem this is a problem with how the library is structured, seeing all resources I could find blame the absence of xcschemas as the cause of this error, when this repo definitely includes them.
I'm wondering if anyone else has been able to repro + what could be causing this?
For reference all I did was run:
carthage update LocationManager --platform ios
My Cartfile contains
github "intuit/LocationManager" ~> 4.4.0
Open LocationManager.xcodeproj using Xcode
Edit scheme, remove the LocationManagerExample target in Build
Add INTULocationManager as your target, close your Xcode and try to build it again
carthage build LocationManager --platform ios *** xcodebuild output can be found in /var/folders/l9/0g908fn10bsgjsbvgpc1120c0000gn/T/carthage-xcodebuild.GWvaVS.log *** Skipped installing LocationManager.framework binary due to the error: "GitHub API request failed: networkError(Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x7fdbc0e55ce0 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=https://api.github.com/repos/intuit/LocationManager/releases/tags/v4.4.0?, NSErrorFailingURLKey=https://api.github.com/repos/intuit/LocationManager/releases/tags/v4.4.0?, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.})"
Falling back to building from the source
*** Building scheme "INTULocationManager" in LocationManager.xcworkspace
Wait for this PR to complete or if you wanna build it now just add this to your Cartfile:
github "arnold-plakolli/LocationManager" "master"
P.S. Make sure to update your Cartfile after the PR completes though.