Pourquoi est-ce que je reçois les erreurs du compilateur suivantes avec l'API SoundCloud?

StackOverflow https://stackoverflow.com/questions/4075788

  •  28-09-2019
  •  | 
  •  

Question

Je l'ai créé une application iPhone. Je veux intégrer l'API SoundCloud avec mon application. J'ai créé une application distincte pour intégrer l'API SoundCloud. Il fonctionne très bien avec l'API SoundCloud.

Mais j'ai essayé d'intégrer à ma demande existante, j'obtiens l'erreur suivante. J'ai déjà ajouté le code 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
Était-ce utile?

La solution

Rechercher sur soundclound doc:

  

Le cadre Mac doit être copié dans votre application et liée à votre cible. Ajoutez également une phase de construction de votre cible qui copie le cadre à la destination des cadres.

Avez-vous fait la dernière étape?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top