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

Building scheme "Realm" in Realm.xcworkspace takes too long #4199

Closed
liuxuan30 opened this issue Oct 8, 2016 · 4 comments
Closed

Building scheme "Realm" in Realm.xcworkspace takes too long #4199

liuxuan30 opened this issue Oct 8, 2016 · 4 comments
Labels

Comments

@liuxuan30
Copy link

Seeing below log in Travis CI for a couple of weeks, not sure if it's travis issue or Realm:
https://travis-ci.org/danielgindi/Charts/builds/165976532
Project:https://github.com/danielgindi/Charts

*** Building scheme "Realm" in Realm.xcworkspace

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

The build has been terminated

Any idea?

@kishikawakatsumi
Copy link
Contributor

@liuxuan30 We provide a pre-built binary for Carthage. No need to build from source. But

*** Skipped downloading realm-cocoa.framework binary due to the error:
    "Maximum number of login attempts exceeded. Please try again later."

above message shows downloading the pre-built binary fails due to API rate limit. Could you please try again later or set a GITHUB_ACCESS_TOKEN environment variable to avoid rate limit? travis-ci/travis-ci#4195

@cliftonlabrum
Copy link

cliftonlabrum commented Oct 12, 2016

I can confirm it takes a really long time to build, but it eventually finishes (~10 minutes).

@kishikawakatsumi Where can I get the pre-built Carthage binary? Are they on the latest (2.1) branch?

@stel
Copy link
Contributor

stel commented Oct 12, 2016

@cliftonlabrum you can get it here: https://github.com/realm/realm-cocoa/releases/

@jpsim
Copy link
Contributor

jpsim commented Oct 17, 2016

Building Realm with Carthage from source does indeed take a very long time, because of all the architectures that Realm supports and the fact that Carthage unnecessarily builds Realm many times from scratch. I'd suggest using Carthage with prebuilt binaries, or at least narrowing the number of platforms built by Carthage by specifying its --platform flag if you need to build from source.

@jpsim jpsim closed this as completed Oct 17, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants