cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Weber (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-13959) iOS build fails with return code 0
Date Wed, 07 Mar 2018 20:26:00 GMT
Jacob Weber created CB-13959:
--------------------------------

             Summary: iOS build fails with return code 0
                 Key: CB-13959
                 URL: https://issues.apache.org/jira/browse/CB-13959
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
    Affects Versions: cordova-ios 4.5.0
         Environment: Mac OS 10.13 and CentOS 6.8, nodeĀ 8.9.2, cordova-cli 8.0.0
            Reporter: Jacob Weber
            Assignee: Suraj Pindoria


Build an iOS app where the code signing fails. It will return a 0 exit code, when it should
return a non-zero code.

Example:
{code:java}
cordova create CordovaTest com.sample.cordovatest CordovaTest
cd CordovaTest
cordova platform add ios@4.5.4
cordova build ios --release --device '--codeSignIdentity=some-invalid-identity' '--developmentTeam=team-id'
'--packageType=enterprise'{code}
End of output:
{code:java}
=== BUILD TARGET CordovaTest OF PROJECT CordovaTest WITH CONFIGURATION Release ===

Check dependencies
Code Signing Error: "CordovaTest" requires a provisioning profile. Select a provisioning profile
for the "Release" build configuration in the project editor.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'

** ARCHIVE FAILED **


The following build commands failed:
  Check dependencies
(1 failure)
(node:42613) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id:
1): Error code 65 for command: xcodebuild with args: -xcconfig,/Users/administrator/CordovaTest/platforms/ios/cordova/build-release.xcconfig,-workspace,CordovaTest.xcworkspace,-scheme,CordovaTest,-configuration,Release,-destination,generic/platform=iOS,-archivePath,CordovaTest.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/administrator/CordovaTest/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/administrator/CordovaTest/platforms/ios/build/sharedpch
(node:42613) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In
the future, promise rejections that are not handled will terminate the Node.js process with
a non-zero exit code.

$ echo $?
0
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message