Post

Replies

Boosts

Views

Activity

Reply to iPhone14 Pro and UserNotification limits
UP VOTE!!! It took me a long time to realize that there was a limit of 64 notifications. Users were complaining that the notifications they had set up in the app often failed. And the system doesn't seem to crop notifications in a specific order, which makes it harder to find bugs. Btw, although the limit of 64 notifications can be found in the doc, there are no obvious notes on the API when you are coding... and no debug logs or warnings.
Sep ’22
Reply to SwiftUI Previews in Xcode 14 failed to run with SettingsError: noExecutablePath(IDESwiftPackageStaticLibraryProductBuildable)
I finally solved the problem. I built binary XCFramework version of AppCenter, AppCenterAnalytics, AppCenterCrashes by myself. After using the XCFrameworks in Package.swift, SwiftUI Preview works properly. .binaryTarget(name: "AppCenter", path: "Carthage/Build/AppCenter.xcframework"), .binaryTarget(name: "AppCenterAnalytics", path: "Carthage/Build/AppCenterAnalytics.xcframework"), .binaryTarget(name: "AppCenterCrashes", path: "Carthage/Build/AppCenterCrashes.xcframework"),
Aug ’22
Reply to SwiftUI Previews in Xcode 14 failed to run with SettingsError: noExecutablePath(IDESwiftPackageStaticLibraryProductBuildable)
Update: Once I removed AppCenter from the project, Previews worked fine. After a series of attempts, I found that the problem only occurs with a specific project structure. // preview not work MyApp - MyLib (swift package) - Lib1 - Lib2 (add Lib1 as dependency) - AppCenterCrashes - AppCenterAnalytics - MainAppTarget (add Lib2 as dependency)
Jun ’22