ios-build-action
ios-build-action copied to clipboard
Is there support for Swift-Package-Manager dependency caching capabilities?
Hi there.
I'd like to make use of caching capabilities for swift-package-manager dependencies (e.g. https://github.com/actions/cache). Is there a way to specify the path to which dependencies are resolved? Please see the example below, specifically:
-clonedSourcePackagesDirPath SourcePackages
xcodebuild \
-project MyProject.xcodeproj \
-scheme MyProject \
-clonedSourcePackagesDirPath SourcePackages \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro,OS=14.2' '-only-testing:MyProjectTests'
Much appreciated.
Sorry for the late response.
To do that, you need to add cloned_source_packages_path
to build_app
.
I will add that in the new year. Until then, please fork it and use it. (PR also welcome)
any updates on this?
@SumoSimo @sisoje Sorry for the late response. In v1.4.0, it is now possible to specify the cloned_source_packages_path.