I have a Unit Test Case class, as part of a Unit Test target, in which I am importing the module I wish to test with @testable.I am unable to build and run the test because one of the structs I'm trying to create in my test function, an internally defined struct in the module under test, is reported as an unresolved identifier (when I try to instantiate one) or undeclared type (when I introduce a typealias).Oddly, the type name appears in auto complete, but then autocomplete fails to show any initializers for the type.Any suggestions as to what to look for?Xcode 11.3, Swift 5
Post
Replies
Boosts
Views
Activity
Hello, Ever since I installed Xcode 11.3, I have had trouble with the 12.4 iPhone simulators. They will run, but all I get is a blank screen. Is anyone else having this problem?Note that I have multiple versions of Xcode installed on my machine. Currentlly 11.3, 11.1 and 10.3. I have them in different folders under /Applications, except for the 11.3 version which is the default /Applications/Xcode.app. The other two are in /Applications/Xcode_11.1/Xcode.app, and /Applications/Xcode_10.3/Xcode.app.Also xcode-select is set to /Applications/Xcode.app/Contents/DeveloperAny thoughts as to how to fix this?
We are playing video in an AVPlayerViewController. The video contains subtitles, and when the user enters the AVMediaSelectionViewController in order to select a subtitle language, the Done button is completely invisible because it is a white font on a white background.Does anyone know of a way to change the font color on this button?
On iOS, we are interested in intercepting user interaction with the AVPlayerViewController, specifically when the user skips to different parts of the video. We have added an observer of the AVPlayerItemTimeJumped event. We are noticing during normal playback that these jumps sometimes occur even though the user is not interracting with the playback controls.I noticed that there is an API that could be used to intercept these interactions:playerViewController(_:, timeToSeekAfterUserNavigatedFrom:, to:)But this is only available on tvOS.Is there any other way to capture these interactions on iOS?