ionic build --release --device exits immaturely without signal BUILD SUCCEED for a clean build
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:
- ionic platform remove ios
- ionic platform add ios
- make sure no build folder is in platforms/ios
- run ionic build ios --release --device
- notice that build finishes without signal BUILD SUCCEED
- run ionic build ios --release --device again w/o removing the platforms/ios folder
- notice that build finishes with signal BUILD SUCCEED
This currently causes issue that after_build hooks are not triggered for the first run.
Could somebody comment on this issue please?
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.
same issue here does anyone found a solution?
running cordova build ios works fine. I did see BUILD SUCCEEDED. I think this is a bug of ionic-cli
:+1: Any word here?
FWIW I've just observed the same behaviour. The first "ionic build --release --device ios" didn't produce an IPA; the second one did.
+1
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.