xcrun is an absolute mess

So I just ran this command:

xcrun -sdk iphoneos –run PackageApplication -v “build/Release-iphoneos/testing.app” -o “/users/vandadnp/Desktop/” -s “iPhone Distribution: Pixolity Ltd.” –embed “/Users/vandadnp/Library/MobileDevice/Provisioning Profiles/Pixolity_Wildcard_Ad_Hoc.mobileprovision”

To sign a simple app and package it into an .ipa file and guess what? The packaging failed and xcrun DELETED MY WHOLE DESKTOP. You know what that means? That means all my development environment is wiped without me being able to get them back. This is absolutely mad.

So xcrun failed to do the .ipa file and then tried to clean up after itself except for the fact that the cleaning up happened on my desktop. And what is Xcrun’s solution to cleaning up? Of course, it deletes the whole freaking destination folder, in this case, my desktop.

Apple, big fail, seriously, you guys need to educate yourselves on how to create IDEs and development tools.

Recover iPad GarageBand’s Demo Song (Curtain Call)

So you accidentally deleted or modified the demo song (Curtain Call) that comes with your iPad’s garage band… no need to worry. To recover this song, simply go to Settings on your iPad, then select GarageBand on the left hand side and choose the option to recover the demo song. That’s all!!!