J'utilise CocoaPods depuis un an maintenant dans mon application iOS. Hier, j'ai essayé de mettre à jour pod update
tous les pods inclus dans mon projet.La cible de mise à jour de CocoaPods remplace le `FRAMEWORK_SEARCH_PATHS`
Mais lorsque vous utilisez cette commande, je suis toujours à obtenir cette erreur suivante:
[!] The `XXXTests [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-XXXTests/Pods-XXXTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `XXX [Release]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-XXXTests/Pods-XXXTests.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
Selon this answer j'ai changé mes FRAMEWORK_SEARCH_PATHS à $(inherited)
mais il n'a pas d'effet quoi que ce soit.
Quelqu'un peut-il m'aider à faire face à ce problème?
EDIT 1: Ceci est le contenu de mon fichier pod:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'xxx' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for xxx
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/RemoteConfig'
target 'xxxTests' do
inherit! :search_paths
# Pods for testing
end
end
modifier ur fichier pod dans TextEdit et le remplacer par ce ma fichier de pod de réponse mis à jour. enregistrer le fichier textedit, fermer, fire commend pod installer –
Merci beaucoup! :) Mais j'ai aussi dû placer '$ (inherited)' dans FRAMEWORK_SEARCH_PATHS pour ma cible xxx ET xxxTests – Mojo
pas de problème juste supprimer un, –