I\'ve created a simple application in Xcode. Setted up a provisioning for Debug and Release configuration. I\'m performing in terminal:
xcodebuild -target si
I got this error because of a trailing '/' on the app path:
This fails:
xcrun -sdk iphoneos PackageApplication -v foobar.app/
This works:
xcrun -sdk iphoneos PackageApplication -v foobar.app
Just out of curiosity, have you checked to make sure that you have proper permissions and that the source and destination directories exist? It looks like the copy command is failing. My guess is from a problem with the temp dir.