LocationManager icon indicating copy to clipboard operation
LocationManager copied to clipboard

Not building on Carthage v0.34

Open Nickersoft opened this issue 5 years ago • 2 comments

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

Nickersoft avatar Jan 20 '20 05:01 Nickersoft

Open LocationManager.xcodeproj using Xcode 截屏2020-05-29 上午10 35 07 Edit scheme, remove the LocationManagerExample target in Build 截屏2020-05-29 上午10 30 54 Add INTULocationManager as your target, close your Xcode and try to build it again 截屏2020-05-29 上午10 34 56

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

jjksam avatar May 29 '20 02:05 jjksam

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.

arnold-plakolli avatar May 07 '21 13:05 arnold-plakolli