ios - How to fix the issue “Command /bin/sh failed with exit code 1” in my shell script phase -


building ios app using xcode, trying run shell script obfuscate project code. got following error while doing that.

warning: wipe not committed changes in repository
press ctrl-c cancel or enter proceed.

command /bin/sh failed exit code 1

how can fix problem?

based on warning text, script awaits user input proceed. since xcode runs headless , there no user input ever, killed eventually

looking @ script right:

# in case echo "warning: wipe not commited changes in repository" echo "press ctrl-c cancel or enter proceed." read 

solution issue posted:
either remove code (i would... script phase thats not imo)
or fake input shell script (see input within shell script)


Comments

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -