Post

Replies

Boosts

Views

Activity

Testable Import of Module Containing Internal Struct Results In Unresolved Identifier Error
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
0
0
615
Jan ’20
Xcode 11 simulator 12.4 won't boot
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?
0
0
425
Jan ’20
On iOS, is there a reliable way with AVPlayerViewController to determine if a time jump occurred due to user interaction?
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?
0
0
404
Mar ’20