-
Notifications
You must be signed in to change notification settings - Fork 1
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
[MISC] Enable Swift Package Manager #3
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,3 +71,5 @@ fastlane/test_output | |
|
||
# macOS | ||
.DS_Store | ||
|
||
.swiftpm/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ The new interface displays the related contents and utilities in parallel as a u | |
|
||
s.platform = :ios, "11.0" | ||
s.source = { :git => "https://github.com/careem/FloatingPanel.git", :tag => "v#{s.version}" } | ||
s.source_files = "Framework/Sources/*.swift" | ||
s.source_files = "Sources/FloatingPanel/*.swift" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pod installation is validated? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes working but I need to make |
||
s.swift_version = "5.0" | ||
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' } | ||
|
||
|
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// swift-tools-version:5.8 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "FloatingPanel", | ||
platforms: [.iOS("11.0")], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shall we bump it to |
||
products: [ | ||
.library( | ||
name: "FloatingPanel", | ||
targets: ["FloatingPanel"]), | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target( | ||
name: "FloatingPanel", | ||
dependencies: []), | ||
.testTarget( | ||
name: "FloatingPanelTests", | ||
dependencies: ["FloatingPanel"] | ||
) | ||
] | ||
) |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you know if we still need an umbrella header and info plist in the package? 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version?