UA-17470720-3

Jump to content


Photo
- - - - -

compile error between stv web service and afnetworking

web-services general bug

  • Please log in to reply
1 reply to this topic

#1 TODD GARLAND

TODD GARLAND

    Experienced Member

  • STV 4.0 Pro
  • PipPipPipPip
  • 69 posts
Reputation: 21
Excellent

Posted 25 June 2013 - 09:16 AM

I am getting build error stating duplicate symbols:

 

duplicate symbol _OBJC_METACLASS_$_AFImageCache in:

    /Users/toddgarland/Library/Developer/Xcode/DerivedData/ERSyncForms-gnuwmlmqwyaahbbcqeqwljqpgqsn/Build/Intermediates/ERSyncForms.build/Debug-iphonesimulator/ERSyncForms.build/Objects-normal/i386/UIImageView+AFNetworking.o

    /Users/toddgarland/Documents/STV 3.2.1 Std/Static Frameworks/STV+WebServices.framework/STV+WebServices(SCWebServicesForceLinkerToIncludeCategories.o)

 

both symbols appear to be used in AFNetwork library and STV Web Services framework.

 

Anyone have a fix or work around to prevent compile error?

 

thanks



#2 Everett

Everett

    Ev

  • STV 5.0 Pro
  • PipPipPipPipPip
  • 191 posts
  • LocationMichigan
Reputation: 60
Outstanding

Posted 25 June 2013 - 09:41 AM

Hi Todd,

 

remove AFNetworking from your project.  STV Web Services currently uses it as well.  If you need to use AFNetworking along with STV, remove AFNetworking framework, but add back in the header files (.h), then it should work for you outside of the STV frameworks.

 

there are a couple of posts on the board with more info if you need it.


  • Tarek likes this





Also tagged with one or more of these keywords: web-services, general, bug

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users