cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianfranco Palumbo (JIRA)" <>
Subject [jira] [Created] (CB-13618) cordova compile command fails but cordova build works fine
Date Thu, 30 Nov 2017 13:23:00 GMT
Gianfranco Palumbo created CB-13618:

             Summary: cordova compile command fails but cordova build works fine
                 Key: CB-13618
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
         Environment: {code}
$ ionic info

cli packages: (/Users/gianfranco/.config/yarn/global/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.1.4
    Cordova Platforms  : android 6.2.3 ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2


    Android SDK Tools : 26.1.1
    ios-deploy        : 1.9.2
    Node              : v6.11.3
    npm               : 5.5.1
    OS                : macOS Sierra
    Xcode             : Xcode 9.1 Build version 9B55

Environment Variables:

    ANDROID_HOME : /Users/gianfranco/Library/Android/sdk


    backend : legacy
            Reporter: Gianfranco Palumbo
            Assignee: Suraj Pindoria
            Priority: Minor

While looking to automate the build process with fastlane and this [fastlane-plugin-cordova|],
this issue was discovered:

$ cordova prepare
Searching for new pods
Checking branch-cordova-sdk for pods.
Checking cordova-plugin-camera for pods.
Checking cordova-plugin-compat for pods.
Checking cordova-plugin-crop for pods.
Checking cordova-plugin-device for pods.
Checking cordova-plugin-facebook4 for pods.
Checking cordova-plugin-file for pods.
Checking cordova-plugin-firebase for pods.
Checking cordova-plugin-geolocation for pods.
Checking cordova-plugin-globalization for pods.
Checking cordova-plugin-googleplus for pods.
Checking cordova-plugin-inappbrowser for pods.
Checking cordova-plugin-ionic-webview for pods.
Checking cordova-plugin-mixpanel for pods.
Checking cordova-plugin-splashscreen for pods.
Checking cordova-plugin-statusbar for pods.
Checking cordova-plugin-whitelist for pods.
Checking cordova-plugin-x-socialsharing for pods.
Checking es6-promise-plugin for pods.
Checking ionic-plugin-keyboard for pods.
Checking config.xml for pods.
No new pods detects

$ cordova compile ios --release --device --packageType=app-store --developmentTeam=xyz --provisioningProfile=abc


Touch build/device/
    cd /Users/gianfranco/givebox/
    export PATH="/Applications/"
    /usr/bin/touch -c /Users/gianfranco/givebox/


Error: ENOENT: no such file or directory, open '/Users/gianfranco/givebox/'

The file {{project.pbxproj}} exists in the {{Givebox.xcodeproj}} folder not {{Givebox.xcworkspace}}.

Since {{cordova compile}} should be the same as {{cordova prepare}} {{cordova build}} ([link|])

This works:
$ cordova build ios --release --device --packageType=app-store --developmentTeam=xyz --provisioningProfile=abc


Touch build/device/
    cd /Users/gianfranco/givebox/
    export PATH="/Applications/"
    /usr/bin/touch -c /Users/gianfranco/givebox/


Non-system Ruby in use. This may cause packaging to fail.
If you use RVM, please run `rvm use system`.
If you use chruby, please run `chruby system`.
2017-11-30 15:20:45.148 xcodebuild[2876:8575384] [MT] IDEDistribution: -[IDEDistributionLogging
_createLoggingBundleAtPath:]: Created bundle at path '/var/folders/nc/scs6t9xj61l7rtzhz8cl48480000gn/T/Givebox_2017-11-30_15-20-45.146.xcdistributionlogs'.
Exported Givebox.xcarchive to: /Users/gianfranco/givebox/

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message