Post

Replies

Boosts

Views

Activity

TimeLimitTrait: minimal time limit way to huge
From the Documentation of .timeLimit(_:): Test timeouts do not support high-precision, arbitrarily short durations due to variability in testing environments. The time limit must be at least one minute, and can only be expressed in increments of one minute. Unit Tests are usually considered too long when they take more than 0.1 seconds. So a minimal time limit of on minute is completely useless for unit tests. Is there a similar trait in Swift Testing to handle millisecond time limits?
1
0
460
Jul ’24
Menu bar only macOS app: "Invalid 'com.apple.application-identifier' entitlement value"
I created a menu bar only macOS app using SwiftUI. 'Application is agent (UIElement)' is set to YES in the Info.plist. I use automatic signing. When I try to upload the app to App Store Connect, I get the following error. Invalid Provisioning Profile. The provisioning profile included in the bundle de.dasdom.XcodeTips [de.dasdom.XcodeTips.pkg/Payload/XcodeTips.app] is invalid. [Invalid 'com.apple.application-identifier' entitlement value.] For more information, visit the macOS Developer Portal. I also tried to create the certificates and the provisioning profile myself but got the exact same error each and every time. How can I fix this? Xcode Version: Version 14.1 (14B47b) Deployment Target: macOS 13.0
2
0
1.5k
Dec ’22
Crash on launch - strange crash report
I added widgets to my app and now it is crashing on launch when installed via TestFlight. The crashlog only shows ??? and the address 0x0 (see screenshot). Has someone of you seen something like this already and has an idea how to fix it? Some parameters: Very old project (started in 2009) some ObjC, some Swift, some SwiftUI Added an intent handler extension and a widget extension added base internationalisation the project has localisations that are marked as deprecated. When I delete them, App Store connect tells me that the binary is invalid. If you need more information, please let me know. crashlog-D727A673-E3C1-405C-B002-F7581A78DA09.crash
2
0
2.6k
Aug ’22