Post

Replies

Boosts

Views

Activity

Reply to Xcode 15 beta 1 failed to preview SwiftUI view in watchOS target
@yellow8 No, the issue persists. I'm truly disappointed with the Xcode Previews team. It's not about the bugs, but their response to them. Every time I report a bug in Previews, they respond with a standard template asking for a diagnostic file. As you can see in this post, even when I provide detailed steps that reproduce the issue 100% of the time, they simply ignore them and continue to request the diagnostic file. They might even tell you it's a known issue, but still, they ask for a diagnostic file. So, I've given up.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’23
Reply to Conditionally Migrate WatchOS 10 users ONLY to WidgetKit
Crash log from my widget extension on watchOS 9 (but the extension deployment target is watchOS 10). The missing symbol is _$s21DeveloperToolsSupport13ColorResourceV4name6bundleACSS_So8NSBundleCtcfC. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: DYLD 4 Symbol missing Symbol not found: _$s21DeveloperToolsSupport13ColorResourceV4name6bundleACSS_So8NSBundleCtcfC Referenced from: <D018EC5D-C49D-387D-8E1D-52FBA6099567> /***.app/PlugIns/WatchComplications.appex/WatchComplications (built for watchOS 10.0 which is newer than running OS) Expected in: <3DEFD17C-9665-3448-964C-B3218FDE4DF9> /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport (terminated at launch; ignore backtrace) Triggered by Thread: 0 Thread 0 Crashed: 0 dyld 0x000000006954ec5c __abort_with_payload + 8 1 dyld 0x000000006955a31c abort_with_payload_wrapper_internal + 100 (terminate_with_reason.c:102) 2 dyld 0x000000006955a34c abort_with_payload + 12 (terminate_with_reason.c:124) 3 dyld 0x00000000694f4740 dyld4::halt(char const*) + 332 (DyldProcessConfig.cpp:2758) 4 dyld 0x00000000694f2be0 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3484 (dyldMain.cpp:0) 5 dyld 0x00000000694f176c start + 1872 (dyldMain.cpp:1107)
Topic: App & System Services SubTopic: General Tags:
Sep ’23
Reply to where to apply "grounding shadow" in Reality Composer Pro?
Thanks to https://developer.apple.com/forums/thread/733918 (I tested this snippet in Vision Pro lab and it worked.) extension Entity { public func setGroundingShadow(_ castsShadow: Bool) { self.enumerateHierarchy { entity, stop in if entity is ModelEntity { entity.components.set(GroundingShadowComponent(castsShadow: castsShadow)) } } } private func enumerateHierarchy(_ body: (Entity, UnsafeMutablePointer<Bool>) -> ()) { var stop = false func enumerate(_ body: (Entity, UnsafeMutablePointer<Bool>) -> ()) { guard !stop else { return } body(self, &stop) for child in children { guard !stop else { break } child.enumerateHierarchy(body) } } enumerate(body) } }
Topic: Graphics & Games SubTopic: RealityKit Tags:
Sep ’23
Reply to App Intent incorrectly parses milliliters as megaliters in the en-GB environment
FB13196716
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Xcode 15 beta 1 failed to preview SwiftUI view in watchOS target
@yellow8 No, the issue persists. I'm truly disappointed with the Xcode Previews team. It's not about the bugs, but their response to them. Every time I report a bug in Previews, they respond with a standard template asking for a diagnostic file. As you can see in this post, even when I provide detailed steps that reproduce the issue 100% of the time, they simply ignore them and continue to request the diagnostic file. They might even tell you it's a known issue, but still, they ask for a diagnostic file. So, I've given up.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Conditionally Migrate WatchOS 10 users ONLY to WidgetKit
Crash log from my widget extension on watchOS 9 (but the extension deployment target is watchOS 10). The missing symbol is _$s21DeveloperToolsSupport13ColorResourceV4name6bundleACSS_So8NSBundleCtcfC. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: DYLD 4 Symbol missing Symbol not found: _$s21DeveloperToolsSupport13ColorResourceV4name6bundleACSS_So8NSBundleCtcfC Referenced from: <D018EC5D-C49D-387D-8E1D-52FBA6099567> /***.app/PlugIns/WatchComplications.appex/WatchComplications (built for watchOS 10.0 which is newer than running OS) Expected in: <3DEFD17C-9665-3448-964C-B3218FDE4DF9> /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport (terminated at launch; ignore backtrace) Triggered by Thread: 0 Thread 0 Crashed: 0 dyld 0x000000006954ec5c __abort_with_payload + 8 1 dyld 0x000000006955a31c abort_with_payload_wrapper_internal + 100 (terminate_with_reason.c:102) 2 dyld 0x000000006955a34c abort_with_payload + 12 (terminate_with_reason.c:124) 3 dyld 0x00000000694f4740 dyld4::halt(char const*) + 332 (DyldProcessConfig.cpp:2758) 4 dyld 0x00000000694f2be0 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3484 (dyldMain.cpp:0) 5 dyld 0x00000000694f176c start + 1872 (dyldMain.cpp:1107)
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Live Activity color issue in sleep mode
The Environment(\.colorScheme) is broken. Always in dark mode. FB12765484 https://developer.apple.com/forums/thread/734615
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to iOS 17 Beta Breaks activityBackgroundTint(_:) on Live Activities
The Environment(\.colorScheme) is broken. Always in dark mode. FB12765484 https://developer.apple.com/forums/thread/734615
Replies
Boosts
Views
Activity
Sep ’23
Reply to iOS 17 beta 4: Live Activity on lock screen is always rendered in dark mode
FB12765484 Still seeing this on iOS 17.0 release and iPadOS 17.0 release. Similar reports: https://developer.apple.com/forums/thread/734946 https://developer.apple.com/forums/thread/717669
Replies
Boosts
Views
Activity
Sep ’23
Reply to Interactive Widget: unable to reload timeline from AppIntent
Useful link: https://github.com/feedback-assistant/reports/issues/359
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Incorrect compact Dynamic Island layout on iOS 17
FB13154996
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Interactive Widget: unable to reload timeline from AppIntent
Xcode 15 beta 8 + iOS 17 beta 8
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to is it possible to add dark mode to developer forums
FB13146906 ✋🏼✋🏼
Replies
Boosts
Views
Activity
Sep ’23
Reply to Failed to preview iOS app due to RealityKitContent.rkassets (should be linked only on visionOS)
@gchiste 😄 Thanks! You are fast. Which Xcode version are you using? I'm on Xcode 15.0 beta 8 (15A5229m) but I can workaround the issue by adding an empty line or removing the import statement.
Replies
Boosts
Views
Activity
Sep ’23
Reply to About Apple Vision Pro Developer Kit
I haven't heard any news about the developer kit at the moment. Really looking forward to getting one.
Replies
Boosts
Views
Activity
Sep ’23
Reply to where to apply "grounding shadow" in Reality Composer Pro?
Thanks to https://developer.apple.com/forums/thread/733918 (I tested this snippet in Vision Pro lab and it worked.) extension Entity { public func setGroundingShadow(_ castsShadow: Bool) { self.enumerateHierarchy { entity, stop in if entity is ModelEntity { entity.components.set(GroundingShadowComponent(castsShadow: castsShadow)) } } } private func enumerateHierarchy(_ body: (Entity, UnsafeMutablePointer<Bool>) -> ()) { var stop = false func enumerate(_ body: (Entity, UnsafeMutablePointer<Bool>) -> ()) { guard !stop else { return } body(self, &stop) for child in children { guard !stop else { break } child.enumerateHierarchy(body) } } enumerate(body) } }
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to iOS 17 StandBy Mode Opt Out for Widgets?
I also want to ask this question. In addition, I want to opt out of the systemSmall lock screen widget on the iPad. It seems that as long as it is compiled through the iOS 17 SDK, the widget must adapt to all positions.
Replies
Boosts
Views
Activity
Aug ’23
Reply to SwiftUI Previews Not Working In Swift Packages (XCode 15 beta 6)
😐 Frustrated. SwiftUI Previews have never worked smoothly.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23