Skip to content

Instantly share code, notes, and snippets.

@blazingpair
blazingpair / OpenUDID.podspec
Created November 29, 2012 07:51
OpenUDID pod with fixed 2 warnings
Pod::Spec.new do |s|
s.name = 'OpenUDID'
s.version = '1.0.1'
s.summary = 'Open source initiative for a universal and persistent UDID solution for iOS..'
s.homepage = 'http://OpenUDID.org'
s.author = { 'Yann Lechelle' => 'ylechelle@gmail.com' }
s.source = { :git => 'https://github.com/ylechelle/OpenUDID.git', :commit => 'a3840eb144b13d629c45da107b3aa7d9773059d0' }
s.description = 'Open source initiative for a universal and persistent UDID solution for iOS.'
s.platform = :ios
s.source_files = '*.{h,m}'
@blazingpair
blazingpair / ShowCoverStory.scpt
Created June 29, 2012 23:35
/usr/bin/osascript for XCode post test action to open CoverStory to show test coverage
set PLATFORM_PREFERRED_ARCH to system attribute "PLATFORM_PREFERRED_ARCH"
set OBJECT_FILE_DIR to system attribute "OBJECT_FILE_DIR"
set BUILD_VARIANTS to system attribute "BUILD_VARIANTS"
set coverageDir to OBJECT_FILE_DIR & "-" & BUILD_VARIANTS & "/" & PLATFORM_PREFERRED_ARCH
if PLATFORM_PREFERRED_ARCH is equal to "i386" then
tell application "CoverStory"
activate
set coverage to open coverageDir
end tell
end if