mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
carthage issue #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @demonar on GitHub (Dec 5, 2015).
When adding the project as a carthage dependency i get the following error:
A shell task failed with exit code 128:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
@PaulWoodIII commented on GitHub (Dec 5, 2015):
Just a quick response but that seems like a Carthage / Git configuration error not a CoreStore error.
@demonar commented on GitHub (Dec 5, 2015):
It is related to CoreStore as i have other libraries working without issues, i can try to get only CoreStore to see if the issue is related to having CoreStore and other libs at the same time.
@demonar commented on GitHub (Dec 5, 2015):
$ carthage update --platform ios
*** Fetching CoreStore
*** Checking out CoreStore at "1.3.4"
A shell task failed with exit code 128:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
@demonar commented on GitHub (Dec 5, 2015):
This are the other libraries i have and they're building just fine:
*** Fetching PKHUD
*** Fetching ObjectMapper
*** Fetching AlamofireImage
*** Fetching Alamofire
*** Fetching ReactiveCocoa
*** Fetching Result
*** Checking out PKHUD at "2.2.5"
*** Checking out ObjectMapper at "1.0.1"
*** Checking out AlamofireImage at "2.1.1"
*** Checking out Alamofire at "3.1.3"
*** Checking out Result at "1.0.0"
*** Downloading ReactiveCocoa.framework binary at "v4.0-alpha.4"
*** xcodebuild output can be found in /var/folders/5k/tpwkj4kj2jj0l9p1h85ntp_c0000gn/T/carthage-xcodebuild.oAk1EZ.log
@PaulWoodIII commented on GitHub (Dec 5, 2015):
Whats your Cartfile look like?
@demonar commented on GitHub (Dec 5, 2015):
github "ReactiveCocoa/ReactiveCocoa" >= 4.0
github "Alamofire/Alamofire" >= 3.0
github "Alamofire/AlamofireImage" >= 2.0
#github "gitdoapp/sugarrecord"
github "JohnEstropia/CoreStore" >= 1.3.0
github "Hearst-DD/ObjectMapper" >= 1.0
github "pkluz/PKHUD"
@demonar commented on GitHub (Dec 5, 2015):
Could that be related to that you have GCDKit as a submodule?
@PaulWoodIII commented on GitHub (Dec 5, 2015):
using just github "JohnEstropia/CoreStore" >= 1.3.0 in a clean project I can't reproduce the error when running
carthage bootstrapThe
Permission denied (publicly).makes me think its a git problemyou've got a point about the GCDKit submodule, what version of Carthage are you using?
@demonar commented on GitHub (Dec 5, 2015):
it's 0.10.0
@demonar commented on GitHub (Dec 5, 2015):
i run
carthage update --platform iosto get the latest and build only for ios and avoid creating extra lib files@demonar commented on GitHub (Dec 5, 2015):
This is the result of running bootstrap on my cartfile:
$ carthage bootstrap
*** No Cartfile.resolved found, updating dependencies
*** Fetching PKHUD
*** Fetching ObjectMapper
*** Fetching CoreStore
*** Fetching AlamofireImage
*** Fetching Alamofire
*** Fetching ReactiveCocoa
*** Fetching Result
*** Downloading ReactiveCocoa.framework binary at "v4.0-alpha.4"
*** Checking out AlamofireImage at "2.1.1"
*** Checking out Result at "1.0.0"
*** Checking out ObjectMapper at "1.0.1"
*** Checking out Alamofire at "3.1.3"
*** Checking out PKHUD at "2.2.5"
*** Checking out CoreStore at "1.3.4"
A shell task failed with exit code 128:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
@demonar commented on GitHub (Dec 5, 2015):
As GCDKit is a submodule and it's not declared as a carthage dependency, carthage is not able to resolve it, also, as you are the developer you might have no issues on getting the submodule, i think that's why i get the error, i'll try to add GCDKit as another carthage dependency to check if that solves the issue
@demonar commented on GitHub (Dec 5, 2015):
Tried with no luck
@PaulWoodIII commented on GitHub (Dec 5, 2015):
I'm not the developer, I've got no special access to the repo, just trying to help
@demonar commented on GitHub (Dec 5, 2015):
no worries, @JohnEstropia , i got it working by making these changes:
https://github.com/demonar/CoreStore
the tag 1.3.5 has GCDKit as a Carthage dependency and the resulting call to carthage update was:
$ carthage update --platform ios
*** Fetching PKHUD
*** Fetching ObjectMapper
*** Fetching CoreStore
*** Fetching AlamofireImage
*** Fetching Alamofire
*** Fetching ReactiveCocoa
*** Fetching GCDKit
*** Fetching Result
*** Checking out AlamofireImage at "2.1.1"
*** Checking out ObjectMapper at "1.0.1"
*** Checking out PKHUD at "2.2.5"
*** Checking out Result at "1.0.0"
*** Checking out GCDKit at "1.1.4"
*** Downloading ReactiveCocoa.framework binary at "v4.0-alpha.4"
*** Checking out CoreStore at "1.3.5"
*** Checking out Alamofire at "3.1.3"
*** xcodebuild output can be found in /var/folders/5k/tpwkj4kj2jj0l9p1h85ntp_c0000gn/T/carthage-xcodebuild.RJkj4Z.log
@demonar commented on GitHub (Dec 5, 2015):
If you want i can fill a pull request so you can include these changes on the repo.
@JohnEstropia commented on GitHub (Dec 6, 2015):
@demonar Can you check if the 1.3.4 tag works for you? I just discovered this as well yesterday when I was setting up Travis-CI builds.
Relevant commit:
03da3544f6@JohnEstropia commented on GitHub (Dec 6, 2015):
@demonar Can I check your pull request?
I find it weird you got it working because CoreStore never had a 1.3.5 tag...
EDIT:
Oh okay you added the tag to your own fork. That confirms this is a cache problem. I'll push a 1.3.5 tag to the main CoreStore repository once I get GCDKit's travis configuration working.
Thanks!
@demonar commented on GitHub (Dec 6, 2015):
Sorry for the late answer, yes, i added the 1.3.5 tag on my fork to make it work, otherwise Carthage won't take the commit.
I see that on your commit you added the https url for the repo, what i did is different, i think you can checkout my fork and take a look, basically, i removed GCDKit as a submodule and added it as a carthage dependency, that way, each carthage user will get GCDKit and CoreStore at the same time.
If you do that please look at the project settings, they are a little different, not that bad.
@demonar commented on GitHub (Dec 6, 2015):
By the way, AWESOME DB library, thumbs up
@JohnEstropia commented on GitHub (Dec 6, 2015):
@demonar
I see what you mean now. Unfortunately, I can't remove GCDKit's submodule as that will break the build for non-Carthage users. Hopefully my commit made it work for everyone.
Thanks! Feel free to report any other issues you find :)