Xcode 10.2, cannot find interface declaration for 'xxx'

I update Xcode 10.2 today, everything run on my iPhone is perfect.

But, bad things happen on simulator. Xcode can't build project for simulator, the error log is:


Cannot find interface declaration for 'ButtonBarPagerTabStripViewController', superclass of 'XXXViewController'


What's happen?


ButtonBarPagerTabStripViewController is class of XLPagerTabStrip write in Swift, but my code is Swift too.


Please help me out, thanks!

+1 same problem in xcode 10.2.

sombody help me.

I also have the same problem.

In my case I am trying to subclass SessionDelegate of Alamofire.

Error is thrown in the bridging header of an embedded framework (XXX-Swift.h file).

Accepted Answer

It's Carthage issue. The fixed release will soon available.
https://github.com/Carthage/Carthage/pull/2748

Carthage fixed release available now, simulator can run my code perfectly. thanks for your help!

Xcode 10.2, cannot find interface declaration for 'xxx'
 
 
Q