Skip to content

Instantly share code, notes, and snippets.

View Duraiamuthan's full-sized avatar

Durai Amuthan Duraiamuthan

View GitHub Profile
jonah-williams /
Created April 30, 2011 17:46
Command line iOS project builds and over-the-air distribution
# command line OTA distribution references and examples
chaitanyagupta /
Last active October 20, 2023 08:28
How to re-sign an iOS app with another developer account

WARNING These steps are probably out dated and will not work.

To re-sign an iOS app with another developer account, ensure that the following are in place first.

  1. Distribution certificate of the other developer account
  2. A provisioning profile from the other developer account

Note that the Apple requires bundle IDs to be globally unique, even across accounts. So a bundle ID i.e. CFBundleIdentifier from one account can't be used in a different account, even though the team id/prefix would be different.

Ensure that the new distribution certificate is in your keychain and the new provisioning profile on your disk.

RameshRM / BackgroundFetch.swift
Last active March 8, 2022 14:36
Swift Background Fetch
Step 1: Enable capabilities "background fetch"
Step2 : Setup AppDelegate.swift
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
let settings = UIUserNotificationSettings(forTypes: UIUserNotificationType.Alert, categories: nil)
return true;
codeswimmer / ios_simple_pasteboard.m
Created January 2, 2013 20:10
iOS: Simple Usage Of UIPasteBoard
Basically, UIPasteBoard allows us to share data to other application. Below is an example of UIpasteBoard usage.
UIPasteboard *appPasteBoard = [UIPasteboard generalPasteboard];
appPasteBoard.persistent = YES;
[appPasteBoard setString:@"STRING TO COPY"];
flaviodesousa / gist:2319963
Created April 6, 2012 13:53
Unable to load DLL 'SQLite.Interop.dll'
Username: fds201112151033
Date: Thursday, April 05, 2012
User Agent: OfficeDropSync OfficeDrop.Sync/1.3.4478.35476 Win32NT/Microsoft Windows NT 6.1.7601 Service Pack 1 (.Net Framework v4.0.30319)
Product Name: OfficeDrop Sync
Current Culture: en-US
dhilipsiva / unicoins-auto-miner.js
Last active August 29, 2015 13:57
StackOverflow Unicoins Auto Miner
A Simple JavaScript file to AUTO-MINE StackOverflow unicoins:
0. goto
1. Open your console.
2. Copy this code.
3. Paste this into cosole