Can't find Swift umbrella title

My project depends on my own structure. In the framework, I started to implement some functionality using Swift

.

So I needed an import statement #import "Appmodule-Swift.h"

in some of my files Obj-C

inside the framework.

Everything works fine inside the framework, but as soon as it is imported into the project (via cocoa pods) it #import "Appmodule-Swift.h"

creates a compile time error file not found

.

So, as you can create a framework with the help of cocoa pods, which uses both Obj-C

, as well Swift

?

Is there something specific you need to add to the file Podspec

?

+3
objective-c swift cocoapods


source to share


No one has answered this question yet

Check out similar questions:

928
How do I call Objective-C code from Swift?
902
# pragma in Swift?
545
IOS app with broken infrastructure on device, dyld: library not loaded, Xcode 6 Beta
66
How to import and use Swift Pod Framework in Objective-C project
44
C header object file in Swift with multiple targets
25
Swift depending on cocoa pod
4
Bridged header for Swift Pod with Dependent Objective-C Pod?
3
Umbrella header file not updating after changing any swift code
0
Swift compiler error: header not found
0
Compilation issues with Mix and Match Objective-C and Swift Cocoapod



All Articles
Loading...
X
Show
Funny
Dev
Pics