Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Fail to include to project by using "Carthage update" #17

Closed
yly813 opened this issue Jul 16, 2016 · 5 comments
Closed

Fail to include to project by using "Carthage update" #17

yly813 opened this issue Jul 16, 2016 · 5 comments
Assignees

Comments

@yly813
Copy link

yly813 commented Jul 16, 2016

When running "Carthage update", the following is shown
xcodebuild timed out while trying to read FBSDKIntegrationTests.xcodeproj 😭

@nlutsenko
Copy link
Contributor

Hey @yly813, this can happen sometimes due to a bug in carthage and xcodebuild.
Carthage has an explicit timeout set to avoid xcodebuild hanging sometimes.
I would recommend making sure you are running the latest Carthage, as well as general Xcode troubleshooting like removing your Xcode's Derived Data.

Let me know if you get any further, if not - would love to see your Cartfile and maybe a project that you can reproduce this with.

@nlutsenko nlutsenko added the repro needed Still needs more details in order to repro the issue label Jul 18, 2016
@yly813
Copy link
Author

yly813 commented Jul 19, 2016

Hello @nlutsenko, thank you for the reply. I am still facing the same problem.

My carthage version is 0.16.2. Although I have checked the latest release is 0.17.2, mine one should be the available latest version by using brew upgrade carthage.
I have also tried brew uninstall Carthage then brew install Carthage, it turns out the provided version is still 0.16.2.

My Xcode version is 7.3.1 (7D1014).

My Cartfile,

github "Alamofire/Alamofire" ~> 3.4
github "Alamofire/AlamofireImage" ~> 2.0
github "realm/realm-cocoa"
github "kishikawakatsumi/KeychainAccess"
github "facebook/Facebook-SDK-Swift"

Carthage update is success without github "facebook/Facebook-SDK-Swift"

After carthage update,
screen shot 2016-07-19 at 11 37 58 pm

@nlutsenko
Copy link
Contributor

Try running 'brew update' before 'brew upgrade carthage', as updating homebrew packages is a 2 step process (update the list of packages, then upgrade a package).

@yly813
Copy link
Author

yly813 commented Jul 20, 2016

Hello @nlutsenko , thank you very much! It turns out to be my ignorance on using the brew command.
With the 2 step process, I can update my Carthage to version 0.17.2.
Using this latest version, the sdk could be use with Carthage update. My problem is tackled.

@nlutsenko
Copy link
Contributor

Perfect! Glad I could help!

@nlutsenko nlutsenko self-assigned this Jul 20, 2016
@nlutsenko nlutsenko added distribution and removed repro needed Still needs more details in order to repro the issue labels Jul 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants