Using Cocoapods in Embedded Infrastructure with Xcode 6 GM

Here is my configuration:

  • Pod X : associated with MyProjectSharedCode , declares the SomeClass class (in Objective-C)
  • MyProjectExtension : Today's extension, data MyProject with MyProject
  • MyProject : Companion app to configure MyProjectExtension
  • MyProjectSharedCode : Built-in environment for common code in MyProject and MyProjectExtension . Uses SomeClass .

I can not make it work. I tried:

  • Importing PodX.h into MyProjectSharedCode.h , but this results in a compiler error:

include a non-modular header inside the frame module

  • Which led me to several Stackoverflow links, including this one . However, changing this option did not allow me to compile it. As @NachoSoto says in the accepted answer to the last comment, the answer does not seem to work with Xcode 6 B5.

Any help / conclusions would be greatly appreciated.

+8
frameworks xcode swift cocoapods
source share
1 answer

Today there is a good article about using Cocoapods 0.36.0 development branch, which adds framework / quick support.

http://swiftwala.com/cocoapods-is-ready-for-swift/

The statement that I linked the containers in the framework and then included the headers in the header header. Its a bit strange, but it works until you want to write fast ones that use pods in the structure itself.

Edit The preliminary version of version 0.36.0 is out. You can see the blog post here .

+2
source share

All Articles