Lexical or preprocessor Issue: Exporting Cocos2D as a iOS framework

50 Views Asked by At

I have an auto-generated Cocos2D iOS Application from Cocos Creator. Let's say ProjectA (path to the iOS project /build/jsb-link/frameworks/runtime-src)

It has a reference to the (cocos2d_lib.xcodeproj) which is not in the same folder as the ProjectA.

I am able to export ProjectA as a framework(FrameworkA) with the required dependencies and libraries (also has cocos2d_iOS.a)

When I import the FrameworkA into another iOS ProjectB. I get the following error

enter image description here

The CCApplication.h is a file in the cocos2d_lib.xcodeproj

0

There are 0 best solutions below