Skip to content

SPM Package.swift manifest causes CI failures due to unnecessary dependencies #779

@KaiOelfke

Description

@KaiOelfke

For clients of the Adjust SDK that only use AdjustSdk there are issues due to SPM resolving and loading all dependencies. In this case this means also loading https://github.com/googleads/google-ads-on-device-conversion-ios-sdk.git which has it's own dependencies and is a big enough download to regularly fail Xcode Cloud CI.

xcodebuild: error: Could not resolve package dependencies:   failed downloading 'https://dl.google.com/firebase/ios/appads/3.2.0/GoogleAdsOnDeviceConversion.zip' which is required by binary target 'GoogleAdsOnDeviceConversion': downloadError("The request timed out.")   fatalError

There's other issues discussing problems with this dependency and it being perhaps even deprecated:

#765

To avoid CI failures and for faster SPM resolves Adjust should alternatively publish a minimized fork with just the AdjustSDK. Perhaps also with a more suitable name as discussed in #500.

RevenueCat also has a dedicated repo for SPM to speedup things. See https://github.com/RevenueCat/purchases-ios-spm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions