It was encouraging that I also got FreeGrid to build in Xcode 7 following your lead, but that one has a separate UI project. I've tried QT and Flex, and found them too cryptic to use without documentation (maybe I'm overlooking something that should have been obvious), so I was going to try native Xcode InterfaceBuilder panels as in the Empty Panel project. There I get "Redefinition of 'NSView' as a different kind of symbol" errors in AIPanel.h and AIControlBar.h.
Man, I sure miss ADM!
To build the Empty Panel project as well as making the changes to get FreeGrid working you need to make these changes:
AIPanel.h
Replace:
#elif MAC_ENV
class NSView;
typedef NSView* AIPanelPlatformWindow;
#else
With (from the CC 2015 SDK headers)
#elif MAC_ENV
#ifdef __OBJC__
@class NSView;
typedef NSView* AIPanelPlatformWindow;
#else
typedef void* AIPanelPlatformWindow;
#endif
#else
AIControlBar.h
Replace:
#elif MAC_ENV
class NSView;
typedef NSView* AIControlBarPlatformWindow;
#else
With:
#elif MAC_ENV
#ifdef __OBJC__
@class NSView;
typedef NSView* AIControlBarPlatformWindow;
#else
typedef void* AIControlBarPlatformWindow;
#endif
#else
And comment out this line in EmptyPanel.r
#include "Types.r"
BTW, when you comment out this line in SPFiles.h:
#pragma options align=mac68k
You should also comment out the following line shortly after it (though it probably won't matter):
#pragma options align=reset