You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a Swift target HouseSwift with a dependency on an Objective C target CatObjC, which in turn has a dependency on another Swift target DogSwift. (The problem also occurs if DogSwift is replaced with an ObjC target)
Write an implementation of an Objective C classCat in target CatObjC which uses a Swift class Dog from DogSwift
In CatObjC, create a subclass Tabby which inherits Cat
Create a Swift class Housewhich inherits Tabby
Create a podspec
run pod lib lint
What did you expect to happen?
Build without errors. The project builds locally and through Carthage.
What happened instead?
Received build error
- ERROR | [iOS] [TestingInteroperability/HouseSwift] xcodebuild: /Users/username/Library/Developer/Xcode/DerivedData/App-gbrkugflhfhqpbhhoaxryivoepsa/Build/Products/Release-iphonesimulator/TestingInteroperability/TestingInteroperability.framework/Headers/TestingInteroperability-Swift.h:267:20: error: cannot find interface declaration for 'Tabby', superclass of 'House'
Report
What did you do?
HouseSwift
with a dependency on an Objective C targetCatObjC
, which in turn has a dependency on another Swift targetDogSwift
. (The problem also occurs ifDogSwift
is replaced with an ObjC target)Cat
in targetCatObjC
which uses a Swift classDog
fromDogSwift
CatObjC
, create a subclassTabby
which inheritsCat
House
which inheritsTabby
podspec
pod lib lint
What did you expect to happen?
Build without errors. The project builds locally and through Carthage.
What happened instead?
Received build error
CocoaPods Environment
Stack
Installation Source
Plugins
Project that demonstrates the issue
https://github.com/jaxdesmarais/TestingInteroperability
The text was updated successfully, but these errors were encountered: