You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK 1.6.0 crashes on watchOS 8.
The crash occurs at app startup:
dyld[87977]: Symbol not found: _$sSo13WKApplicationC8WatchKitE30didEnterBackgroundNotificationSo18NSNotificationNameavgZ
Referenced from: /Users/djavan.bertrand/Library/Developer/CoreSimulator/Devices/E858B752-0788-40E6-9BD4-F16B5FF6579B/data/Containers/Bundle/Application/7BE69845-5B5D-4047-A6EB-18D887720C21/Watch-App-Sampler WatchKit App.app/PlugIns/Watch-App-Sampler WatchKit Extension.appex/Watch-App-Sampler WatchKit Extension
Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS 8.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftWatchKit.dylib
Please note that it does not crash with the 1.5.2.
Possible Solution
I don't have a solution, but this might be related to the changes brought in this PR: #163
Maybe using compiler directive or availability directives (something like if #available(watchOS 8.0, *) would solve this crash?
Steps to Reproduce
Please use the following sample project (it is just a watch OS app with a dependency on Amplitude-Swift 1.6.0): Amplitude-Watch-Test.zip
Run it on a watchOS 8 simulator or real device
Environment
SDK Version: 1.6.0
Xcode: Xcode 15.4
The text was updated successfully, but these errors were encountered:
The SDK 1.6.0 crashes on watchOS 8.
The crash occurs at app startup:
Please note that it does not crash with the 1.5.2.
Possible Solution
I don't have a solution, but this might be related to the changes brought in this PR: #163
Maybe using compiler directive or availability directives (something like
if #available(watchOS 8.0, *)
would solve this crash?Steps to Reproduce
Please use the following sample project (it is just a watch OS app with a dependency on Amplitude-Swift 1.6.0):
Amplitude-Watch-Test.zip
Environment
The text was updated successfully, but these errors were encountered: