Post

Replies

Boosts

Views

Activity

Reply to WidgetKit data is redacted
From documentation: Display a Placeholder Widget and Hide Sensitive Data A placeholder view is a generic visual representation with no specific content. When WidgetKit renders your widget, it may need to render your content as a placeholder; for example, while you load data in the background. It generates the placeholder using the redacted(reason:) view modifier with reason set to placeholder. This setting automatically renders the widget’s views in a way appropriate for use as a placeholder. To opt out of rendering as a placeholder and control which of your widget’s views appear redacted to hide sensitive information, use the unredacted() view modifier in the redacted(reason:) callback.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’23
Reply to Apple Watch cannot reconnect
@jeremyhu, what is devicectl?
Replies
Boosts
Views
Activity
Dec ’23
Reply to Provisioning profile doesn't support the HealthKit capability, doesn't include com.apple.developer.healthkit and com.apple.developer.healthkit.access entitlements. Your account does not have sufficient permissions to modify containers.
Same problem with CloudKit.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to WidgetKit data is redacted
From documentation: Display a Placeholder Widget and Hide Sensitive Data A placeholder view is a generic visual representation with no specific content. When WidgetKit renders your widget, it may need to render your content as a placeholder; for example, while you load data in the background. It generates the placeholder using the redacted(reason:) view modifier with reason set to placeholder. This setting automatically renders the widget’s views in a way appropriate for use as a placeholder. To opt out of rendering as a placeholder and control which of your widget’s views appear redacted to hide sensitive information, use the unredacted() view modifier in the redacted(reason:) callback.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to WidgetKit getSnapshot function is not called?
May be it's not called until the previous preview is expired?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to SKProduct response is empty
Folks, you should never ask your questions like this. Nobody will read through your code trying to find out how it supposed to work. Try to localize the error.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Are WatchOS storyboards forbidden now ?
Deprecating WatchKit will destroy games because SpriteView is much more glitchy then presenting a scene from WKInterfaceController.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to Open Health App Sources using URL Schemes
The URL in the question "x-apple-health://Sources/MyAppName/" opens the Health app for me (iOS 16) but doesn't open Sharing > Apps tab. Although "x-apple-health://Sources/" work. May be the app name is incorrect.
Replies
Boosts
Views
Activity
Jan ’23
Reply to Simulating a workout
Would Apple let us also fake it on our simulators? Because on the watch device debugging is really slow.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to SKAudioNode in iOS9 and volume
Instead of mainMixerNode access volume like this: (audioNode.avAudioNode as? AVAudioPlayerNode)?.volume This is the correct way to get SKAudioNode's volume.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Invalid Swift Support - The file libswiftAVFoundation.dylib doesn’t have the correct code signature.
I accidentally embedded some static libs (xcframeworks) and got the same problem. Outbedding them helped.
Replies
Boosts
Views
Activity
Sep ’22
Reply to Adding gradient background to SKScene
Similar solution, but without UIKit, using just CIContext: https://gist.github.com/Tantas/7fc01803d6b559da48d6
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to ITMS-90081 with Xcode 10 (10A254a)
The error is caused by Firebase. Removing the package and uploading successfully. Resolved! I removed all auxilary Firebase products, including Crashlytics, only FirebaseAnalytics left. And it uploads!
Replies
Boosts
Views
Activity
Jun ’22
Reply to ITMS-90081 with Xcode 10 (10A254a)
I have the same problem. But I'm using Swift PM, not Cocoapods... Cannot specify versions for the packages.
Replies
Boosts
Views
Activity
Jun ’22
Reply to Xcode won't add Firebase package manager
For those who still struggle, you need to "star" the project on GitHub, then it will appear in the Xcode packages list.
Replies
Boosts
Views
Activity
May ’22
Reply to Xcode - PDF Vector x PNG
*3 PNG files from the PDF *I would prefer PDF, gosh!
Replies
Boosts
Views
Activity
Feb ’22