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.
-
Verifying platforms other than iOS are now supported with the introduction of SwiftUI support.
For SPM, changed the
Package.swift
file 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
@available
Starting 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
WorkflowLauncher
code was duplicated into its own targets'ContentView
(whereas tvOS and watchOS deleted theContentView
files, and that only to make it look a bit nicer on macOS.Using
WorkflowLauncher
just worked across the various platforms for a simple workflow.Beta Was this translation helpful? Give feedback.
All reactions