The iOS 15 and tvOS 15 simulator has a few issues which make some tests fail. Behavior is correct when the same behavior is tested on device, fortunately.
We should check if this issue is fixed in later versions or maybe report an issue to Apple.
Issue type
Other: Simulator bug
Description of the problem
Here are the tests which currently fail:
-testOnDemandPlaybackStartAtTimeWithTolerances: Starting around a position fails in the simulator. This can also be verified by tweaking the SRG Media Player demo to start around some position (the player struggles to start). The same modified demo project run on device works fine, as does the UT in the iOS 14 simulator.
-testStartTimeAroundBeginningOfSegmentWithSelection and -testStartTimeAroundEndOfSegmentWithSelection: Same issue due to position tolerances being used.
Environment information
- Library version: Tested with 6.1.4 (development version).
- iOS / tvOS version: 15.0
- Device: Simulator
Reproducibility
Always reproducible
Steps to reproduce
- Comment out the
#warning lines in the source code.
- Run the unit tests in the iOS or tvOS 15 simulator.
The iOS 15 and tvOS 15 simulator has a few issues which make some tests fail. Behavior is correct when the same behavior is tested on device, fortunately.
We should check if this issue is fixed in later versions or maybe report an issue to Apple.
Issue type
Other: Simulator bug
Description of the problem
Here are the tests which currently fail:
-testOnDemandPlaybackStartAtTimeWithTolerances: Starting around a position fails in the simulator. This can also be verified by tweaking the SRG Media Player demo to start around some position (the player struggles to start). The same modified demo project run on device works fine, as does the UT in the iOS 14 simulator.-testStartTimeAroundBeginningOfSegmentWithSelectionand-testStartTimeAroundEndOfSegmentWithSelection: Same issue due to position tolerances being used.Environment information
Reproducibility
Always reproducible
Steps to reproduce
#warninglines in the source code.