Skip to content

Instantly share code, notes, and snippets.

Kent Sutherland ksuther

Block or report user

Report or block ksuther

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ksuther / remove_duplicate_profiles.swift
Created Apr 7, 2016
Remove duplicate provisioning profiles from MobileDevice
View remove_duplicate_profiles.swift
#!/usr/bin/env xcrun swift
// Remove duplicated provisioning profiles in ~/Library/MobileDevice/Provisioning Profiles
// The most recently created profile is kept
// Usage: xcrun swift remove_duplicate_profiles.swift
import Foundation
import Security
let profilesURL = NSURL.fileURLWithPath(("~/Library/MobileDevice/Provisioning Profiles" as NSString).stringByExpandingTildeInPath);
View XCDFakeCarrier.m
// Copyright (c) 2012-2013 Cédric Luthi / @0xced. All rights reserved.
static const char *fakeCarrier;
static const char *fakeTime;
static int fakeCellSignalStrength = -1;
You can’t perform that action at this time.