Skip to content

Use Cocoapods 1.6#328

Merged
dfed merged 2 commits intomainfrom
dfed--cp-16
Oct 30, 2024
Merged

Use Cocoapods 1.6#328
dfed merged 2 commits intomainfrom
dfed--cp-16

Conversation

@dfed
Copy link
Copy Markdown
Collaborator

@dfed dfed commented Oct 30, 2024

No description provided.

@dfed dfed self-assigned this Oct 30, 2024
run: sudo xcode-select --switch /Applications/Xcode_16.app/Contents/Developer
- name: Lint Podspec
run: bundle exec pod lib lint --verbose --fail-fast --swift-version=6.0
run: bundle exec pod lib lint --verbose --fail-fast --swift-version=6.0 --allow-warnings # Cocoapods v1.6 now warns about potential naming colisions. We can fix this in the next breaking change.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The warnings:

    - WARN  | xcodebuild:  /Users/runner/work/Valet/Valet/Sources/Valet/Accessibility.swift:21:13: warning: public enum 'Valet.Accessibility' shadows module 'Accessibility', which may cause failures when importing 'Valet' or its clients in some configurations; please rename either the enum 'Valet.Accessibility' or the module 'Accessibility', or see https://github.com/apple/swift/issues/56573 for workarounds
    - WARN  | xcodebuild:  /Users/runner/work/Valet/Valet/Sources/Valet/Valet.swift:22:20: warning: public class 'Valet.Valet' shadows module 'Valet', which may cause failures when importing 'Valet' or its clients in some configurations; please rename either the class 'Valet.Valet' or the module 'Valet', or see https://github.com/apple/swift/issues/56573 for workarounds

This is indeed a thing. I doubt we'll fix Valet.Valet, but Valet.Accessibility could be renamed pretty easily in the next breaking change.

@dfed dfed marked this pull request as ready for review October 30, 2024 16:26
@dfed dfed merged commit 10fd1eb into main Oct 30, 2024
@dfed dfed deleted the dfed--cp-16 branch October 30, 2024 16:26
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