cannot find interface declaration for 'NSObject', superclass of 'GPXType'

Rahul Saini picture Rahul Saini · Nov 27, 2014 · Viewed 16.2k times · Source

I have done some research on that issue , but I have not found anything similar just yet.

I am using iOS GPX framework to draw the path on map using GPX file. I have import iOS GPX.framework on my project. but I have face an issue.

Please Guide me, If anyone has any advice...

enter image description here

Answer

l0gg3r picture l0gg3r · Nov 27, 2014

Just modify the header file, add this line on top of the file

#import <Foundation/Foundation.h>

Seems they thought that you will have a PCH file, where Foundation and UIKit will be imported, but Xcode 6 removed PCH default support, so the problem came. (See my previous answer)