I've tried both WatchKit and SwiftUI and neither offer a keypad in watchOS 8.
I've tried the different types which suggest number pad in the documentation:
The input controller displays a number pad for telephoneNumber, creditCardNumber, oneTimeCode, and postalCode content types.
Is this purposeful or a bug?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
similar to
https://developer.apple.com/forums/thread/656601
and
https://developer.apple.com/forums/thread/693313
Using NWBrowser and NWListener I'm trying to send a small package of data from the listener/server to the device.
However the device never receives the actual bytes. It either:
gets stuck the preparing state
the connection gets reset
the data is null and is marked as isComplete = true
The only way I can get the device to receive the data is by calling cancel on the NWConnection on the server/NWListener end.
Here is some sample code I am working with:
https://github.com/leogdion/JustBonjour/tree/nwlistener
Is this expected behavior that cancel is required?
I have a multi-platform app with the SwiftUI code a separate Swift Package. Any Views with SwiftUI Previews break the compilation of the app. Here's the error message I get in Xcode:
Showing All Messages
ld: warning: Could not parse or use implicit file '/Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore.tbd': cannot link directly with 'SwiftUICore' because product being built is not an allowed client of it
Undefined symbols for architecture arm64_32:
"(extension in SwiftUI):DeveloperToolsSupport.Preview.init(_: Swift.String?, traits: DeveloperToolsSupport.PreviewTrait<DeveloperToolsSupport.Preview.ViewTraits>..., body: @Swift.MainActor @Sendable () -> SwiftUI.View) -> DeveloperToolsSupport.Preview", referenced from:
static BitnessViews.$s12BitnessViews33_ABDBADF565C741E50A2A5746CE94FCD9Ll7PreviewfMf_15PreviewRegistryfMu_.makePreview() throws -> DeveloperToolsSupport.Preview in BitnessViews.o
ld: symbol(s) not found for architecture arm64_32
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could not parse or use implicit file '/Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore.tbd': cannot link directly with 'SwiftUICore' because product being built is not an allowed client of it
Undefined symbol: (extension in SwiftUI):DeveloperToolsSupport.Preview.init(_: Swift.String?, traits: DeveloperToolsSupport.PreviewTrait<DeveloperToolsSupport.Preview.ViewTraits>..., body: @Swift.MainActor @Sendable () -> SwiftUI.View) -> DeveloperToolsSupport.Preview
Linker command failed with exit code 1 (use -v to see invocation)
Any thoughts as to what might be going on here?
In the Sidebar, the badge doesn't show up for me. This is also the case with the end product:
ForEach(store.gardens(in: store.currentYear)) { garden in
Label(garden.name, systemImage: "leaf")
.badge(garden.numberOfPlantsNeedingWater)
}
What is the policy regarding macOS apps which only support Apple Silicon?
I am looking at building something around the Virtualization framework but it appears to only support the features I want on Apple Silicon macOS devices.
Can I still publish this on Mac App Store? Is there a workaround for this if not?
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
App Store
Apple Silicon
App Review
Hypervisor