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

build: remove CocoaPods #530

Draft
wants to merge 1 commit into
base: awatt/tuist
Choose a base branch
from
Draft

build: remove CocoaPods #530

wants to merge 1 commit into from

Conversation

watt
Copy link
Collaborator

@watt watt commented Dec 4, 2024

Removes podspecs and most traces of CocoaPods. Blueprint will be distributed exclusively via SwiftPM.

Fixes #215

@@ -125,8 +124,6 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
cocoapods (~> 1.11)
cocoapods-generate (~> 1.0)
jazzy (~> 0.13)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

CocoaPods still appears in Gemfile.lock because it's a transitive dependency of jazzy. Might explore switching to docc at some point.


### How does it interact with SwiftUI?

They serve similar purposes, and SwiftUI has heavily influenced Blueprint's API. However, Blueprint predates SwiftUI, and works a bit differently. You can host a `BlueprintView` in SwiftUI to embed Blueprint within SwiftUI, and you can also use the provided `ElementView` to create Xcode previews of Blueprint. Because SwiftUI is hosted by a UIViewController, and Blueprint is hosted in a UIView, we don't provide a way to embed SwiftUI within Blueprint.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I cleaned this file up a lot, but it's mostly moving and deleting. This paragraph is new.

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.

1 participant