Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Unit Tests with local notifications time out on Xcode Cloud?

Hi!

I have some unit tests which send and receive local notifications. Unfortunately, when ran on Xcode Cloud, the tests time out. I assume due to a call to requestAuthorization in init() (I have started using Swift Testing).

Is there a way to get around this issue in order to run the tests?

Answered by DTS Engineer in 808928022

Is there a way to get around this issue in order to run the tests?

No. Please file a Feedback if you would like Apple to consider supporting this feature.

Accepted Answer

Is there a way to get around this issue in order to run the tests?

No. Please file a Feedback if you would like Apple to consider supporting this feature.

Thanks, done: FB15518167 (Unit Tests with local notifications time out on Xcode Cloud)

Unit Tests with local notifications time out on Xcode Cloud?
 
 
Q