Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not building on Carthage v0.34 #127

Open
Nickersoft opened this issue Jan 20, 2020 · 2 comments
Open

Not building on Carthage v0.34 #127

Nickersoft opened this issue Jan 20, 2020 · 2 comments

Comments

@Nickersoft
Copy link

Nickersoft commented Jan 20, 2020

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

@jjksam
Copy link

jjksam commented May 29, 2020

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

@arnold-plakolli
Copy link

arnold-plakolli commented May 7, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants