This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://httpstat.us - for test error codes | |
# http://uri-labs.com/macosx_headers/NSURLConnection_h/Protocols/NSURLConnectionDelegate/index.html | |
# Notes: | |
# - Errors are only thrown when the connection: | |
# - Is interrupted before the headers can complete | |
# - SSL couldn't happen correctly | |
# - The connection never happens | |
# - A delegate.response always has a NSHTTPURLResponse key for HTTP/HTTPS | |
# For a file:// transfer, it's NSURLResponse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/usr/sbin/DevToolsSecurity -enable | |
/usr/sbin/dseditgroup -o edit -t group -a everyone _developer | |
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -license accept | |
# Install the included support stuff | |
/usr/sbin/installer -dumplog -verbose -pkg /Applications/Xcode.app/Contents/Resources/Packages/MobileDeviceDevelopment.pkg -tgt / |