Files removed.

This commit is contained in:
Natalia Terlecka 2015-04-01 11:36:43 +01:00
parent db46f2b744
commit 447e2f4571
39 changed files with 2 additions and 513 deletions

View File

@ -1,132 +0,0 @@
#!/usr/bin/env ruby
#change those according to your project settings
$workspaceName = 'camera.xcworkspace'
$schemeName = 'camera'
$releaseProvisioningProfileName = 'XC Ad Hoc: com.imaginarycloud.*'
$nameOfTheSimulatorToTest = 'iPad Retina'
#you can create API key here: https://rink.hockeyapp.net/manage/auth_tokens
$hockeyAppApiKey = '7d8cbb78027a4263b6bb7644a33a9491'
# The rest will just do the magic for you :-)
def build()
putStatusInBlue('BUILDING')
removeOldFiles
if buildFromIpaBuild then
putStatusInGreen('SUCESS')
else
putStatusInRed('FAILED, TRYING XCODEBUILD')
if buildFromXcodeBuild then
putStatusInGreen('SUCESS')
putStatusInBlue('UPLOADING TO HOCKEYAPP')
system('ipa distribute:hockeyapp -a ' + $hockeyAppApiKey + ' -d ' + $dsymZippedName)
else
putStatusInRed('EVERYTHING FAILED')
end
end
end
def buildFromIpaBuild()
putStatusInBlue('BUILDING WITH IPA BUILD')
if system('ipa build -m "' + $releaseProvisioningProfileName + '" --workspace ' + $workspaceName + '" --scheme ' + $schemeName) then
system('ipa distribute:hockeyapp -a ' + $hockeyAppApiKey)
return true
else
return false
end
end
def buildFromXcodeBuild()
putStatusInBlue('BUILDING WITH XCODEBUILD')
if system('xcodebuild clean archive -workspace ' + $workspaceName + ' -scheme ' + $schemeName + ' -archivePath ' + $archivePath) then
putStatusInBlue('EXPORTING IPA')
if system('xcodebuild -exportArchive -archivePath ' + $archivePath + ' -exportPath ' + $schemeName + ' -exportFormat ipa -exportProvisioningProfile "' + $releaseProvisioningProfileName + '"') then
system('zip -r ' + $dsymZippedName + ' ' + $dsymPath)
return true
else
return false
end
else
return false
end
end
def removeOldFiles()
if system('test -d ' + $archivePath) then
putStatusInBlue('REMOVING OLD ARCHIVE FILE')
system('rm -R' + $archivePath)
end
if system('test -f ' + $schemeName + '.ipa') then
putStatusInBlue('REMOVING OLD IPA FILE')
system('rm ' + $schemeName + '.ipa')
end
if system('test -f ' + $dsymZippedName) then
putStatusInBlue('REMOVING OLD DSYM FILE')
system('rm ' + $dsymZippedName)
end
end
def putStatusInRed(status)
puts " "
puts ">>>>>>>> ".red + status.red + " <<<<<<<<".red
puts " "
end
def putStatusInBlue(status)
puts " "
puts ">>>>>>>> ".blue + status.blue + " <<<<<<<<".blue
puts " "
end
def putStatusInGreen(status)
puts " "
puts ">>>>>>>> ".green + status.green + " <<<<<<<<".green
puts " "
end
class String
def red; "\033[31m#{self}\033[0m" end
def green; "\033[32m#{self}\033[0m" end
def blue; "\033[34m#{self}\033[0m" end
end
$archivePath = $schemeName + '.xcarchive'
$dsymZippedName = $schemeName + '.app.dSYM.zip'
$dsymPath = $archivePath + '/dSYMs/' + $schemeName + '.app.dSYM'
putStatusInBlue('TESTING')
if system('xctool -workspace ' + $workspaceName + ' -scheme ' + $schemeName + ' -sdk iphonesimulator test') then
build
else
putStatusInRed('XCTOOL FAILED - TRYING XCODEBUILD')
if system('xcodebuild clean test -scheme ' + $schemeName + ' -workspace ' + $workspaceName + ' -destination \'platform=iOS Simulator,name=' + $nameOfTheSimulatorToTest + '\'') then
build
else
putStatusInRed('XCODEBUILD TEST FAILED')
end
end

