From 18f60eaa089ad39c7db3bbecfae53c9cbe2dbc1c Mon Sep 17 00:00:00 2001 From: CavalcanteLeo Date: Thu, 28 Apr 2016 15:48:00 -0300 Subject: [PATCH 1/2] AWSRegion --- .../BugReportKit.xcodeproj/project.pbxproj | 1973 ++++++++++++----- .../ImageUploader/BRKS3ImageUploader.h | 3 +- .../ImageUploader/BRKS3ImageUploader.m | 7 +- 3 files changed, 1383 insertions(+), 600 deletions(-) diff --git a/Example/BugReportKit.xcodeproj/project.pbxproj b/Example/BugReportKit.xcodeproj/project.pbxproj index 5808ec0..59c83af 100644 --- a/Example/BugReportKit.xcodeproj/project.pbxproj +++ b/Example/BugReportKit.xcodeproj/project.pbxproj @@ -1,597 +1,1376 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; - 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; - 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; - 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; - 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; - 6003F59E195388D20070C39A /* BRKAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* BRKAppDelegate.m */; }; - 6003F5A7195388D20070C39A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* ViewController.m */; }; - 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; - 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; - 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; - 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; - 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; - 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; - 85D66CC8993B5C121F07A92F /* libPods-BugReportKit_Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FC8AEBAEEE185452A73600D3 /* libPods-BugReportKit_Tests.a */; }; - 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; - D6816E71E19BD7C7E297E717 /* libPods-BugReportKit_Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E39D65C66325F7E1DA916D7D /* libPods-BugReportKit_Example.a */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 6003F582195388D10070C39A /* Project object */; - proxyType = 1; - remoteGlobalIDString = 6003F589195388D20070C39A; - remoteInfo = BugReportKit; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 08D35A862FF8AFE2F7C31FE0 /* Pods-BugReportKit_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BugReportKit_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-BugReportKit_Example/Pods-BugReportKit_Example.release.xcconfig"; sourceTree = ""; }; - 1C380E15A3B15349C6ECF197 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 1F41962DEA164521A145BA63 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - 357B5819416E02CF7CE429C6 /* Pods-BugReportKit_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BugReportKit_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-BugReportKit_Tests/Pods-BugReportKit_Tests.release.xcconfig"; sourceTree = ""; }; - 6003F58A195388D20070C39A /* BugReportKit_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BugReportKit_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 6003F595195388D20070C39A /* BugReportKit-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "BugReportKit-Info.plist"; sourceTree = ""; }; - 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 6003F59B195388D20070C39A /* BugReportKit-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BugReportKit-Prefix.pch"; sourceTree = ""; }; - 6003F59C195388D20070C39A /* BRKAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BRKAppDelegate.h; sourceTree = ""; }; - 6003F59D195388D20070C39A /* BRKAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BRKAppDelegate.m; sourceTree = ""; }; - 6003F5A5195388D20070C39A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - 6003F5A6195388D20070C39A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 6003F5AE195388D20070C39A /* BugReportKit_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BugReportKit_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; - 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; - 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; - 7A0F4DC298EFD36F9E89EDD2 /* BugReportKit.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = BugReportKit.podspec; path = ../BugReportKit.podspec; sourceTree = ""; }; - 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; - CFE9C099EA53FC05A41D8162 /* Pods-BugReportKit_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BugReportKit_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BugReportKit_Example/Pods-BugReportKit_Example.debug.xcconfig"; sourceTree = ""; }; - E39D65C66325F7E1DA916D7D /* libPods-BugReportKit_Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BugReportKit_Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - FC8AEBAEEE185452A73600D3 /* libPods-BugReportKit_Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BugReportKit_Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - FDC4733239F00C4329CAA909 /* Pods-BugReportKit_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BugReportKit_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BugReportKit_Tests/Pods-BugReportKit_Tests.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 6003F587195388D20070C39A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, - 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, - 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, - D6816E71E19BD7C7E297E717 /* libPods-BugReportKit_Example.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6003F5AB195388D20070C39A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, - 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, - 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, - 85D66CC8993B5C121F07A92F /* libPods-BugReportKit_Tests.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 6003F581195388D10070C39A = { - isa = PBXGroup; - children = ( - 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, - 6003F593195388D20070C39A /* Example for BugReportKit */, - 6003F5B5195388D20070C39A /* Tests */, - 6003F58C195388D20070C39A /* Frameworks */, - 6003F58B195388D20070C39A /* Products */, - 773DD74C1FA68135A0D1E940 /* Pods */, - ); - sourceTree = ""; - }; - 6003F58B195388D20070C39A /* Products */ = { - isa = PBXGroup; - children = ( - 6003F58A195388D20070C39A /* BugReportKit_Example.app */, - 6003F5AE195388D20070C39A /* BugReportKit_Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 6003F58C195388D20070C39A /* Frameworks */ = { - isa = PBXGroup; - children = ( - 6003F58D195388D20070C39A /* Foundation.framework */, - 6003F58F195388D20070C39A /* CoreGraphics.framework */, - 6003F591195388D20070C39A /* UIKit.framework */, - 6003F5AF195388D20070C39A /* XCTest.framework */, - E39D65C66325F7E1DA916D7D /* libPods-BugReportKit_Example.a */, - FC8AEBAEEE185452A73600D3 /* libPods-BugReportKit_Tests.a */, - ); - name = Frameworks; - sourceTree = ""; - }; - 6003F593195388D20070C39A /* Example for BugReportKit */ = { - isa = PBXGroup; - children = ( - 6003F59C195388D20070C39A /* BRKAppDelegate.h */, - 6003F59D195388D20070C39A /* BRKAppDelegate.m */, - 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, - 6003F5A5195388D20070C39A /* ViewController.h */, - 6003F5A6195388D20070C39A /* ViewController.m */, - 6003F5A8195388D20070C39A /* Images.xcassets */, - 6003F594195388D20070C39A /* Supporting Files */, - ); - name = "Example for BugReportKit"; - path = BugReportKit; - sourceTree = ""; - }; - 6003F594195388D20070C39A /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 6003F595195388D20070C39A /* BugReportKit-Info.plist */, - 6003F596195388D20070C39A /* InfoPlist.strings */, - 6003F599195388D20070C39A /* main.m */, - 6003F59B195388D20070C39A /* BugReportKit-Prefix.pch */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 6003F5B5195388D20070C39A /* Tests */ = { - isa = PBXGroup; - children = ( - 6003F5BB195388D20070C39A /* Tests.m */, - 6003F5B6195388D20070C39A /* Supporting Files */, - ); - path = Tests; - sourceTree = ""; - }; - 6003F5B6195388D20070C39A /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 6003F5B7195388D20070C39A /* Tests-Info.plist */, - 6003F5B8195388D20070C39A /* InfoPlist.strings */, - 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { - isa = PBXGroup; - children = ( - 7A0F4DC298EFD36F9E89EDD2 /* BugReportKit.podspec */, - 1C380E15A3B15349C6ECF197 /* README.md */, - 1F41962DEA164521A145BA63 /* LICENSE */, - ); - name = "Podspec Metadata"; - sourceTree = ""; - }; - 773DD74C1FA68135A0D1E940 /* Pods */ = { - isa = PBXGroup; - children = ( - CFE9C099EA53FC05A41D8162 /* Pods-BugReportKit_Example.debug.xcconfig */, - 08D35A862FF8AFE2F7C31FE0 /* Pods-BugReportKit_Example.release.xcconfig */, - FDC4733239F00C4329CAA909 /* Pods-BugReportKit_Tests.debug.xcconfig */, - 357B5819416E02CF7CE429C6 /* Pods-BugReportKit_Tests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 6003F589195388D20070C39A /* BugReportKit_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "BugReportKit_Example" */; - buildPhases = ( - 54031CE3BD576D177D0F3C0D /* Check Pods Manifest.lock */, - 6003F586195388D20070C39A /* Sources */, - 6003F587195388D20070C39A /* Frameworks */, - 6003F588195388D20070C39A /* Resources */, - 9F31F9AE1C56EA913C67821E /* Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = BugReportKit_Example; - productName = BugReportKit; - productReference = 6003F58A195388D20070C39A /* BugReportKit_Example.app */; - productType = "com.apple.product-type.application"; - }; - 6003F5AD195388D20070C39A /* BugReportKit_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "BugReportKit_Tests" */; - buildPhases = ( - 046C1769A97E0CC2D4B94774 /* Check Pods Manifest.lock */, - 6003F5AA195388D20070C39A /* Sources */, - 6003F5AB195388D20070C39A /* Frameworks */, - 6003F5AC195388D20070C39A /* Resources */, - EEB60FF81810967CB125D9D7 /* Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 6003F5B4195388D20070C39A /* PBXTargetDependency */, - ); - name = BugReportKit_Tests; - productName = BugReportKitTests; - productReference = 6003F5AE195388D20070C39A /* BugReportKit_Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 6003F582195388D10070C39A /* Project object */ = { - isa = PBXProject; - attributes = { - CLASSPREFIX = BRK; - LastUpgradeCheck = 0510; - ORGANIZATIONNAME = "Rahul Jiresal"; - TargetAttributes = { - 6003F589195388D20070C39A = { - DevelopmentTeam = EJB5K6LMYD; - }; - 6003F5AD195388D20070C39A = { - TestTargetID = 6003F589195388D20070C39A; - }; - }; - }; - buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "BugReportKit" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 6003F581195388D10070C39A; - productRefGroup = 6003F58B195388D20070C39A /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 6003F589195388D20070C39A /* BugReportKit_Example */, - 6003F5AD195388D20070C39A /* BugReportKit_Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 6003F588195388D20070C39A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, - 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, - 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6003F5AC195388D20070C39A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 046C1769A97E0CC2D4B94774 /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - 54031CE3BD576D177D0F3C0D /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - 9F31F9AE1C56EA913C67821E /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BugReportKit_Example/Pods-BugReportKit_Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - EEB60FF81810967CB125D9D7 /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BugReportKit_Tests/Pods-BugReportKit_Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 6003F586195388D20070C39A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F59E195388D20070C39A /* BRKAppDelegate.m in Sources */, - 6003F5A7195388D20070C39A /* ViewController.m in Sources */, - 6003F59A195388D20070C39A /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6003F5AA195388D20070C39A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F5BC195388D20070C39A /* Tests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 6003F589195388D20070C39A /* BugReportKit_Example */; - targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 6003F596195388D20070C39A /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 6003F597195388D20070C39A /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; - 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 6003F5B9195388D20070C39A /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 6003F5BD195388D20070C39A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - COPY_PHASE_STRIP = NO; - ENABLE_BITCODE = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 6003F5BE195388D20070C39A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - COPY_PHASE_STRIP = YES; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 6003F5C0195388D20070C39A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = CFE9C099EA53FC05A41D8162 /* Pods-BugReportKit_Example.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - CODE_SIGN_IDENTITY = "iPhone Developer"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - ENABLE_BITCODE = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "BugReportKit/BugReportKit-Prefix.pch"; - INFOPLIST_FILE = "BugReportKit/BugReportKit-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; - MODULE_NAME = ExampleApp; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = ""; - WRAPPER_EXTENSION = app; - }; - name = Debug; - }; - 6003F5C1195388D20070C39A /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 08D35A862FF8AFE2F7C31FE0 /* Pods-BugReportKit_Example.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - CODE_SIGN_IDENTITY = "iPhone Developer"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - ENABLE_BITCODE = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "BugReportKit/BugReportKit-Prefix.pch"; - INFOPLIST_FILE = "BugReportKit/BugReportKit-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; - MODULE_NAME = ExampleApp; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = ""; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; - 6003F5C3195388D20070C39A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FDC4733239F00C4329CAA909 /* Pods-BugReportKit_Tests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - "$(DEVELOPER_FRAMEWORKS_DIR)", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = "Tests/Tests-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BugReportKit_Example.app/BugReportKit_Example"; - WRAPPER_EXTENSION = xctest; - }; - name = Debug; - }; - 6003F5C4195388D20070C39A /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 357B5819416E02CF7CE429C6 /* Pods-BugReportKit_Tests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - "$(DEVELOPER_FRAMEWORKS_DIR)", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; - INFOPLIST_FILE = "Tests/Tests-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BugReportKit_Example.app/BugReportKit_Example"; - WRAPPER_EXTENSION = xctest; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 6003F585195388D10070C39A /* Build configuration list for PBXProject "BugReportKit" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6003F5BD195388D20070C39A /* Debug */, - 6003F5BE195388D20070C39A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "BugReportKit_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6003F5C0195388D20070C39A /* Debug */, - 6003F5C1195388D20070C39A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "BugReportKit_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6003F5C3195388D20070C39A /* Debug */, - 6003F5C4195388D20070C39A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 6003F582195388D10070C39A /* Project object */; -} + + + + + archiveVersion + 1 + classes + + objectVersion + 46 + objects + + 046C1769A97E0CC2D4B94774 + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Check Pods Manifest.lock + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null +if [[ $? != 0 ]] ; then + cat << EOM +error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. +EOM + exit 1 +fi + + showEnvVarsInLog + 0 + + 08D35A862FF8AFE2F7C31FE0 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-BugReportKit_Example.release.xcconfig + path + Pods/Target Support Files/Pods-BugReportKit_Example/Pods-BugReportKit_Example.release.xcconfig + sourceTree + <group> + + 1C380E15A3B15349C6ECF197 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + net.daringfireball.markdown + name + README.md + path + ../README.md + sourceTree + <group> + + 1F41962DEA164521A145BA63 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text + name + LICENSE + path + ../LICENSE + sourceTree + <group> + + 357B5819416E02CF7CE429C6 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-BugReportKit_Tests.release.xcconfig + path + Pods/Target Support Files/Pods-BugReportKit_Tests/Pods-BugReportKit_Tests.release.xcconfig + sourceTree + <group> + + 54031CE3BD576D177D0F3C0D + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Check Pods Manifest.lock + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null +if [[ $? != 0 ]] ; then + cat << EOM +error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. +EOM + exit 1 +fi + + showEnvVarsInLog + 0 + + 6003F581195388D10070C39A + + children + + 60FF7A9C1954A5C5007DD14C + 6003F593195388D20070C39A + 6003F5B5195388D20070C39A + 6003F58C195388D20070C39A + 6003F58B195388D20070C39A + 773DD74C1FA68135A0D1E940 + + isa + PBXGroup + sourceTree + <group> + + 6003F582195388D10070C39A + + attributes + + CLASSPREFIX + BRK + LastUpgradeCheck + 0510 + ORGANIZATIONNAME + Rahul Jiresal + TargetAttributes + + 6003F589195388D20070C39A + + DevelopmentTeam + EJB5K6LMYD + + 6003F5AD195388D20070C39A + + TestTargetID + 6003F589195388D20070C39A + + + + buildConfigurationList + 6003F585195388D10070C39A + compatibilityVersion + Xcode 3.2 + developmentRegion + English + hasScannedForEncodings + 0 + isa + PBXProject + knownRegions + + en + Base + + mainGroup + 6003F581195388D10070C39A + productRefGroup + 6003F58B195388D20070C39A + projectDirPath + + projectReferences + + projectRoot + + targets + + 6003F589195388D20070C39A + 6003F5AD195388D20070C39A + + + 6003F585195388D10070C39A + + buildConfigurations + + 6003F5BD195388D20070C39A + 6003F5BE195388D20070C39A + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 6003F586195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F59E195388D20070C39A + 6003F5A7195388D20070C39A + 6003F59A195388D20070C39A + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F587195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F590195388D20070C39A + 6003F592195388D20070C39A + 6003F58E195388D20070C39A + D6816E71E19BD7C7E297E717 + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F588195388D20070C39A + + buildActionMask + 2147483647 + files + + 873B8AEB1B1F5CCA007FD442 + 6003F5A9195388D20070C39A + 6003F598195388D20070C39A + + isa + PBXResourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F589195388D20070C39A + + buildConfigurationList + 6003F5BF195388D20070C39A + buildPhases + + 54031CE3BD576D177D0F3C0D + 6003F586195388D20070C39A + 6003F587195388D20070C39A + 6003F588195388D20070C39A + 9F31F9AE1C56EA913C67821E + D4CA62594E65D84BF8F2554E + + buildRules + + dependencies + + isa + PBXNativeTarget + name + BugReportKit_Example + productName + BugReportKit + productReference + 6003F58A195388D20070C39A + productType + com.apple.product-type.application + + 6003F58A195388D20070C39A + + explicitFileType + wrapper.application + includeInIndex + 0 + isa + PBXFileReference + path + BugReportKit_Example.app + sourceTree + BUILT_PRODUCTS_DIR + + 6003F58B195388D20070C39A + + children + + 6003F58A195388D20070C39A + 6003F5AE195388D20070C39A + + isa + PBXGroup + name + Products + sourceTree + <group> + + 6003F58C195388D20070C39A + + children + + 6003F58D195388D20070C39A + 6003F58F195388D20070C39A + 6003F591195388D20070C39A + 6003F5AF195388D20070C39A + E39D65C66325F7E1DA916D7D + FC8AEBAEEE185452A73600D3 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 6003F58D195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + Foundation.framework + path + System/Library/Frameworks/Foundation.framework + sourceTree + SDKROOT + + 6003F58E195388D20070C39A + + fileRef + 6003F58D195388D20070C39A + isa + PBXBuildFile + + 6003F58F195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + CoreGraphics.framework + path + System/Library/Frameworks/CoreGraphics.framework + sourceTree + SDKROOT + + 6003F590195388D20070C39A + + fileRef + 6003F58F195388D20070C39A + isa + PBXBuildFile + + 6003F591195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + UIKit.framework + path + System/Library/Frameworks/UIKit.framework + sourceTree + SDKROOT + + 6003F592195388D20070C39A + + fileRef + 6003F591195388D20070C39A + isa + PBXBuildFile + + 6003F593195388D20070C39A + + children + + 6003F59C195388D20070C39A + 6003F59D195388D20070C39A + 873B8AEA1B1F5CCA007FD442 + 6003F5A5195388D20070C39A + 6003F5A6195388D20070C39A + 6003F5A8195388D20070C39A + 6003F594195388D20070C39A + + isa + PBXGroup + name + Example for BugReportKit + path + BugReportKit + sourceTree + <group> + + 6003F594195388D20070C39A + + children + + 6003F595195388D20070C39A + 6003F596195388D20070C39A + 6003F599195388D20070C39A + 6003F59B195388D20070C39A + + isa + PBXGroup + name + Supporting Files + sourceTree + <group> + + 6003F595195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + BugReportKit-Info.plist + sourceTree + <group> + + 6003F596195388D20070C39A + + children + + 6003F597195388D20070C39A + + isa + PBXVariantGroup + name + InfoPlist.strings + sourceTree + <group> + + 6003F597195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + text.plist.strings + name + en + path + en.lproj/InfoPlist.strings + sourceTree + <group> + + 6003F598195388D20070C39A + + fileRef + 6003F596195388D20070C39A + isa + PBXBuildFile + + 6003F599195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + main.m + sourceTree + <group> + + 6003F59A195388D20070C39A + + fileRef + 6003F599195388D20070C39A + isa + PBXBuildFile + + 6003F59B195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + BugReportKit-Prefix.pch + sourceTree + <group> + + 6003F59C195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + BRKAppDelegate.h + sourceTree + <group> + + 6003F59D195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + BRKAppDelegate.m + sourceTree + <group> + + 6003F59E195388D20070C39A + + fileRef + 6003F59D195388D20070C39A + isa + PBXBuildFile + + 6003F5A5195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + ViewController.h + sourceTree + <group> + + 6003F5A6195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + ViewController.m + sourceTree + <group> + + 6003F5A7195388D20070C39A + + fileRef + 6003F5A6195388D20070C39A + isa + PBXBuildFile + + 6003F5A8195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + folder.assetcatalog + path + Images.xcassets + sourceTree + <group> + + 6003F5A9195388D20070C39A + + fileRef + 6003F5A8195388D20070C39A + isa + PBXBuildFile + + 6003F5AA195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F5BC195388D20070C39A + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F5AB195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F5B0195388D20070C39A + 6003F5B2195388D20070C39A + 6003F5B1195388D20070C39A + 85D66CC8993B5C121F07A92F + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F5AC195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F5BA195388D20070C39A + + isa + PBXResourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F5AD195388D20070C39A + + buildConfigurationList + 6003F5C2195388D20070C39A + buildPhases + + 046C1769A97E0CC2D4B94774 + 6003F5AA195388D20070C39A + 6003F5AB195388D20070C39A + 6003F5AC195388D20070C39A + EEB60FF81810967CB125D9D7 + C80BCB075DB34ECFB2171AFC + + buildRules + + dependencies + + 6003F5B4195388D20070C39A + + isa + PBXNativeTarget + name + BugReportKit_Tests + productName + BugReportKitTests + productReference + 6003F5AE195388D20070C39A + productType + com.apple.product-type.bundle.unit-test + + 6003F5AE195388D20070C39A + + explicitFileType + wrapper.cfbundle + includeInIndex + 0 + isa + PBXFileReference + path + BugReportKit_Tests.xctest + sourceTree + BUILT_PRODUCTS_DIR + + 6003F5AF195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + XCTest.framework + path + Library/Frameworks/XCTest.framework + sourceTree + DEVELOPER_DIR + + 6003F5B0195388D20070C39A + + fileRef + 6003F5AF195388D20070C39A + isa + PBXBuildFile + + 6003F5B1195388D20070C39A + + fileRef + 6003F58D195388D20070C39A + isa + PBXBuildFile + + 6003F5B2195388D20070C39A + + fileRef + 6003F591195388D20070C39A + isa + PBXBuildFile + + 6003F5B3195388D20070C39A + + containerPortal + 6003F582195388D10070C39A + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 6003F589195388D20070C39A + remoteInfo + BugReportKit + + 6003F5B4195388D20070C39A + + isa + PBXTargetDependency + target + 6003F589195388D20070C39A + targetProxy + 6003F5B3195388D20070C39A + + 6003F5B5195388D20070C39A + + children + + 6003F5BB195388D20070C39A + 6003F5B6195388D20070C39A + + isa + PBXGroup + path + Tests + sourceTree + <group> + + 6003F5B6195388D20070C39A + + children + + 6003F5B7195388D20070C39A + 6003F5B8195388D20070C39A + 606FC2411953D9B200FFA9A0 + + isa + PBXGroup + name + Supporting Files + sourceTree + <group> + + 6003F5B7195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + Tests-Info.plist + sourceTree + <group> + + 6003F5B8195388D20070C39A + + children + + 6003F5B9195388D20070C39A + + isa + PBXVariantGroup + name + InfoPlist.strings + sourceTree + <group> + + 6003F5B9195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + text.plist.strings + name + en + path + en.lproj/InfoPlist.strings + sourceTree + <group> + + 6003F5BA195388D20070C39A + + fileRef + 6003F5B8195388D20070C39A + isa + PBXBuildFile + + 6003F5BB195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + Tests.m + sourceTree + <group> + + 6003F5BC195388D20070C39A + + fileRef + 6003F5BB195388D20070C39A + isa + PBXBuildFile + + 6003F5BD195388D20070C39A + + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES + YES + CLANG_ENABLE_OBJC_ARC + YES + CLANG_WARN_BOOL_CONVERSION + YES + CLANG_WARN_CONSTANT_CONVERSION + YES + CLANG_WARN_DIRECT_OBJC_ISA_USAGE + YES_ERROR + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES_ERROR + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + CODE_SIGN_IDENTITY[sdk=iphoneos*] + + COPY_PHASE_STRIP + NO + ENABLE_BITCODE + NO + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES_ERROR + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES_AGGRESSIVE + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + ONLY_ACTIVE_ARCH + YES + SDKROOT + iphoneos + TARGETED_DEVICE_FAMILY + 1,2 + + isa + XCBuildConfiguration + name + Debug + + 6003F5BE195388D20070C39A + + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES + YES + CLANG_ENABLE_OBJC_ARC + YES + CLANG_WARN_BOOL_CONVERSION + YES + CLANG_WARN_CONSTANT_CONVERSION + YES + CLANG_WARN_DIRECT_OBJC_ISA_USAGE + YES_ERROR + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES_ERROR + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + CODE_SIGN_IDENTITY[sdk=iphoneos*] + + COPY_PHASE_STRIP + YES + ENABLE_BITCODE + NO + ENABLE_NS_ASSERTIONS + NO + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES_ERROR + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES_AGGRESSIVE + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + SDKROOT + iphoneos + TARGETED_DEVICE_FAMILY + 1,2 + VALIDATE_PRODUCT + YES + + isa + XCBuildConfiguration + name + Release + + 6003F5BF195388D20070C39A + + buildConfigurations + + 6003F5C0195388D20070C39A + 6003F5C1195388D20070C39A + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 6003F5C0195388D20070C39A + + baseConfigurationReference + CFE9C099EA53FC05A41D8162 + buildSettings + + ASSETCATALOG_COMPILER_APPICON_NAME + AppIcon + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME + LaunchImage + CODE_SIGN_IDENTITY + iPhone Developer + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + ENABLE_BITCODE + NO + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + BugReportKit/BugReportKit-Prefix.pch + INFOPLIST_FILE + BugReportKit/BugReportKit-Info.plist + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + MODULE_NAME + ExampleApp + PRODUCT_NAME + $(TARGET_NAME) + PROVISIONING_PROFILE + + WRAPPER_EXTENSION + app + + isa + XCBuildConfiguration + name + Debug + + 6003F5C1195388D20070C39A + + baseConfigurationReference + 08D35A862FF8AFE2F7C31FE0 + buildSettings + + ASSETCATALOG_COMPILER_APPICON_NAME + AppIcon + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME + LaunchImage + CODE_SIGN_IDENTITY + iPhone Developer + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + ENABLE_BITCODE + NO + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + BugReportKit/BugReportKit-Prefix.pch + INFOPLIST_FILE + BugReportKit/BugReportKit-Info.plist + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + MODULE_NAME + ExampleApp + PRODUCT_NAME + $(TARGET_NAME) + PROVISIONING_PROFILE + + WRAPPER_EXTENSION + app + + isa + XCBuildConfiguration + name + Release + + 6003F5C2195388D20070C39A + + buildConfigurations + + 6003F5C3195388D20070C39A + 6003F5C4195388D20070C39A + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 6003F5C3195388D20070C39A + + baseConfigurationReference + FDC4733239F00C4329CAA909 + buildSettings + + BUNDLE_LOADER + $(TEST_HOST) + FRAMEWORK_SEARCH_PATHS + + $(SDKROOT)/Developer/Library/Frameworks + $(inherited) + $(DEVELOPER_FRAMEWORKS_DIR) + + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + Tests/Tests-Prefix.pch + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + INFOPLIST_FILE + Tests/Tests-Info.plist + PRODUCT_NAME + $(TARGET_NAME) + TEST_HOST + $(BUILT_PRODUCTS_DIR)/BugReportKit_Example.app/BugReportKit_Example + WRAPPER_EXTENSION + xctest + + isa + XCBuildConfiguration + name + Debug + + 6003F5C4195388D20070C39A + + baseConfigurationReference + 357B5819416E02CF7CE429C6 + buildSettings + + BUNDLE_LOADER + $(TEST_HOST) + FRAMEWORK_SEARCH_PATHS + + $(SDKROOT)/Developer/Library/Frameworks + $(inherited) + $(DEVELOPER_FRAMEWORKS_DIR) + + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + Tests/Tests-Prefix.pch + INFOPLIST_FILE + Tests/Tests-Info.plist + PRODUCT_NAME + $(TARGET_NAME) + TEST_HOST + $(BUILT_PRODUCTS_DIR)/BugReportKit_Example.app/BugReportKit_Example + WRAPPER_EXTENSION + xctest + + isa + XCBuildConfiguration + name + Release + + 606FC2411953D9B200FFA9A0 + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + Tests-Prefix.pch + sourceTree + <group> + + 60FF7A9C1954A5C5007DD14C + + children + + 7A0F4DC298EFD36F9E89EDD2 + 1C380E15A3B15349C6ECF197 + 1F41962DEA164521A145BA63 + + isa + PBXGroup + name + Podspec Metadata + sourceTree + <group> + + 773DD74C1FA68135A0D1E940 + + children + + CFE9C099EA53FC05A41D8162 + 08D35A862FF8AFE2F7C31FE0 + FDC4733239F00C4329CAA909 + 357B5819416E02CF7CE429C6 + + isa + PBXGroup + name + Pods + sourceTree + <group> + + 7A0F4DC298EFD36F9E89EDD2 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text + name + BugReportKit.podspec + path + ../BugReportKit.podspec + sourceTree + <group> + + 85D66CC8993B5C121F07A92F + + fileRef + FC8AEBAEEE185452A73600D3 + isa + PBXBuildFile + + 873B8AEA1B1F5CCA007FD442 + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + file.storyboard + path + Main.storyboard + sourceTree + <group> + + 873B8AEB1B1F5CCA007FD442 + + fileRef + 873B8AEA1B1F5CCA007FD442 + isa + PBXBuildFile + + 9F31F9AE1C56EA913C67821E + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Copy Pods Resources + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${SRCROOT}/Pods/Target Support Files/Pods-BugReportKit_Example/Pods-BugReportKit_Example-resources.sh" + + showEnvVarsInLog + 0 + + C80BCB075DB34ECFB2171AFC + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Embed Pods Frameworks + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${SRCROOT}/Pods/Target Support Files/Pods-BugReportKit_Tests/Pods-BugReportKit_Tests-frameworks.sh" + + showEnvVarsInLog + 0 + + CFE9C099EA53FC05A41D8162 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-BugReportKit_Example.debug.xcconfig + path + Pods/Target Support Files/Pods-BugReportKit_Example/Pods-BugReportKit_Example.debug.xcconfig + sourceTree + <group> + + D4CA62594E65D84BF8F2554E + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Embed Pods Frameworks + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${SRCROOT}/Pods/Target Support Files/Pods-BugReportKit_Example/Pods-BugReportKit_Example-frameworks.sh" + + showEnvVarsInLog + 0 + + D6816E71E19BD7C7E297E717 + + fileRef + E39D65C66325F7E1DA916D7D + isa + PBXBuildFile + + E39D65C66325F7E1DA916D7D + + explicitFileType + archive.ar + includeInIndex + 0 + isa + PBXFileReference + path + libPods-BugReportKit_Example.a + sourceTree + BUILT_PRODUCTS_DIR + + EEB60FF81810967CB125D9D7 + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Copy Pods Resources + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${SRCROOT}/Pods/Target Support Files/Pods-BugReportKit_Tests/Pods-BugReportKit_Tests-resources.sh" + + showEnvVarsInLog + 0 + + FC8AEBAEEE185452A73600D3 + + explicitFileType + archive.ar + includeInIndex + 0 + isa + PBXFileReference + path + libPods-BugReportKit_Tests.a + sourceTree + BUILT_PRODUCTS_DIR + + FDC4733239F00C4329CAA909 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-BugReportKit_Tests.debug.xcconfig + path + Pods/Target Support Files/Pods-BugReportKit_Tests/Pods-BugReportKit_Tests.debug.xcconfig + sourceTree + <group> + + + rootObject + 6003F582195388D10070C39A + + diff --git a/Pod/Classes/ImageUploader/BRKS3ImageUploader.h b/Pod/Classes/ImageUploader/BRKS3ImageUploader.h index 165c0c6..9790a06 100644 --- a/Pod/Classes/ImageUploader/BRKS3ImageUploader.h +++ b/Pod/Classes/ImageUploader/BRKS3ImageUploader.h @@ -13,6 +13,7 @@ @interface BRKS3ImageUploader : NSObject -- (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName; + +- (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName AWSRegion:(AWSRegionType)AWSRegion; @end diff --git a/Pod/Classes/ImageUploader/BRKS3ImageUploader.m b/Pod/Classes/ImageUploader/BRKS3ImageUploader.m index 324f670..79c46bf 100644 --- a/Pod/Classes/ImageUploader/BRKS3ImageUploader.m +++ b/Pod/Classes/ImageUploader/BRKS3ImageUploader.m @@ -23,17 +23,20 @@ @interface BRKS3ImageUploader () @implementation BRKS3ImageUploader -- (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName { +- (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName AWSRegion:(AWSRegionType)AWSRegion{ self = [self init]; if (self) { self.bucketName = bucketName; AWSStaticCredentialsProvider *cp = [[AWSStaticCredentialsProvider alloc] initWithAccessKey:accesskey secretKey:secretKey]; - AWSServiceConfiguration* config = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:cp]; + AWSServiceConfiguration* config = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegion credentialsProvider:cp]; [AWSS3TransferManager registerS3TransferManagerWithConfiguration:config forKey:@"BugReportKitS3Uploader"]; } return self; } + + + - (void)uploadImage:(UIImage *)image completionHandler:(void (^)(NSString *, NSError *))handler { NSString *fileName = [[[NSProcessInfo processInfo] globallyUniqueString] stringByAppendingString:@".png"]; From 2bc48e1daf64dac0fe54b3adcfea0a3e43d9394a Mon Sep 17 00:00:00 2001 From: CavalcanteLeo Date: Thu, 28 Apr 2016 16:04:31 -0300 Subject: [PATCH 2/2] AWS Region and exemple --- Example/BugReportKit/BRKAppDelegate.m | 13 ++++++++++-- .../ImageUploader/BRKS3ImageUploader.h | 20 +++++++++++++++++++ .../ImageUploader/BRKS3ImageUploader.m | 13 +++++++++++- 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/Example/BugReportKit/BRKAppDelegate.m b/Example/BugReportKit/BRKAppDelegate.m index e7b6378..be0416c 100644 --- a/Example/BugReportKit/BRKAppDelegate.m +++ b/Example/BugReportKit/BRKAppDelegate.m @@ -55,11 +55,18 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( // password:EMAIL_PASSWORD // connectionType:BRKEmailConnectionTypeClear // toAddress:EMAIL_TO]; - + +// BRKS3ImageUploader* uploader = [[BRKS3ImageUploader alloc] initWithS3AccessKey:S3_ACCESSKEY +// secretKey:S3_SECRETKEY +// bucketName:S3_BUCKET]; + + BRKS3ImageUploader* uploader = [[BRKS3ImageUploader alloc] initWithS3AccessKey:S3_ACCESSKEY secretKey:S3_SECRETKEY - bucketName:S3_BUCKET]; + bucketName:S3_BUCKET + AWSRegion:AWSRegionUSWest2]; + // BRKJIRAReporter* reporter = [[BRKJIRAReporter alloc] initWithJIRABaseURL:JIRA_URL // username:JIRA_USERNAME // password:JIRA_PASSWORD @@ -71,6 +78,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( repository:GITHUB_REPO owner:GITHUB_OWNER imageUploader:uploader]; + + // BRKGitlabReporter* reporter = [[BRKGitlabReporter alloc] initWithGitlabUsername:GITLAB_USERNAME // password:GITLAB_PASSWORD diff --git a/Pod/Classes/ImageUploader/BRKS3ImageUploader.h b/Pod/Classes/ImageUploader/BRKS3ImageUploader.h index 9790a06..ce3e59d 100644 --- a/Pod/Classes/ImageUploader/BRKS3ImageUploader.h +++ b/Pod/Classes/ImageUploader/BRKS3ImageUploader.h @@ -8,12 +8,32 @@ #import #import +#import "AWSServiceEnum.h" #import "BRKImageUploaderDelegate.h" @interface BRKS3ImageUploader : NSObject +- (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName; + +//typedef NS_ENUM(NSInteger, BRKS3AWSRegionType) { +// AWSRegionUnknown, +// AWSRegionUSEast1, +// AWSRegionUSWest1, +// AWSRegionUSWest2, +// AWSRegionEUWest1, +// AWSRegionEUCentral1, +// AWSRegionAPSoutheast1, +// AWSRegionAPNortheast1, +// AWSRegionAPSoutheast2, +// AWSRegionSAEast1, +// AWSRegionCNNorth1, +// AWSRegionUSGovWest1, +//}; - (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName AWSRegion:(AWSRegionType)AWSRegion; @end + + + diff --git a/Pod/Classes/ImageUploader/BRKS3ImageUploader.m b/Pod/Classes/ImageUploader/BRKS3ImageUploader.m index 79c46bf..decafb7 100644 --- a/Pod/Classes/ImageUploader/BRKS3ImageUploader.m +++ b/Pod/Classes/ImageUploader/BRKS3ImageUploader.m @@ -23,6 +23,18 @@ @interface BRKS3ImageUploader () @implementation BRKS3ImageUploader +- (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName { + self = [self init]; + if (self) { + self.bucketName = bucketName; + AWSStaticCredentialsProvider *cp = [[AWSStaticCredentialsProvider alloc] initWithAccessKey:accesskey secretKey:secretKey]; + AWSServiceConfiguration* config = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:cp]; + [AWSS3TransferManager registerS3TransferManagerWithConfiguration:config forKey:@"BugReportKitS3Uploader"]; + } + return self; +} + + - (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName AWSRegion:(AWSRegionType)AWSRegion{ self = [self init]; if (self) { @@ -36,7 +48,6 @@ - (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bu - - (void)uploadImage:(UIImage *)image completionHandler:(void (^)(NSString *, NSError *))handler { NSString *fileName = [[[NSProcessInfo processInfo] globallyUniqueString] stringByAppendingString:@".png"];