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.

Advertisements

3 thoughts on “xcrun is an absolute mess

  1. hey VandadNP, i got one issue with this. The error is “error: Specified application doesn’t exist or isn’t a bundle directory” but the directory does exist. Not sure why it cant find the app file.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s