Xcode 9 and xcodebuild timeout on carthage

Hi, since this morning i’m trying to build our app but it always fail on the carthage bootstrap task for same Xcode build timeout issue.
Nothing else has been changed in the workflow, i’ve just changed the Xcode version from 8.3.x to 9.
On local everything works correctly.
Thanks in advance to anyone who can help.
Here the log:

+------------------------------------------------------------------------------+

| (5) carthage@3.1.2                                                           |
+------------------------------------------------------------------------------+
| id: carthage                                                                 |
| version: 3.1.2                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2017-09-20T07:32:48-07:00                                              |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[07:32:48]  * [OK] Step dependency (go) installed, available. 
INFO[07:32:48]  * [OK] Step dependency (carthage) installed, available. 
Configs:
- CarthageCommand: bootstrap
- CarthageOptions: --platform iOS --project-director
- GithubAccessToken: 
Environment:
- CarthageVersion: 0.25.0
- SwiftVersion: Apple Swift version 4.0 (swiftlang-900.0.65 clang-900.0.37) - Target: x86_64-apple-macosx10.9
--project-directory flag found with value: ****
using **** as working directory
Check if cache is available
cache available: false
Running Carthage command
$ carthage "bootstrap" "--platform" "iOS" "--project-directory"
*** Skipped downloading fmdb.framework binary due to the error:
	"API rate limit exceeded for 208.52.166.154. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"
*** Checking out fmdb at "2.7.2"
*** Cloning fmdb
*** Skipped downloading aws-sdk-ios.framework binary due to the error:
	"API rate limit exceeded for 208.52.166.154. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"
*** Checking out aws-sdk-ios at "2.6.1"
*** Cloning aws-sdk-ios
*** Skipped downloading Down.framework binary due to the error:
	"API rate limit exceeded for 208.52.166.154. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"
*** Checking out Down at "f680a4e1914d5e78daa7c75e2d272f98c786bddd"
*** Cloning Down
*** xcodebuild output can be found in /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/carthage-xcodebuild.OFCXEb.log
xcodebuild timed out while trying to read AWSiOSSDKv2.xcodeproj 😭
Carthage command failed, error: exit status 1
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | carthage@3.1.2 (exit code: 1)                                 | 407 sec  |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-steplib/steps-carthage/issues      |
| Source: https://github.com/bitrise-steplib/steps-carthage                    |
+---+---------------------------------------------------------------+----------+

Just in case someone else is having the same issue, i’ve quickly solved it just removing the carthage cache pull and push from the workflow and than the carthage task run correctly. I’ll work out what’s wrong in the pull and push later.

1 Like

Did it work on bitrise.io too without the cache steps?

One more thing @Fabiolino:

Please open the Step in the Workflow Editor and specify the Github Personal Access Token input, the way it’s described there, to avoid the rate limit exceeded issue.