The Podfile does not contain any dependencies

Bonjour,

Sous Cordova, lorsque j’ajoute la plateform IOS, il y a une ligne qui n’apparaissait pas avant :
[!] The Podfile does not contain any dependencies.

ordova platform add ios

Using cordova-fetch for cordova-ios

Adding ios project


Creating Cordova project for the iOS platform:

Path: platforms/ios

Package: com.becquet.courseauxformes

Name: course_aux_formes

iOS project created with cordova-ios@7.1.1

Plugin ‘cordova-plugin-whitelist’ found in config.xml
 Migrating it to package.json

Plugin ‘cordova-plugin-screen-orientation’ found in config.xml
 Migrating it to package.json

Plugin ‘cordova-plugin-ionic-webview’ found in config.xml
 Migrating it to package.json

Discovered plugin “cordova-plugin-whitelist”. Adding it to the project

Installing “cordova-plugin-whitelist” for ios

Adding cordova-plugin-whitelist to package.json

Discovered plugin “cordova-plugin-screen-orientation”. Adding it to the project

Installing “cordova-plugin-screen-orientation” for ios

Adding cordova-plugin-screen-orientation to package.json

Discovered plugin “cordova-plugin-ionic-webview”. Adding it to the project

Installing “cordova-plugin-ionic-webview” for ios

Adding cordova-plugin-ionic-webview to package.json

[!] The Podfile does not contain any dependencies.

Et quand j’ouvre XCode et que je veux lancer le projet, j’obtiens une erreur liĂ©e Ă  ce Podfile :

Est-ce que quelqu’un aurait une idĂ©e sur ce qui bloque ?

Merci d’avance pour votre aide.

J’ai fini par trouver en bidouillant.

Cordova crĂ©e des fichiers et dossiers Podfile qui ne sont pas utilisĂ©s et qui provoquent l’erreur.

Solution trouvée :

  1. Il faut se rendre dans le dossier “ios” et taper “pod deintegrate”.

  2. Dans XCode, il faut supprimer (ou //) les lignes faisant rĂ©fĂ©rence Ă  Pods dans les fichiers “build-debug” et “build-release” dans le dossier “config” :

VoilĂ  voilou.