Verifying Supported Platforms #90
Replies: 3 comments 4 replies
-
|
For CocoaPods, we've been toying around with our PodSpec file using the localpod/devpod approach. Thus far, the SwiftUI Beta is pulling in on watchOS and tvOS with some routine changes to the |
Beta Was this translation helpful? Give feedback.
-
|
Proposed changes to the
Add to the Core subspec:
Add to the BETA_SwiftUI subspec:
|
Beta Was this translation helpful? Give feedback.
-
|
A PR has been created #94 to do these changes |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Verifying platforms other than iOS are now supported with the introduction of SwiftUI support.
For SPM, changed the
Package.swiftfile to include macOS, watchOS, and tvOS in the supported platforms.platforms: [.iOS(.v11), .macOS(.v11), .tvOS(.v14), .watchOS(.v7)],Versions for macOS, tvOS, and watchOS were based off of our
@availableStarting with a simple iOS project, we added new targets for macOS, watchOS, and tvOS respectively and added the files from the iOS target to also be part of the other targets. macOS was the only target where the
WorkflowLaunchercode was duplicated into its own targets'ContentView(whereas tvOS and watchOS deleted theContentViewfiles, and that only to make it look a bit nicer on macOS.Using
WorkflowLauncherjust worked across the various platforms for a simple workflow.Beta Was this translation helpful? Give feedback.
All reactions