Post

Replies

Boosts

Views

Activity

New Navigation / Title Bar Buttons are totally broken on latest Ventura beta for Catalyst apps
I'm not sure what happened but everything I had done to get the new "Editor" and "Browser" style of navigation bars to work for my app on Catalyst has totally broken on the latest beta for Ventura. My app is using a UISplitViewController as the root view controller, and previously if I changed which view controller was representing the content then the buttons represented by its navigation item would update in the toolbar. Now all I see is the buttons from the first view controller's navigation item remain after a view controller changes. I have occasionally seen the buttons update to a different view controller's navigation item, but after that happens the buttons also no longer work. It's like they're being tapped on but nothing happens. Just to reiterate, all of this was working perfectly fine on the last beta and I haven't made any code changes since updating my Mac.
4
0
1.4k
Oct ’22
EventKit Broken on Ventura
My app is a Catalyst app for the Mac, iPad, and iPhone that reads and writes from reminders lists. For whatever reason it looks like EventKit on the Mac version is just not working at all. No reminders lists are returned when I ask for calendars of type reminder. No calendar is returned for the default calendar for new reminders function either. Everything seems to still work fine on iOS and iPadOS so I'm at a loss for why this would be happening on the Mac. It's always worked fine before. I've tried requesting access again but it just returns that I'm already authorized. I've tried toggling permission off and back on in system settings and that doesn't work either. I'm tempted to try something like logging out of iCloud and back in...but besides my issue locally I've been having users on Ventura beta write in to report the same issue. I definitely can't have all of my users who upgrade to Ventura sign out of iCloud and back in to fix this. They'd say I was crazy even if I tried. I wish I had spotted this earlier in the beta cycle but this is a pretty critical issue for me. Wondering if anyone has seen this or can think of a solution.
1
0
991
Sep ’22
INVoiceShortcutCenter.shared.setShortcutSuggestions not working
I'm using the setShortcutSuggestions method to add several NSUserActivity-based siri shortcuts to appear as options in the Shortcuts app. Previously this used to work fine and all of my suggestions appeared as options in the Shortcuts app. Now on the latest version of iOS and the Xcode 11.5 SDK this method no longer appears to be working for me, or I'm doing something wrong. Is there something else I should check if none of the shortcuts I'm providing are surfaced as options in the shortcuts app? I am setting isEligibleForPrediction to true on the user activity object when I create it.
1
0
680
Jul ’20
HKWorkoutConfiguration error 550 Unable to launch watch app
We're trying to use the HKWorkoutConfiguration API to launch our watch app from the parent iPhone app, but we seem to be getting this error a lot. We're trying to understand what it means and what we can do about it. Whenever it happens, the watch app fails to launch when we start a workout on the iOS counterpart app.There was an issue starting the workout via HKWorkoutConfiguration(). Error: Error Domain=com.apple.healthkit Code=550 "Unable to launch watch app" UserInfo={NSLocalizedDescription=Unable to launch watch app} ||
2
0
1.2k
Dec ’19
Debugging CPU Resource Fatal Process Killed Crash
Hi,We've noticed a few cases of a cpu_resource_fatal crash report for our app. The logs for the crash are somewhat interesting but don't really provide an obvious path forward to identifying the root cause or fixing the issue. I've been searching for a while to find some sort of documentation on this but I haven't found anything conclusive. The only thing I've found that really even hints at this issue is:https://developer.apple.com/library/archive/documentation/Performance/Conceptual/EnergyGuide-iOS/WorkLessInTheBackground.html"iOS employs a CPU Monitor that watches background apps for excessive CPU usage and terminates them if they fall outside of certain limits. Most apps performing normal background activity should never encounter this situation. However, if your app reaches the limits and is terminated, the crash log indicates the reason for the termination. An exception type of EXC_RESOURCE and subtype of CPU_FATAL is specified, along with a message indicating that limits were exceeded. See Listing 3-6."Our crash log doesn't have an exception type though. This is what it looks like below.I'm really struggling to figure out what would cause this. Is this caused by some sort of deadlock? Or by a runaway computational process? Or by a leaked background task?I have two sysdiagnose logs from when this has happened, but haven't found anything compelling in either of them yet.Any help is appreciated. Thanks!- Conrad{"app_name":"MapMyRun","timestamp":"2018-09-22 08:59:45.18 -0500","app_version":"18.8.5_beta_670e","slice_uuid":"A7173537-ED4B-3677-9893-4C882D0EB93A","adam_id":0,"build_version":"1809212128","bundleID":"com.mapmyfitness.MapMyRun","share_with_app_devs":false,"is_first_party":false,"bug_type":"206","os_version":"iPhone OS 11.4.1 (15G77)","incident_id":"26C70EF6-4844-4EC0-82B5-8F0D64022375","name":"MapMyRun"} Date/Time: 2018-09-22 08:58:50.113113 -0500 OS Version: iPhone OS 11.4.1 (Build 15G77) Architecture: arm64 Report Version: 19 Command: MapMyRun Path: /private/var/containers/Bundle/Application/B76F8244-CE8E-468E-9073-A2DFAA089DEB/MapMyRun.app/MapMyRun Version: 18.8.5_beta_670e (1809212128) Beta Identifier: 2FFE057C-B975-449C-B538-08A1D58CD510 PID: 2489 Event: cpu usage Action taken: Process killed CPU: 48 seconds cpu time over 54 seconds (88% cpu average), exceeding limit of 80% cpu over 60 seconds CPU limit: 48s Limit duration: 60s CPU used: 48s Duration: 54.45s Steps: 15 Hardware model: iPhone9,3 Active cpus: 2 Powerstats for: MapMyRun [2489] UUID: A7173537-ED4B-3677-9893-4C882D0EB93A Start time: 2018-09-22 08:59:29 -0500 End time: 2018-09-22 08:59:44 -0500 Microstackshots: 15 samples (100%) Primary state: 11 samples Frontmost App, User mode, Effective Thread QoS Background, Requested Thread QoS User Interactive, Override Thread QoS Unspecified User Activity: 15 samples Idle, 0 samples Active Power Source: 15 samples on Battery, 0 samples on AC 11 ??? (libdyld.dylib + 4032) [0x1839a9fc0] 11 ??? (MapMyRun + 1630896) [0x1044ae2b0] 11 ??? (UIKit + 3266392) [0x18df38758] 11 ??? (GraphicsServices + 45088) [0x185efe020] 11 ??? (CoreFoundation + 48552) [0x183f18da8] 6 ??? (CoreFoundation + 964740) [0x183ff8884] 5 ??? (CoreFoundation + 963128) [0x183ff8238] 5 ??? (CoreFoundation + 973072) [0x183ffa910] 5 ??? (QuartzCore + 770096) [0x188175030] 5 ??? (QuartzCore + 766384) [0x1881741b0] 4 ??? (QuartzCore + 606344) [0x18814d088] 4 ??? (QuartzCore + 603520) [0x18814c580] 4 ??? (QuartzCore + 1251792) [0x1881ea9d0] 4 ??? (QuartzCore + 1251792) [0x1881ea9d0] 4 ??? (QuartzCore + 1251792) [0x1881ea9d0] 4 ??? (QuartzCore + 1251792) [0x1881ea9d0] 4 ??? (QuartzCore + 1251792) [0x1881ea9d0] 4 ??? (QuartzCore + 1251792) [0x1881ea9d0] 4 ??? (QuartzCore + 1251792) [0x1881ea9d0] 4 ??? (QuartzCore + 1251792) [0x1881ea9d0] 4 ??? (QuartzCore + 1251952) [0x1881eaa70] 2 ??? (QuartzCore + 1253400) [0x1881eb018] 2 ??? (QuartzCore + 1411144) [0x188211848] 2 ??? (QuartzCore + 1410688) [0x188211680] 2 ??? (QuartzCore + 1409784) [0x1882112f8] 2 ??? (QuartzCore + 1395808) [0x18820dc60] 1 ??? (QuartzCore + 501636) [0x188133784] 1 ??? (QuartzCore + 480884) [0x18812e674] 1 ??? (QuartzCore + 501064) [0x188133548] 1 ??? (QuartzCore + 1398052) [0x18820e524] 1 ??? (QuartzCore + 1399040) [0x18820e900] 1 ??? (QuartzCore + 1253704) [0x1881eb148] 1 ??? (QuartzCore + 1600600) [0x18823fc58] 1 ??? (QuartzCore + 44152) [0x1880c3c78] 1 ??? (QuartzCore + 1253736) [0x1881eb168] 1 ??? (QuartzCore + 1611460) [0x1882426c4] 1 ??? (QuartzCore + 1588620) [0x18823cd8c] 1 ??? (QuartzCore + 594984) [0x18814a428] 1 ??? (CoreFoundation + 23828) [0x183f12d14] 5 ??? (CoreFoundation + 965576) [0x183ff8bc8] 5 ??? (CoreFoundation + 974960) [0x183ffb070] 5 ??? (libdispatch.dylib + 58972) [0x18395165c] 5 ??? (libdispatch.dylib + 6752) [0x183944a60] 4 ??? (QuartzCore + 1254252) [0x1881eb36c] 4 ??? (UIKit + 1224652) [0x18dd45fcc] 4 ??? (UIKit + 266424) [0x18dc5c0b8] 4 ??? (UIKit + 268080) [0x18dc5c730] 4 ??? (<4540B641-4362-33B5-952B-C1F6465EEF3F> + 32732) [0x10668ffdc] 4 ??? (<4540B641-4362-33B5-952B-C1F6465EEF3F> + 32320) [0x10668fe40] 4 ??? (UIKit + 2538032) [0x18de86a30] 3 ??? (UIKit + 258904) [0x18dc5a358] 2 ??? (<4540B641-4362-33B5-952B-C1F6465EEF3F> + 32496) [0x10668fef0] 2 ??? (QuartzCore + 1194600) [0x1881dca68] 2 ??? (QuartzCore + 1207156) [0x1881dfb74] 1 ??? (libobjc.A.dylib + 117032) [0x183220928] 1 ??? (QuartzCore + 1177944) [0x1881d8958] 1 ??? (QuartzCore + 1218176) [0x1881e2680] 1 ??? (libsystem_malloc.dylib + 5596) [0x183b0f5dc] 1 ??? (libsystem_malloc.dylib + 6308) [0x183b0f8a4] 1 ??? (libsystem_malloc.dylib + 11568) [0x183b10d30] 1 ??? (<4540B641-4362-33B5-952B-C1F6465EEF3F> + 32448) [0x10668fec0] 1 ??? (UIKit + 1263660) [0x18dd4f82c] 1 ??? (QuartzCore + 1170632) [0x1881d6cc8] 1 ??? (QuartzCore + 1207164) [0x1881dfb7c] 1 ??? (QuartzCore + 765228) [0x188173d2c] 1 ??? (libsystem_malloc.dylib + 14392) [0x183b11838] 1 ??? (UIKit + 258844) [0x18dc5a31c] 1 ??? (UIKit + 260928) [0x18dc5ab40] 1 ??? (UIKit + 261704) [0x18dc5ae48] 1 ??? (libobjc.A.dylib + 154564) [0x183229bc4] 1 ??? (libobjc.A.dylib + 83920) [0x1832187d0] 1 ??? (libsystem_malloc.dylib + 16224) [0x183b11f60] 1 ??? (libsystem_malloc.dylib + 16428) [0x183b1202c] 1 ??? (libsystem_malloc.dylib + 76316) [0x183b20a1c] 1 ??? (libsystem_platform.dylib + 26896) [0x183c73910] 1 ??? (QuartzCore + 1254104) [0x1881eb2d8] 1 ??? (QuartzCore + 1217544) [0x1881e2408] 1 ??? (QuartzCore + 1396236) [0x18820de0c] 1 ??? (QuartzCore + 1548264) [0x188232fe8] 1 ??? (libsystem_platform.dylib + 25660) [0x183c7343c] 4 ??? (libsystem_pthread.dylib + 2820) [0x183c77b04] 4 Binary Images: 0x104320000 - ??? com.mapmyfitness.MapMyRun 18.8.5_beta_670e (1809212128) /private/var/containers/Bundle/Application/B76F8244-CE8E-468E-9073-A2DFAA089DEB/MapMyRun.app/MapMyRun 0x106688000 - ??? ??? <4540B641-4362-33B5-952B-C1F6465EEF3F> 0x183204000 - 0x1838bffff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x183943000 - 0x1839a8fff libdispatch.dylib <0C931AC7-6013-3DE1-87BB-6F440BEED5EB> /usr/lib/system/libdispatch.dylib 0x1839a9000 - 0x1839c3fff libdyld.dylib <6225B1CD-3984-3071-A64A-DD8F31B09C36> /usr/lib/system/libdyld.dylib 0x183b0e000 - 0x183b29fff libsystem_malloc.dylib <6DD6981A-DEF5-30B3-B606-2F29ADE13BB2> /usr/lib/system/libsystem_malloc.dylib 0x183c6d000 - 0x183c76fff libsystem_platform.dylib <97DAE109-BAD6-3E58-8E5D-63B8DBDDADCF> /usr/lib/system/libsystem_platform.dylib 0x183c77000 - 0x183c86fff libsystem_pthread.dylib <07C87E38-74B7-3D12-8F0F-A331D8894B97> /usr/lib/system/libsystem_pthread.dylib 0x183f0d000 - 0x1842a3fff com.apple.CoreFoundation 6.9 (1452.23) <533C841E-D6E9-313D-8ADB-02388744E2EF> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x185ef3000 - 0x185f06fff com.apple.GraphicsServices 1.0 (1.0) <5011EC25-11D7-3A56-AF50-1E8207D54962> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1880b9000 - 0x1882ecfff com.apple.QuartzCore 1.11 (584.63) <10C9D621-C7ED-36F1-AE23-CFC2E8A83E9C> /System/Library/Frameworks/QuartzCore.framework/QuartzCore 0x18dc1b000 - 0x18ec99fff com.apple.UIKit 1.0 (1000) /System/Library/Frameworks/UIKit.framework/UIKit
7
0
13k
Oct ’18