I try to use `panoramaGL` framework and try to add it to my static library. So I've imported it to the project, add `CoreGraphics` framework but have an issue `Unknown type name 'CGFloat'` in PLStructs.h. When I Cmd+click on the `CGFloat` in Xcode - I go to the `CGBase.h` in `CoreGraphics` framework. Try to clean the project and replace the frameworks - the result is the same. Waiting for your help.
['https://Stackoverflow.com/questions/24750593', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2042311/']
The solution is simple:

```
#import <UIKit/UIKit.h>

```
The same problem came for me in Cocos2D.

The solution is

1. Go to build settings. In **Architectures** field you might have "Standard architectures (armv7, armv7s, arm64).
2. The main cause for the problem is arm64. So the best way is to use "**armv7**" in the field.
3. We keep the standard architecture as is n "**valid architectures**"

Hope it helps.