WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} XBMC_PLATFORM_DIR=ios . $WORKSPACE/tools/buildsteps/defaultenv cd $WORKSPACE/build;xcodebuild -target deb -jobs $BUILDTHREADS \ CODE_SIGNING_ALLOWED="NO" cd $WORKSPACE/build/tools/darwin/packaging/darwin_embedded/ #rename for upload #e.x. kodi-20130314-8c2fb31-Frodo-ios64.deb UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-ios64.deb" mkdir $WORKSPACE/tools/darwin/packaging/ios mv *.deb $WORKSPACE/tools/darwin/packaging/ios/$UPLOAD_FILENAME