Build aborted due to Carthage couldn't find binary framework for Realm

Bitrise Build Issue Report template

Description of the issue

I’m facing problem around Carthage build.

I’m importing Realm into my app through Carthage.

Build time for Realm is too long for Standard Machine, so I want to use binary framework. But Carthage fails to find its binary, and builds whole library every time. (and it’s aborted due to timeout…)

When I try to run fastlane on my local machine, Carthage can download binary framework. But on Bitrise, it couldn’t.

I know this👇 is a related issue, but I certainly set the GITHUB_ACCESS_TOKEN in Workflow Editor > Secrets.

Do you have any idea?

[Library I want to import]


Where did the issue happen?

  • Xcode 11.5.x, on macOS 10.15.4 (Catalina)

Which build Step causes the issue and which version of the step?

Carthage via fastlane(2.148.1)


It failed every time.

Local reproduction

It succeed every time…

Local reproduction: Linux / Android (docker based) stack builds

It’s iOS project.

Build log

[03:06:26]: e[36m$ carthage bootstrap realm-cocoa --verbose --platform iOS --cache-builds --log-path /Users/vagrant/deploy/buildlog/carthage_realm.loge[0m
[03:06:26]: ▸ e[35m*** Checking out realm-cocoa at "v4.4.1"e[0m
[03:06:31]: ▸ e[35m*** No cache found for realm-cocoa, building with all downstream dependenciese[0m
[03:06:31]: ▸ e[35m*** Skipped downloading realm-cocoa.framework binary due to the error:e[0m
[03:06:31]: ▸ e[35m"API rate limit exceeded for (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"e[0m
[03:09:13]: ▸ e[35m*** Building scheme "RealmSwift" in Realm.xcworkspacee[0m

Hi @nakagawa.toshitaka,

Please open a ticket on and we will help you over email.