Search code examples
iosiphonexcode5settings.bundle

Settings Bundle in xcode for iphone


I'm trying to set my build version and build date in my app in settings bundle following this tutorial.

But I keep getting this error no matter what:

line 9: File Doesn't Exist, Will Create: /Volumes/Work Invalid Arguments + 1: syntax error: invalid arithmetic operator (error token is "'t Exist, Will Create: /Volumes/Work Invalid Arguments + 1") Command /bin/sh failed with exit code 1

Could somebody please help me....

Thanks in advance.


Solution

  • Ok , I found the mistake : when we post, revers quotes are use to formate the message. So, please replace all by a reverse quote `

    echo "#define BUILD_DATE @\"date "+%d/%m/%Y %H:%M"\"" > build.h

    build, and check your build.h