Reducing compiling time for Cocoapods frameworks

Hi! I’m new to Bitrise but I’m having an issue I think you could help me. I have a swift/ios project with cocoapods and the step xcode-test@1.18.3 is taking at least 477 seconds to run!

I have my frameworks/pods uploaded but it seems that they are being compiled again each and everyone of them

Is there a way to reduce this time? Especially because what I now have are 17 tests that take less that a second to execute

primary:
    steps:
    - activate-ssh-key@3.1.1:
        run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
    - git-clone@3.4.3: {}
    - cache-pull@0.9.2: {}
    - cocoapods-install@1.6.1: {}
    - certificate-and-profile-installer@1.8.5: {}
    - recreate-user-schemes@0.9.5:
        inputs:
        - project_path: "$BITRISE_PROJECT_PATH"
    - xcode-test@1.18.3:
        inputs:
        - is_clean_build: 'yes'
    - cache-push@0.9.4:
        inputs:
        - cache_paths: "./Pods -> ./Podfile.lock"
    - deploy-to-bitrise-io@1.2.9: {}
    - slack@2.3.0:
        inputs:
        - webhook_url: https://hooks.slack.com/services/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
        - channel: "#devbot"
        - message: Build Succeed
        - message_on_error: Build Failed
        - icon_url: ''
        - icon_url_on_error: ''

Thanks for all the help you can give me :slight_smile:

1 Like

7 posts were merged into an existing topic: Builds slow, any solution to speed it up?