2010-11-02 11 views
0

J'ai créé une application iPhone. Je veux intégrer l'API SoundCloud avec mon application. J'ai créé une application séparée pour intégrer l'API SoundCloud. Cela fonctionne bien avec l'API SoundCloud.Pourquoi ai-je les erreurs de compilation suivantes avec l'API SoundCloud?

Mais j'ai essayé d'intégrer avec mon application existante, je reçois erreur suivante. J'ai déjà ajouté le code de l'API SoundCloud à mon application existante.

erreur:

 
ld: warning: directory '/Alex/project/../../iHearFmod/iphoneos3.1.3/System/Library/Frameworks' following -F not found 
Undefined symbols: 
    "_OBJC_CLASS_$_SCSoundCloudAPIConfiguration", referenced from: 
     objc-class-ref-to-SCSoundCloudAPIConfiguration in MyProjectAppDelegate.o 
    "_OBJC_CLASS_$_SCSoundCloudAPI", referenced from: 
     objc-class-ref-to-SCSoundCloudAPI in MyProjectAppDelegate.o 
ld: symbol(s) not found 
collect2: ld returned 1 exit status 

Répondre

0

Recherche sur soundclound doc:

The Mac framework should be copied into your application and linked to your target. Also add a build phase to your target that copies the framework to the Frameworks destination.

Avez-vous fait la dernière étape?

+0

Maintenant, ça fonctionne ... Merci. – jfalexvijay