Pregunta

I am trying to add a social share functionality to my ios application in order to do so, I am trying to install AddThis.

I have followed the Quick Start guide and tried to find a solution myself... it has to be something really obvious.

Based on the guide, I copy the different files to my project, but when I import the class "AddThis.h" in the class I want to use it, Xcode complains saying that the file cannot be found !

To copy the files, I have gone to "File/Add Files" in Xcode. There I check the "Copy items into destination group's folder (if needed)" box and add the files to the target.

IMAGES:

  1. Add AddThis lib: http://imageshack.us/photo/my-images/204/addaddthislib.png/
  2. Project Hierarchy: http://imageshack.us/photo/my-images/690/projecthierarchy.png/

Can anybody please help me? It has to be something really obvious... as you can see I am a new iOS programmer.

Xcode version: 4.4.1 iOS version: 5 AddThis version: 0.2.0

Thanks a mill

¿Fue útil?

Solución

Building the project has fixed the issue. First I've had to add the compiler tag "-fno-objc-arc" to all the AddThis classes as I'm working on an ARC project.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top