Binary file not shown.

Binary file not shown.

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ApplicationProperties</key>
<dict>
<key>ApplicationPath</key>
<string>Applications/camera.app</string>
<key>CFBundleIdentifier</key>
<string>com.imaginarycloud.camera</string>
<key>CFBundleShortVersionString</key>
<string>1.0.12</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>SigningIdentity</key>
<string>iPhone Distribution: IndexSquare LDA (QM7HJTY23M)</string>
</dict>
<key>ArchiveVersion</key>
<integer>2</integer>
<key>CreationDate</key>
<date>2015-03-30T11:27:09Z</date>
<key>Name</key>
<string>camera</string>
<key>SchemeName</key>
<string>camera</string>
</dict>
</plist>

View File

@ -1,319 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Base.lproj/LaunchScreen.nib</key>
<dict>
<key>hash</key>
<data>
Y/q4h5JcAXvov9QBRuFJpUBik30=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib</key>
<dict>
<key>hash</key>
<data>
uP3cbXlyTB4vkqfbA/9FxEO5WmI=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/ImageVC.nib</key>
<dict>
<key>hash</key>
<data>
tc4x/d2o6VW5Dx87agRxXgoweTg=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/Info.plist</key>
<dict>
<key>hash</key>
<data>
y8O+HwjY1DTalhyb6GujDmK6OLE=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/UIViewController-bhK-VL-qY4.nib</key>
<dict>
<key>hash</key>
<data>
JSHmw29zWeiF2Hms6qjlPjJmxFI=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/xF2-bQ-3ri-view-Qhk-xW-6b1.nib</key>
<dict>
<key>hash</key>
<data>
mYoQN5lYFEUJPSr9HPDpcTRGFQg=
</data>
<key>optional</key>
<true/>
</dict>
<key>Frameworks/libswiftAssetsLibrary.dylib</key>
<data>
DkStNHO+W2qbqLR7vxciwL67Ii8=
</data>
<key>Frameworks/libswiftCore.dylib</key>
<data>
Sd5OXTTtsvr8cb8LxWHPWqYKd6g=
</data>
<key>Frameworks/libswiftCoreGraphics.dylib</key>
<data>
StLLenbypxXkzkA0HhuhYY927/o=
</data>
<key>Frameworks/libswiftCoreImage.dylib</key>
<data>
3YEFc6Q8X8ShhYl5i7LGWfUR6Gg=
</data>
<key>Frameworks/libswiftDarwin.dylib</key>
<data>
Bb6evAWmMDVvQ/NKNSv03Wwsp64=
</data>
<key>Frameworks/libswiftDispatch.dylib</key>
<data>
k1K1TN7r+dOHE31/bb4qf+Sg3RA=
</data>
<key>Frameworks/libswiftFoundation.dylib</key>
<data>
VqkZh7ELoold3hI2YiBEg6gmOZU=
</data>
<key>Frameworks/libswiftObjectiveC.dylib</key>
<data>
wkuKB1ZO+oae9uyqPCx3OVyCqSE=
</data>
<key>Frameworks/libswiftSecurity.dylib</key>
<data>
l5h+VAw6UCDEALlcFFkMpNZo48o=
</data>
<key>Frameworks/libswiftUIKit.dylib</key>
<data>
NofzXse2rT85h+jr+HKK5TnF0q8=
</data>
<key>Info.plist</key>
<data>
wq7IXedFPbniO49RhIrMbK3AYN4=
</data>
<key>PkgInfo</key>
<data>
n57qDP4tZfLD1rCS43W0B4LQjzE=
</data>
<key>archived-expanded-entitlements.xcent</key>
<data>
yCRLSxXp44+4vCuOsy/h9LsBuCM=
</data>
<key>embedded.mobileprovision</key>
<data>
o9TRPl+K0mDaLn2MVd4EHtoywaE=
</data>
</dict>
<key>files2</key>
<dict>
<key>Base.lproj/LaunchScreen.nib</key>
<dict>
<key>hash</key>
<data>
Y/q4h5JcAXvov9QBRuFJpUBik30=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib</key>
<dict>
<key>hash</key>
<data>
uP3cbXlyTB4vkqfbA/9FxEO5WmI=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/ImageVC.nib</key>
<dict>
<key>hash</key>
<data>
tc4x/d2o6VW5Dx87agRxXgoweTg=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/Info.plist</key>
<dict>
<key>hash</key>
<data>
y8O+HwjY1DTalhyb6GujDmK6OLE=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/UIViewController-bhK-VL-qY4.nib</key>
<dict>
<key>hash</key>
<data>
JSHmw29zWeiF2Hms6qjlPjJmxFI=
</data>
<key>optional</key>
<true/>
</dict>
<key>Base.lproj/Main.storyboardc/xF2-bQ-3ri-view-Qhk-xW-6b1.nib</key>
<dict>
<key>hash</key>
<data>
mYoQN5lYFEUJPSr9HPDpcTRGFQg=
</data>
<key>optional</key>
<true/>
</dict>
<key>Frameworks/libswiftAssetsLibrary.dylib</key>
<data>
DkStNHO+W2qbqLR7vxciwL67Ii8=
</data>
<key>Frameworks/libswiftCore.dylib</key>
<data>
Sd5OXTTtsvr8cb8LxWHPWqYKd6g=
</data>
<key>Frameworks/libswiftCoreGraphics.dylib</key>
<data>
StLLenbypxXkzkA0HhuhYY927/o=
</data>
<key>Frameworks/libswiftCoreImage.dylib</key>
<data>
3YEFc6Q8X8ShhYl5i7LGWfUR6Gg=
</data>
<key>Frameworks/libswiftDarwin.dylib</key>
<data>
Bb6evAWmMDVvQ/NKNSv03Wwsp64=
</data>
<key>Frameworks/libswiftDispatch.dylib</key>
<data>
k1K1TN7r+dOHE31/bb4qf+Sg3RA=
</data>
<key>Frameworks/libswiftFoundation.dylib</key>
<data>
VqkZh7ELoold3hI2YiBEg6gmOZU=
</data>
<key>Frameworks/libswiftObjectiveC.dylib</key>
<data>
wkuKB1ZO+oae9uyqPCx3OVyCqSE=
</data>
<key>Frameworks/libswiftSecurity.dylib</key>
<data>
l5h+VAw6UCDEALlcFFkMpNZo48o=
</data>
<key>Frameworks/libswiftUIKit.dylib</key>
<data>
NofzXse2rT85h+jr+HKK5TnF0q8=
</data>
<key>archived-expanded-entitlements.xcent</key>
<data>
yCRLSxXp44+4vCuOsy/h9LsBuCM=
</data>
<key>embedded.mobileprovision</key>
<data>
o9TRPl+K0mDaLn2MVd4EHtoywaE=
</data>
</dict>
<key>rules</key>
<dict>
<key>^</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>QM7HJTY23M.com.imaginarycloud.camera</string>
<key>keychain-access-groups</key>
<array>
<string>QM7HJTY23M.com.imaginarycloud.camera</string>
</array>
</dict>
</plist>

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.com.imaginarycloud.camera</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0.12</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

View File

@ -4,13 +4,13 @@
$workspaceName = 'camera.xcworkspace'
$schemeName = 'camera'
$releaseProvisioningProfileName = 'XC Ad Hoc: com.imaginarycloud.*'
$releaseProvisioningProfileName = ''
$nameOfTheSimulatorToTest = 'iPad Retina'
#you can create API key here: https://rink.hockeyapp.net/manage/auth_tokens
$hockeyAppApiKey = '7d8cbb78027a4263b6bb7644a33a9491'
$hockeyAppApiKey = ''