QuasarOriginal post
Rank 1: Thread
I just updated my watchOS application, and included the appwrite framework (via swiftpm), and was starting to get reports of the watch crashing for various users. It appears as though version 8.5 crashes with this error. Are you able to help fix it? I'd be happy to do the work if you need.
it does not specifically call out the framework, but i removing it fixes the issue.
dyld[71680]: Symbol not found: _$sSo13WKApplicationC8WatchKitE31willEnterForegroundNotificationSo18NSNotificationNameavgZ
Referenced from: /Users/Library/Developer/CoreSimulator/Devices/1CB3B85A-4A42-4786-91A5-4CA4BB790DC3/data/Containers/Bundle/Application/34726FC6-1120-44A0-8D0A-6564426E3A26/Jump Watch App.app/Jump Watch App
Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS 8.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftWatchKit.dylib
perhpas you're trying to call willEnterForegroundNotification via a selector when this is not availble on watchOS? SHould be applicationWillEnterForeground from the WKApplicationDelegate
Thank you,
Mark
Summary
Developers experiencing crashes after updating to WatchOS 8.5, likely due to a Symbol not found error. The issue may be related to a mismatch in calling `willEnterForegroundNotification`. Try using `applicationWillEnterForeground` from `WKApplicationDelegate` instead.