This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Jun 23, 2014 3:09 PM by Artur Novak  
george cook Novice 117 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?

More Like This

  • Retrieving data ...