Skip to content

Instantly share code, notes, and snippets.

Nick Arnott tehnoir

View GitHub Profile
View ConflictingService
Jun 2 17:26:46 Nullphone com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.SpringBoard.63) <Warning>: Attempt to re-bootstrap service from different path, will use existing: service = com.[ORG].[APP].[EXTENSION], existing = /private/var/containers/Bundle/Application/2718DB18-1E2C-4702-A7E8-568E25C589B0/[APP].app/PlugIns/[EXTENSION].appex, conflicting = /private/var/containers/Bundle/Application/5E3541F1-6545-4F4B-9399-9FD779DFC568/[APP].app/PlugIns/[EXTENSION].appex
View checkipaforudid
#!/bin/bash
# This script will check an IPA and determine if the specified UDID is in the embedded provisioning profile
IPA=$1
UDID=$2
if [ $# -eq "1" ]
then
echo "Please specify a UDID to check for."
View checkipaforudid
#!/bin/bash
# This script will check an IPA and determine if the specified UDID is in the embedded provisioning profile
IPA=$1
UDID=$2
# Eventually if no UDID is specified, we'll print all UDIDs.
if [ $# -eq "1" ]
then
@tehnoir
tehnoir / set_project_profiles.sh
Created Apr 13, 2016
Update Xcode project's build settings to point to current provisioning profiles.
View set_project_profiles.sh
#!/bin/bash
##############################################################################################################
### 1. Name your profiles with the convention of ProjectName_TargetName_ConfigurationName.mobileprovision ###
### 2. Create a directory called CodeSign in your project directory ###
### 3. Move all your project's provisioning profiles into the CodeSign directory ###
### ###
### Running this script will update your project file to point to the correct UUIDs of each corresponding ###
### profile in your CodeSign directory. ###
##############################################################################################################
View getudid.sh
#!/bin/bash
function getUDID {
udid=($(system_profiler SPUSBDataType | grep -A 11 -w "iPad\|iPhone\|iPod\|AppleTV" | grep "Serial Number" | awk '{ print $3 }'))
if [ -z $udid ]; then
echo "No device detected. Please ensure an iOS device is plugged in."
exit 1
else
for id in "${udid[@]}"; do
if [ ${#id} -eq 24 ]; then
You can’t perform that action at this time.