web-dev-qa-db-fra.com

Xcode renvoie une erreur de l'éditeur de liens "bibliothèque introuvable pour -lFirebaseAuth"

Je voulais tester l'application initiale de Firebase sur Unity. J'ai fait une construction à partir d'Unity dans macOS et dans le dossier du projet Xcode, j'ai exécuté la commande pod avec succès.

installation de pod

Après cela, j'ai ouvert le projet Xcode et j'ai cliqué pour créer le bouton. Avant cela, j'obtenais une erreur de cadre introuvable. Je l'ai réparé et maintenant je reçois

ld: warning: directory not found for option '-L/Users/ALi/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/FirebaseAuth'
ld: warning: directory not found for option '-L/Users/ALi/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/FirebaseCore'
ld: warning: directory not found for option '-L/Users/aliavci/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/GTMSessionFetcher'
ld: warning: directory not found for option '-L/Users/ALi[![enter image description here][1]][1]/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/Users/ALi/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/nanopb'
ld: library not found for -lFirebaseAuth
clang: error: linker command failed with exit code 1 (use -v to see invocation)

J'ai déjà ajouté des chemins de bibliothèque au chemin de recherche de bibliothèque. J'ai ajouté quelques captures d'écran en pièces jointes.

xcode properties

podfile

22
Ali Avcı

J'ai résolu l'erreur en ouvrant le fichier ".xcworkspace", au lieu du fichier ".xcodeproj".

66
Ali Avcı