Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Cordova iOS build fails in Azure DevOps server build pipeline using command line task and CordovaCommand Task

$
0
0

@mewanab wrote:

Hi,

Trying to build iOS code using Cordova on Azure DevOps server. I have used both the CordovaCommand task and CmdLine task but none seems to work. It seems like build arguments fails to recognize spaces.
I am running the build ona hosted MacOs Agent.

YML:

  • task: CmdLine@2 inputs: script: | echo build ios files cordova build ios --release --device --developmentTeam=TeamID --codeSignIdentity="$(codeSignIdentity)" --buildFlag="-UseModernBuildSystem=0"

variable $(codeSignIdentity)

contains the string “iPhone Developer” . I’ve tried with escape characters, hardcoded string but none seems to work. The build fails with error below:

The platform “Developer” does not appear to have been added to this project.

##[error]Bash exited with code ‘1’.

Appreciate any fix or a workaround.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>