This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Jul 30, 2014 3:10 PM by Anton Makeev  
george cook Novice 132 posts since
Mar 9, 2012
Currently Being Moderated

Jun 22, 2014 11:21 PM

Pods Project compiles in xcode; but not appcode

Anyone got any ideas? I've got a project which has a dependency to AFNetworking ine the podfile. Code completion is perfect in appcode, and intellisense works etc.

 

It compiles and builds fine in xcode.

 

 

Same workspace does NOT compile anymore in appcode. It looks like it doesn't find the AFNetworking library...

 

i.e.

Error:Undefined symbol '_OBJC_CLASS_$_AFHTTPRequestSerializer' referenced from:

Error:  objc-class-ref in GMWebMetadataLoader.o

Error:Undefined symbol '_OBJC_CLASS_$_AFJSONResponseSerializer' referenced from:

Error:  objc-class-ref in GMTwitterFeed.o

Error:  objc-class-ref in GMWebMetadataLoader.o

Error:Undefined symbol '_OBJC_CLASS_$_AFHTTPRequestOperation' referenced from:

Error:  objc-class-ref in GMTwitterFeed.o

Error:  objc-class-ref in GMWebMetadataLoader.o

clang

 

I've cleaned and rebuilt.. what can I possibly be missing? I presume that appcode must be cachign something in my workspace, as the pod depdencies all get compiled into one dll, right?

 

thanks.

Artur Novak JetBrains 40 posts since
Apr 30, 2013
Currently Being Moderated
Jun 23, 2014 3:09 PM in response to: george cook
Re: Pods Project compiles in xcode; but not appcode

Hi George,

 

which version of AppCode and Xcode do you use?

Anton Makeev JetBrains 1,291 posts since
Dec 19, 2006
Currently Being Moderated
Jul 30, 2014 3:10 PM in response to: george cook
Re: Pods Project compiles in xcode; but not appcode

George, have you resolves the issue?

More Like This

  • Retrieving data ...