The Podfile does not contain any dependencies

when i run
ionic cordova run ios -l --external
i see this below message.

The Podfile does not contain any dependencies.
[cordova] 2023-08-16 00:35:55.360 xcodebuild[3044:89245] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
[cordova] 2023-08-16 00:35:56.643 xcodebuild[3044:89254]  DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot7/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-21677/DTDeviceKitBase/DTDKRemoteDeviceData.m:382
[cordova] Details:  (null) deviceType from 00008101-000C6C2821F0801E was NULL when -platform called.
[cordova] Object:   <DTDKMobileDeviceToken: 0x145e6f1d0>
[cordova] Method:   -platform
[cordova] Thread:   <NSThread: 0x600002e2c900>{number = 2, name = (null)}
[cordova] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[cordova] 2023-08-16 00:35:56.782 xcodebuild[3044:89255]  DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot7/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-21677/DTDeviceKitBase/DTDKRemoteDeviceData.m:382
[cordova] Details:  (null) deviceType from 00008101-000C6C2821F0801E was NULL when -platform called.
[cordova] Object:   <DTDKMobileDeviceToken: 0x145e6f1d0>
[cordova] Method:   -platform
[cordova] Thread:   <NSThread: 0x600002e34980>{number = 3, name = (null)}
[cordova] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[cordova] 2023-08-16 00:35:56.840 xcodebuild[3044:89255]  DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot7/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-21677/DTDeviceKitBase/DTDKRemoteDeviceData.m:382
[cordova] Details:  (null) deviceType from 00008101-000C6C2821F0801E was NULL when -platform called.
[cordova] Object:   <DTDKMobileDeviceToken: 0x145e6f1d0>
[cordova] Method:   -platform
[cordova] Thread:   <NSThread: 0x600002e34980>{number = 3, name = (null)}
[cordova] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[cordova] ** ARCHIVE FAILED **
[cordova] 
[cordova] Command failed with exit code 65: xcodebuild -workspace one.xcworkspace -scheme one -configuration Debug -destination generic/platform=iOS -archivePath one.xcarchive archive
[ERROR] An error occurred while running subprocess cordova.
        
        cordova build ios --device exited with exit code 1.
        
        Re-running this command with the --verbose flag may provide more information.

ionic info

Ionic:

   Ionic CLI                     : 7.1.1 (/Users/apple/.nvm/versions/node/v16.14.2/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 7.1.4
   @angular-devkit/build-angular : 16.1.4
   @angular-devkit/schematics    : 16.1.4
   @angular/cli                  : 16.1.4
   @ionic/angular-toolkit        : 9.0.0

Cordova:

   Cordova CLI       : 12.0.0 (cordova-lib@12.0.1)
   Cordova Platforms : ios 7.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 3 other plugins)

Utility:

   cordova-res : 0.15.4
   native-run  : 1.7.2

System:

   ios-deploy : 1.12.2
   ios-sim    : 8.0.2
   NodeJS     : v16.14.2 (/Users/apple/.nvm/versions/node/v16.14.2/bin/node)
   npm        : 8.5.0
   OS         : macOS Unknown
   Xcode      : Xcode 14.3.1 Build version 14E300c

What should i do. Please help me.

I don’t know anything about Cordova but have you tried running the following commands?

Last resort, switch to Capacitor :stuck_out_tongue_closed_eyes:

amen brother! :slight_smile: capacitor gave me back the joy of doing hybrid apps, I was totally depressed by Cordova :smiley:

1 Like