ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

ionic build --release --device exits immaturely without signal BUILD SUCCEED for a clean build

Open luofan189 opened this issue 11 years ago • 8 comments

Not sure if this is ionic-cli bug or cordova-cli bug, I could move to cordova-cli if it is confirmed that this is not ionic-cli issue

ionic version: 1.3.18

Steps to reproduce:

  1. ionic platform remove ios
  2. ionic platform add ios
  3. make sure no build folder is in platforms/ios
  4. run ionic build ios --release --device
  5. notice that build finishes without signal BUILD SUCCEED
  6. run ionic build ios --release --device again w/o removing the platforms/ios folder
  7. notice that build finishes with signal BUILD SUCCEED

This currently causes issue that after_build hooks are not triggered for the first run.

luofan189 avatar Apr 09 '15 14:04 luofan189

Could somebody comment on this issue please?

luofan189 avatar Apr 14 '15 16:04 luofan189

Is there any error output from the command? Or does it just not show 'BUILD SUCCEEDED'?

You might also try running cordova build ios --verbose - and see if that adds any more output that helps.

jbavari avatar May 15 '15 17:05 jbavari

same issue here does anyone found a solution?

laylaaitlaaraj avatar Jul 09 '15 11:07 laylaaitlaaraj

running cordova build ios works fine. I did see BUILD SUCCEEDED. I think this is a bug of ionic-cli

luofan189 avatar Jul 09 '15 12:07 luofan189

:+1: Any word here?

briananderson1222 avatar Feb 25 '16 18:02 briananderson1222

FWIW I've just observed the same behaviour. The first "ionic build --release --device ios" didn't produce an IPA; the second one did.

penrillian-chrisa avatar Apr 12 '16 21:04 penrillian-chrisa

+1

pbassut avatar Apr 13 '16 13:04 pbassut

Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.

jthoms1 avatar Oct 28 '16 01:10 jthoms1