Skip to content

Instantly share code, notes, and snippets.

View francocarbonaro's full-sized avatar

Franco Carbonaro francocarbonaro

View GitHub Profile
@francocarbonaro
francocarbonaro / gist:f9662e556519d3759605f55ae365cc3e
Created August 30, 2019 20:39 — forked from steipete/ios-xcode-device-support.sh
Using iOS 13 devices with Xcode 10.3 (instead of Xcode 11)
// The trick is to link the DeviceSupport folder from the beta to the stable version.
// sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :)
// Xcode 10.3 to Xcode 11 Beta
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
// Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions
@francocarbonaro
francocarbonaro / Sample.m
Created June 6, 2012 15:47
Descompactando arquivos no iOS usando a classe ZipArchive
#import "ViewController.h"
#import "ZipArchive.h"
@interface ViewController ()
- (IBAction)unzip:(id)sender;
@end
@implementation ViewController
- (void)viewDidLoad