Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPM: allow pod specs to declare Swift Package Manager dependencies with spm_dependency #743

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mfazekas
Copy link

@mfazekas mfazekas commented Jun 15, 2023

Implements: CocoaPods/CocoaPods#11942

See also: CocoaPods/CocoaPods#11953
First draft.

Note that I've implemented the keyword argument syntax:

spec.spm_dependency(
   :url => 'https://github.com/apple/swift-atomics.git',
   :requirement' => {:kind => 'upToNextMajorVersion',  :minimumVersion => '1.1.0'},
   :products' => ['Atomics']
)

But maybe using positional arguments would be better:

spec.spm_dependency(
   'https://github.com/apple/swift-atomics.git',
   {:kind => 'upToNextMajorVersion',  :minimumVersion => '1.1.0'},
   ['Atomics']
)

Copy link

@Archish27 Archish27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Super Awesome, Can someone please check & get this merged?

@krishnkishore
Copy link

Is there a plan to merge and release this soon?

@bensonarafat
Copy link

Pls, when can this be merge soon

@zhu-xiaowei
Copy link

This is a very useful feature for developers using the CocoaPods managed project. Looking forward to merging soon.

@renanyoy
Copy link

renanyoy commented Mar 15, 2024

what's the status of this PR ? is it available in cocoapod 1.14.3 ? is there still someone working on cocoapod ?

@eleazar0425
Copy link

Is this getting merged soon?

@Dunedubby
Copy link

Any update with getting this merged?

@zeeshanmakeen
Copy link

Any news about getting this merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.