Carthage on Bitrise and timeout

carthage
ios
#1

Hi guys,

I’m creating this topic in order to find a way to solve our problem with the Bitrise timeout limit. Indeed, we have a problem making our builds because we face a timeout (at 5400 seconds) when Bitrise tries to compile all dependencies via Carthage. With the sub-dependencies, we have 35 frameworks to build. I know it’s a little bit big but I’m surprised it takes 90 minutes to build these frameworks. I’ve included the contents of the Cartfile.resolved at the end of this post. :slight_smile:

I use the following option to build only iOS dependencies : –platform iOS obviously. :slight_smile:
I think the build time is long because Bitrise gives us only 2 CPU cores per build, is there a way to get a more powerful config with out current Org Standard Account ? Or is there any other way to reduce the build time for these frameworks ?

Content of Cartfile.resolved :

binary “https://building42.github.io/Specs/Carthage/iOS/Crashlytics.json” “3.13.4”
binary “https://building42.github.io/Specs/Carthage/iOS/Fabric.json” “1.10.2”
binary “https://raw.githubusercontent.com/AppsFlyerSDK/AppsFlyerFramework/master/AppsFlyerTracker.json” “4.10.3”
github “AFNetworking/AFNetworking” “3.2.1”
github “Alamofire/Alamofire” “4.8.1”
github “BoltsFramework/Bolts-ObjC” “1.9.0”
github “DaveWoodCom/XCGLogger” “7.0.0”
github “HeroTransitions/Hero” “1.4.0”
github “MortimerGoro/MGSwipeTableCell” “1.6.8”
github “Moya/Moya” “12.0.1”
github “Quick/Nimble” “v8.0.1”
github “Quick/Quick” “v2.0.0”
github “ReactiveCocoa/ReactiveSwift” “5.0.0”
github “ReactiveX/RxSwift” “4.5.0”
github “SwiftyJSON/SwiftyJSON” “5.0.0”
github “akashivskyy/GoogleAnalytics-Framework” “3.17”
github “antitypical/Result” “4.1.0”
github “ashleymills/Reachability.swift” “v4.3.1”
github “bizz84/SwiftyStoreKit” “0.15.0”
github “cbpowell/MarqueeLabel” “3.2.1”
github “daltoniam/Starscream” “3.1.0”
github “facebook/facebook-objc-sdk” “v5.5.0”
github “facebook/facebook-swift-sdk” “f02ed1760d9bcee77a4c41a4bb51d4f933fdc2f8”
github “hyperoslo/Cache” “5.2.0”
github “hyperoslo/Imaginary” “4.2.0”
github “icanzilb/TaskQueue” “1.1.1”
github “jspahrsummers/xcconfigs” “1.0”
github “kirualex/SwiftyGif” “5.0.1”
github “kishikawakatsumi/KeychainAccess” “v3.2.0”
github “krzyzanowskim/CryptoSwift” “1.0.0”
github “pusher/pusher-websocket-swift” “6.1.0”
github “realm/realm-cocoa” “v3.14.2”
github “scinfu/SwiftSoup” “2.0.0”

0 Likes

#2

Hi there @QobuzCI :wave:

Thanks for your question!
It is very likely that the solution will be to acquire elite machines that can do heavy-duty work and handle your builds, but we’d be happy to try and see if your workflow can be optimized :wink:

Could you please send us your build URL and also enable Support Access on the Settings tab of the app ( https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/ )? :slight_smile:

0 Likes

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes