Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 708
Rahul Saini Avatar asked Nov 27 '14 07:11

Rahul Saini


2 Answers

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)

like image 70
l0gg3r Avatar answered Nov 07 '22 13:11

l0gg3r


Finally I have solved my problem

I have import #import < UIKit/UIKit.h> and change my Xcode 6 Architectures $(ARCHS_STANDARD_32_BIT).

Thanks so much Guys.

like image 27
Rahul Saini Avatar answered Nov 07 '22 13:11

Rahul Saini