From 7f5e17cbd2e703c4e852ac3382ff89fa3caedd67 Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Tue, 23 Jun 2015 16:31:20 +0200 Subject: [PATCH 1/9] Increase build number --- Support/buildnumber.xcconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Support/buildnumber.xcconfig b/Support/buildnumber.xcconfig index 501adde1a5..dd9779f9ec 100644 --- a/Support/buildnumber.xcconfig +++ b/Support/buildnumber.xcconfig @@ -1,6 +1,6 @@ #include "HockeySDK.xcconfig" -BUILD_NUMBER = 40 +BUILD_NUMBER = 41 VERSION_STRING = 3.7.0 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) BITHOCKEY_VERSION="@\""$(VERSION_STRING)"\"" BITHOCKEY_BUILD="@\""$(BUILD_NUMBER)"\"" BITHOCKEY_C_VERSION="\""$(VERSION_STRING)"\"" BITHOCKEY_C_BUILD="\""$(BUILD_NUMBER)"\"" BIT_ARM_ARCHS = armv7 armv7s arm64 From 40241ac953e711ff3960c1e87a45b56e4189f6cf Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Tue, 23 Jun 2015 16:56:48 +0200 Subject: [PATCH 2/9] Update podspecs for 3.7.0 release --- HockeySDK-Source.podspec | 6 +++--- HockeySDK.podspec | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HockeySDK-Source.podspec b/HockeySDK-Source.podspec index cc4372aa1e..790851deb0 100644 --- a/HockeySDK-Source.podspec +++ b/HockeySDK-Source.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'HockeySDK-Source' - s.version = '3.6.4' + s.version = '3.7.0' s.summary = 'Collect live crash reports, get feedback from your users, distribute your betas, and analyze your test coverage with HockeyApp.' s.description = <<-DESC @@ -12,7 +12,7 @@ Pod::Spec.new do |s| DESC s.homepage = 'http://hockeyapp.net/' - s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.6.4/' + s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.0/' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'Andreas Linde' => 'mail@andreaslinde.de', 'Thomas Dohmke' => "thomas@dohmke.de" } @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.lproj'] } s.preserve_path = 'README.md' s.private_header_files = 'Classes/*Private.h' - s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\"" BITHOCKEY_C_VERSION="\\"#{s.version}\\"" BITHOCKEY_BUILD="@\\"38\\"" BITHOCKEY_C_BUILD="\\"38\\""} } + s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\"" BITHOCKEY_C_VERSION="\\"#{s.version}\\"" BITHOCKEY_BUILD="@\\"40\\"" BITHOCKEY_C_BUILD="\\"40\\""} } s.default_subspec = 'AllFeatures' diff --git a/HockeySDK.podspec b/HockeySDK.podspec index 5675202285..729b1fb841 100644 --- a/HockeySDK.podspec +++ b/HockeySDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'HockeySDK' - s.version = '3.6.4' + s.version = '3.7.0' s.summary = 'Collect live crash reports, get feedback from your users, distribute your betas, and analyze your test coverage with HockeyApp.' s.description = <<-DESC @@ -12,7 +12,7 @@ Pod::Spec.new do |s| DESC s.homepage = 'http://hockeyapp.net/' - s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.6.4/' + s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.0/' s.license = { :type => 'MIT', :file => 'HockeySDK-iOS/LICENSE' } s.author = { 'Andreas Linde' => 'mail@andreaslinde.de', 'Thomas Dohmke' => "thomas@dohmke.de" } From 1ef0461be421b041e1ddafb147cb80e5764d071f Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Tue, 23 Jun 2015 19:22:12 +0200 Subject: [PATCH 3/9] Documentation fixes --- README.md | 2 +- docs/Changelog-template.md | 6 +++--- docs/Guide-Installation-Setup-template.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1d2ef29107..82d65c92bd 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ From our experience, 3rd-party libraries usually reside inside a subdirectory (l 2. Add the following line at the top of the file below your own `import` statements: ```objectivec - @import HockeySDK + @import HockeySDK; ``` 3. Search for the method `application:didFinishLaunchingWithOptions:` diff --git a/docs/Changelog-template.md b/docs/Changelog-template.md index 2e77eddcfa..ba1b1c4de2 100644 --- a/docs/Changelog-template.md +++ b/docs/Changelog-template.md @@ -2,13 +2,13 @@ - [NEW] Simplified installation process. If support for modules is enabled in the target project (default for most projects), it’s no longer necessary to add the frameworks manually - [NEW] `CocoaPods`: Default pod uses binary distribution and offers crash only build as a subspec -- [NEW] `CocoaPods`: New `HockeySDK-Source` pod integrates via source code and offers feature set customization via subspecs (We do not support building with Xcode 7 yet!) +- [NEW] `CocoaPods`: New `HockeySDK-Source` pod integrates via source code and offers feature set customization via subspecs. Note: We do not support building with Xcode 7 yet! - [NEW] `BITCrashManager`: Added support for unhandled C++ exceptions (requires to link `libc++`) - [NEW] `BITCrashManager`: Added process ID to `BITCrashDetails` - [NEW] `BITCrashManager`: Added `CFBundleShortVersionString` value to crash reports - [NEW] `BITFeedbackManager`: "Add Image" button in feedback compose view can now be hidden using `feedbackComposeHideImageAttachmentButton` property -- [NEW] `BITFeedbackManagerDelegate`: Added `allowAutomaticFetchingForNewFeedbackForManager:` to define if the SDK should fetch for new messages on app startup and when the app is coming into foreground. -- [NEW] Added `disableInstallTracking` property disable installation tracking (AppStore only). +- [NEW] `BITFeedbackManagerDelegate`: Added `allowAutomaticFetchingForNewFeedbackForManager:` to define if the SDK should fetch new messages on app startup and when the app is coming into foreground. +- [NEW] Added disableInstallTracking property to disable installation tracking (AppStore only). - [UPDATE] Restructured installation documentation - [BUGFIX] `BITCrashManager`: Fixed offline issue showing crash alert over and over again with unsent crash reports - [BUGFIX] `BITFeedbackManager`: Improved screenshot handling on slow devices diff --git a/docs/Guide-Installation-Setup-template.md b/docs/Guide-Installation-Setup-template.md index d830e9bb53..dde3d398a0 100644 --- a/docs/Guide-Installation-Setup-template.md +++ b/docs/Guide-Installation-Setup-template.md @@ -63,7 +63,7 @@ From our experience, 3rd-party libraries usually reside inside a subdirectory (l 2. Add the following line at the top of the file below your own `import` statements: ```objectivec - @import HockeySDK + @import HockeySDK; ``` 3. Search for the method `application:didFinishLaunchingWithOptions:` From 99a138cf0082de9ae50eb71a6b930b15c36184cc Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Tue, 23 Jun 2015 19:33:11 +0200 Subject: [PATCH 4/9] Another documentation update --- docs/Changelog-template.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Changelog-template.md b/docs/Changelog-template.md index ba1b1c4de2..b77b89ad83 100644 --- a/docs/Changelog-template.md +++ b/docs/Changelog-template.md @@ -4,6 +4,7 @@ - [NEW] `CocoaPods`: Default pod uses binary distribution and offers crash only build as a subspec - [NEW] `CocoaPods`: New `HockeySDK-Source` pod integrates via source code and offers feature set customization via subspecs. Note: We do not support building with Xcode 7 yet! - [NEW] `BITCrashManager`: Added support for unhandled C++ exceptions (requires to link `libc++`) +- [NEW] `BITCrashManager`: Sending crash reports via `NSURLSession` whenever possible - [NEW] `BITCrashManager`: Added process ID to `BITCrashDetails` - [NEW] `BITCrashManager`: Added `CFBundleShortVersionString` value to crash reports - [NEW] `BITFeedbackManager`: "Add Image" button in feedback compose view can now be hidden using `feedbackComposeHideImageAttachmentButton` property From a918cb9d0775fcef86b31735956028c05543cd65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Wed, 24 Jun 2015 13:36:05 +0200 Subject: [PATCH 5/9] Make Source podspec work with use_frameworks! option --- HockeySDK-Source.podspec | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/HockeySDK-Source.podspec b/HockeySDK-Source.podspec index 790851deb0..ff04d1c795 100644 --- a/HockeySDK-Source.podspec +++ b/HockeySDK-Source.podspec @@ -22,7 +22,6 @@ Pod::Spec.new do |s| s.requires_arc = true s.prepare_command = 'cp -f Classes/HockeySDKFeatureConfig_CP.h Classes/HockeySDKFeatureConfig.h' #Changes default of all features enabled to disabled - s.frameworks = 'Security', 'UIKit' s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.lproj'] } s.preserve_path = 'README.md' s.private_header_files = 'Classes/*Private.h' @@ -34,19 +33,33 @@ Pod::Spec.new do |s| ss.source_files = 'Classes/HockeySDK*.{h,m}', 'Classes/BITHockeyManager*.{h,m}', 'Classes/BITHockeyAppClient.{h,m}', 'Classes/BITHTTPOperation.{h,m}', 'Classes/BITHockeyHelper.{h,m}', 'Classes/BITKeychain*.{h,m}', 'Classes/BITHockeyBaseManager*.{h,m}' end + s.subspec 'UserInterface' do |ss| + ss.dependency 'HockeySDK-Source/SharedRequirements' + ss.frameworks = 'UIKit' + ss.source_files = 'Classes/BITHockeyBaseViewController.{h,m}' + end + + s.subspec 'Extendable' do |ss| + ss.dependency 'HockeySDK-Source/SharedRequirements' + ss.source_files = 'Classes/BITHockeyAttachment.{h,m}' + end + s.subspec 'CrashReporter' do |ss| ss.dependency 'HockeySDK-Source/SharedRequirements' + ss.dependency 'HockeySDK-Source/Extendable' ss.vendored_frameworks = 'Vendor/CrashReporter.framework' ss.frameworks = 'SystemConfiguration' ss.libraries = 'c++' - ss.source_files = 'Classes/BITCrash*.{h,m,mm}', 'Classes/BITHockeyAttachment.{h,m}' + ss.source_files = 'Classes/BITCrash*.{h,m,mm}' ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_CRASH_REPORTER=1} } end s.subspec 'UserFeedback' do |ss| ss.dependency 'HockeySDK-Source/SharedRequirements' + ss.dependency 'HockeySDK-Source/Extendable' + ss.dependency 'HockeySDK-Source/UserInterface' ss.frameworks = 'AssetsLibrary', 'MobileCoreServices', 'QuickLook', 'CoreText' - ss.source_files = 'Classes/BITFeedback*.{h,m}', 'Classes/BIT*ImageAnnotation.{h,m}', 'Classes/BITImageAnnotationViewController.{h,m}', 'Classes/BITHockeyAttachment.{h,m}', 'Classes/BITHockeyBaseViewController.{h,m}', 'Classes/BITAttributedLabel.{h,m}', 'Classes/BITActivityIndicatorButton.{h,m}' + ss.source_files = 'Classes/BITFeedback*.{h,m}', 'Classes/BIT*ImageAnnotation.{h,m}', 'Classes/BITImageAnnotationViewController.{h,m}', 'Classes/BITAttributedLabel.{h,m}', 'Classes/BITActivityIndicatorButton.{h,m}' ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_FEEDBACK=1} } end @@ -58,14 +71,16 @@ Pod::Spec.new do |s| s.subspec 'Authenticator' do |ss| ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.source_files = 'Classes/BITAuthentica*.{h,m}', 'Classes/BITHockeyBaseViewController.{h,m}' + ss.dependency 'HockeySDK-Source/UserInterface' + ss.source_files = 'Classes/BITAuthentica*.{h,m}' ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_AUTHENTICATOR=1} } end s.subspec 'AdHocUpdates' do |ss| ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.source_files = 'Classes/BITUpdate*.{h,m}', 'Classes/BITAppVersionMetaInfo.{h,m}', 'Classes/BITHockeyBaseViewController.{h,m}', 'Classes/BITStoreButton.{h,m}', 'Classes/BITAppStoreHeader.{h,m}', 'Classes/BITWebTableViewCell.{h,m}' - ss.frameworks = 'CoreGraphics', 'QuartzCore', 'Security', 'UIKit' + ss.dependency 'HockeySDK-Source/UserInterface' + ss.source_files = 'Classes/BITUpdate*.{h,m}', 'Classes/BITAppVersionMetaInfo.{h,m}', 'Classes/BITStoreButton.{h,m}', 'Classes/BITAppStoreHeader.{h,m}', 'Classes/BITWebTableViewCell.{h,m}' + ss.frameworks = 'CoreGraphics', 'QuartzCore', 'Security' ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_UPDATES=1} } end From eb6919421826631ec74ffb4b0db06d122d093285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Thu, 25 Jun 2015 15:20:19 +0200 Subject: [PATCH 6/9] Use correct path to resources in HockeySDK.podspec --- HockeySDK.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HockeySDK.podspec b/HockeySDK.podspec index 729b1fb841..f23424e0c0 100644 --- a/HockeySDK.podspec +++ b/HockeySDK.podspec @@ -30,12 +30,12 @@ Pod::Spec.new do |s| s.default_subspec = 'AllFeaturesLib' s.subspec 'CrashOnlyLib' do |ss| - ss.resource_bundle = { 'HockeySDKResources' => ['Resources/*.lproj'] } + ss.resource_bundle = { 'HockeySDKResources' => ['HockeySDK-iOS/HockeySDK.embeddedframework/Resources/*.lproj'] } ss.vendored_frameworks = 'HockeySDK-iOS/HockeySDKCrashOnly/HockeySDK.framework' end s.subspec 'AllFeaturesLib' do |ss| - ss.resource_bundle = { 'HockeySDKResources' => ['Resources/*.png', 'Resources/*.lproj'] } + ss.resource_bundle = { 'HockeySDKResources' => ['HockeySDK-iOS/HockeySDK.embeddedframework/Resources/*.png', 'Resources/*.lproj'] } ss.frameworks = 'CoreGraphics', 'QuartzCore', 'AssetsLibrary', 'MobileCoreServices', 'QuickLook', 'CoreText' ss.vendored_frameworks = 'HockeySDK-iOS/HockeySDK.embeddedframework/HockeySDK.framework' From 689e14c2e97ecf18df3f7bb27009774183c5007b Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Fri, 26 Jun 2015 09:09:33 +0200 Subject: [PATCH 7/9] Another fix for the podspec resources --- HockeySDK.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HockeySDK.podspec b/HockeySDK.podspec index f23424e0c0..f0151051d1 100644 --- a/HockeySDK.podspec +++ b/HockeySDK.podspec @@ -30,12 +30,12 @@ Pod::Spec.new do |s| s.default_subspec = 'AllFeaturesLib' s.subspec 'CrashOnlyLib' do |ss| - ss.resource_bundle = { 'HockeySDKResources' => ['HockeySDK-iOS/HockeySDK.embeddedframework/Resources/*.lproj'] } + ss.resource_bundle = { 'HockeySDKResources' => ['HockeySDK-iOS/HockeySDK.embeddedframework/HockeySDK.framework/Versions/A/Resources/HockeySDKResources.bundle/*.lproj'] } ss.vendored_frameworks = 'HockeySDK-iOS/HockeySDKCrashOnly/HockeySDK.framework' end s.subspec 'AllFeaturesLib' do |ss| - ss.resource_bundle = { 'HockeySDKResources' => ['HockeySDK-iOS/HockeySDK.embeddedframework/Resources/*.png', 'Resources/*.lproj'] } + ss.resource_bundle = { 'HockeySDKResources' => ['HockeySDK-iOS/HockeySDK.embeddedframework/HockeySDK.framework/Versions/A/Resources/HockeySDKResources.bundle/*.png', 'HockeySDK-iOS/HockeySDK.embeddedframework/HockeySDK.framework/Versions/A/Resources/HockeySDKResources.bundle/*.lproj'] } ss.frameworks = 'CoreGraphics', 'QuartzCore', 'AssetsLibrary', 'MobileCoreServices', 'QuickLook', 'CoreText' ss.vendored_frameworks = 'HockeySDK-iOS/HockeySDK.embeddedframework/HockeySDK.framework' From efe664fcc3ffdc3add4e58e3a5383b1f32439c4b Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Fri, 26 Jun 2015 09:52:28 +0200 Subject: [PATCH 8/9] Redo HockeySDK-Source spec We can't get a freely configurable podspec to work reliably in all scenarios, so we push back for now and keep that in mind for a full SDK restructuring approach --- HockeySDK-Source.podspec | 81 +++++----------------------------------- 1 file changed, 9 insertions(+), 72 deletions(-) diff --git a/HockeySDK-Source.podspec b/HockeySDK-Source.podspec index ff04d1c795..47fc69cf2b 100644 --- a/HockeySDK-Source.podspec +++ b/HockeySDK-Source.podspec @@ -1,5 +1,5 @@ Pod::Spec.new do |s| - s.name = 'HockeySDK-Source' + s.name = 'HockeySDK' s.version = '3.7.0' s.summary = 'Collect live crash reports, get feedback from your users, distribute your betas, and analyze your test coverage with HockeyApp.' @@ -14,82 +14,19 @@ Pod::Spec.new do |s| s.homepage = 'http://hockeyapp.net/' s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.0/' - s.license = { :type => 'MIT', :file => 'LICENSE' } + s.license = 'MIT' s.author = { 'Andreas Linde' => 'mail@andreaslinde.de', 'Thomas Dohmke' => "thomas@dohmke.de" } s.source = { :git => 'https://github.com/bitstadium/HockeySDK-iOS.git', :tag => s.version.to_s } s.platform = :ios, '6.0' + s.source_files = 'Classes' s.requires_arc = true - - s.prepare_command = 'cp -f Classes/HockeySDKFeatureConfig_CP.h Classes/HockeySDKFeatureConfig.h' #Changes default of all features enabled to disabled - s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.lproj'] } - s.preserve_path = 'README.md' + + s.frameworks = 'AssetsLibrary', 'CoreText', 'CoreGraphics', 'MobileCoreServices', 'QuartzCore', 'QuickLook', 'Security', 'SystemConfiguration', 'UIKit' + s.ios.vendored_frameworks = 'Vendor/CrashReporter.framework' + s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\"" BITHOCKEY_C_VERSION="\\"#{s.version}\\"" BITHOCKEY_BUILD="@\\"40\\"" BITHOCKEY_C_BUILD="\\"40\\""} } + s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.png', 'Resources/*.lproj'] } + s.preserve_paths = 'Resources', 'Support' s.private_header_files = 'Classes/*Private.h' - s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\"" BITHOCKEY_C_VERSION="\\"#{s.version}\\"" BITHOCKEY_BUILD="@\\"40\\"" BITHOCKEY_C_BUILD="\\"40\\""} } - - s.default_subspec = 'AllFeatures' - - s.subspec 'SharedRequirements' do |ss| - ss.source_files = 'Classes/HockeySDK*.{h,m}', 'Classes/BITHockeyManager*.{h,m}', 'Classes/BITHockeyAppClient.{h,m}', 'Classes/BITHTTPOperation.{h,m}', 'Classes/BITHockeyHelper.{h,m}', 'Classes/BITKeychain*.{h,m}', 'Classes/BITHockeyBaseManager*.{h,m}' - end - - s.subspec 'UserInterface' do |ss| - ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.frameworks = 'UIKit' - ss.source_files = 'Classes/BITHockeyBaseViewController.{h,m}' - end - - s.subspec 'Extendable' do |ss| - ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.source_files = 'Classes/BITHockeyAttachment.{h,m}' - end - - s.subspec 'CrashReporter' do |ss| - ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.dependency 'HockeySDK-Source/Extendable' - ss.vendored_frameworks = 'Vendor/CrashReporter.framework' - ss.frameworks = 'SystemConfiguration' - ss.libraries = 'c++' - ss.source_files = 'Classes/BITCrash*.{h,m,mm}' - ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_CRASH_REPORTER=1} } - end - - s.subspec 'UserFeedback' do |ss| - ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.dependency 'HockeySDK-Source/Extendable' - ss.dependency 'HockeySDK-Source/UserInterface' - ss.frameworks = 'AssetsLibrary', 'MobileCoreServices', 'QuickLook', 'CoreText' - ss.source_files = 'Classes/BITFeedback*.{h,m}', 'Classes/BIT*ImageAnnotation.{h,m}', 'Classes/BITImageAnnotationViewController.{h,m}', 'Classes/BITAttributedLabel.{h,m}', 'Classes/BITActivityIndicatorButton.{h,m}' - ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_FEEDBACK=1} } - end - - s.subspec 'StoreUpdates' do |ss| - ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.source_files = 'Classes/BITStoreUpdate*.{h,m}' - ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_STORE_UPDATES=1} } - end - - s.subspec 'Authenticator' do |ss| - ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.dependency 'HockeySDK-Source/UserInterface' - ss.source_files = 'Classes/BITAuthentica*.{h,m}' - ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_AUTHENTICATOR=1} } - end - - s.subspec 'AdHocUpdates' do |ss| - ss.dependency 'HockeySDK-Source/SharedRequirements' - ss.dependency 'HockeySDK-Source/UserInterface' - ss.source_files = 'Classes/BITUpdate*.{h,m}', 'Classes/BITAppVersionMetaInfo.{h,m}', 'Classes/BITStoreButton.{h,m}', 'Classes/BITAppStoreHeader.{h,m}', 'Classes/BITWebTableViewCell.{h,m}' - ss.frameworks = 'CoreGraphics', 'QuartzCore', 'Security' - ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_UPDATES=1} } - end - - s.subspec 'AllFeatures' do |ss| - ss.dependency 'HockeySDK-Source/CrashReporter' - ss.dependency 'HockeySDK-Source/UserFeedback' - ss.dependency 'HockeySDK-Source/StoreUpdates' - ss.dependency 'HockeySDK-Source/Authenticator' - ss.dependency 'HockeySDK-Source/AdHocUpdates' - end end \ No newline at end of file From 762a55ddeda7f7fce43173d06bd9b69b251080e0 Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Fri, 26 Jun 2015 10:05:37 +0200 Subject: [PATCH 9/9] 3.7.1 release and documentation updates --- HockeySDK-Source.podspec | 9 +++--- HockeySDK.podspec | 4 +-- README.md | 18 ++++-------- Support/buildnumber.xcconfig | 4 +-- docs/Changelog-template.md | 5 ++++ docs/Guide-Installation-Setup-template.md | 36 ++++++++++++++--------- 6 files changed, 41 insertions(+), 35 deletions(-) diff --git a/HockeySDK-Source.podspec b/HockeySDK-Source.podspec index 47fc69cf2b..e01eb5abcf 100644 --- a/HockeySDK-Source.podspec +++ b/HockeySDK-Source.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| - s.name = 'HockeySDK' - s.version = '3.7.0' + s.name = 'HockeySDK-Source' + s.version = '3.7.1' s.summary = 'Collect live crash reports, get feedback from your users, distribute your betas, and analyze your test coverage with HockeyApp.' s.description = <<-DESC @@ -12,7 +12,7 @@ Pod::Spec.new do |s| DESC s.homepage = 'http://hockeyapp.net/' - s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.0/' + s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.1/' s.license = 'MIT' s.author = { 'Andreas Linde' => 'mail@andreaslinde.de', 'Thomas Dohmke' => "thomas@dohmke.de" } @@ -23,8 +23,9 @@ Pod::Spec.new do |s| s.requires_arc = true s.frameworks = 'AssetsLibrary', 'CoreText', 'CoreGraphics', 'MobileCoreServices', 'QuartzCore', 'QuickLook', 'Security', 'SystemConfiguration', 'UIKit' + s.libraries = 'c++' s.ios.vendored_frameworks = 'Vendor/CrashReporter.framework' - s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\"" BITHOCKEY_C_VERSION="\\"#{s.version}\\"" BITHOCKEY_BUILD="@\\"40\\"" BITHOCKEY_C_BUILD="\\"40\\""} } + s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\"" BITHOCKEY_C_VERSION="\\"#{s.version}\\"" BITHOCKEY_BUILD="@\\"42\\"" BITHOCKEY_C_BUILD="\\"42\\""} } s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.png', 'Resources/*.lproj'] } s.preserve_paths = 'Resources', 'Support' s.private_header_files = 'Classes/*Private.h' diff --git a/HockeySDK.podspec b/HockeySDK.podspec index f0151051d1..fd1197c512 100644 --- a/HockeySDK.podspec +++ b/HockeySDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'HockeySDK' - s.version = '3.7.0' + s.version = '3.7.1' s.summary = 'Collect live crash reports, get feedback from your users, distribute your betas, and analyze your test coverage with HockeyApp.' s.description = <<-DESC @@ -12,7 +12,7 @@ Pod::Spec.new do |s| DESC s.homepage = 'http://hockeyapp.net/' - s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.0/' + s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.1/' s.license = { :type => 'MIT', :file => 'HockeySDK-iOS/LICENSE' } s.author = { 'Andreas Linde' => 'mail@andreaslinde.de', 'Thomas Dohmke' => "thomas@dohmke.de" } diff --git a/README.md b/README.md index 82d65c92bd..e5896c9c33 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -[![Build Status](https://travis-ci.org/bitstadium/HockeySDK-iOS.svg?branch=develop)](https://travis-ci.org/bitstadium/HockeySDK-iOS) +[![Build Status](https://travis-ci.org/bitstadium/HockeySDK-iOS.svg?branch=master)](https://travis-ci.org/bitstadium/HockeySDK-iOS) -## Version 3.7.0 +## Version 3.7.1 -- [Changelog](http://www.hockeyapp.net/help/sdk/ios/3.7.0/docs/docs/Changelog.html) +- [Changelog](http://www.hockeyapp.net/help/sdk/ios/3.7.1/docs/docs/Changelog.html) ## Introduction @@ -179,20 +179,12 @@ You can alternative use a Crash Reporting build only by using the following line #### 3.2.2 Source Integration Options -Alternatively you can integrate the SDK by source if you want to do any modifications or want a different feature set. The following entry will integrate all features: +Alternatively you can integrate the SDK by source if you want to do any modifications or want a different feature set. The following entry will integrate the SDK: ```ruby pod "HockeySDK-Source" ``` -You can use `subspecs` to specify your own feature set using the following options: `CrashReporter`, `UserFeedback`, `StoreUpdates`, `Authenticator`, `AdHocUpdates`. An example could look like: - - ```ruby - pod "HockeySDK-Source", :subspecs => ['CrashReporter', 'UserFeedback'] - ``` - -*Note:* The source will not build without warnings in Xcode 7! - ### 3.3 iOS 8 Extensions @@ -446,7 +438,7 @@ To check if data is send properly to HockeyApp and also see some additional SDK ## 4. Documentation -Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/3.7.0/index.html). +Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/3.7.1/index.html). diff --git a/Support/buildnumber.xcconfig b/Support/buildnumber.xcconfig index dd9779f9ec..dd9e968ecb 100644 --- a/Support/buildnumber.xcconfig +++ b/Support/buildnumber.xcconfig @@ -1,7 +1,7 @@ #include "HockeySDK.xcconfig" -BUILD_NUMBER = 41 -VERSION_STRING = 3.7.0 +BUILD_NUMBER = 42 +VERSION_STRING = 3.7.1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) BITHOCKEY_VERSION="@\""$(VERSION_STRING)"\"" BITHOCKEY_BUILD="@\""$(BUILD_NUMBER)"\"" BITHOCKEY_C_VERSION="\""$(VERSION_STRING)"\"" BITHOCKEY_C_BUILD="\""$(BUILD_NUMBER)"\"" BIT_ARM_ARCHS = armv7 armv7s arm64 BIT_SIM_ARCHS = x86_64 i386 diff --git a/docs/Changelog-template.md b/docs/Changelog-template.md index b77b89ad83..d8dd497bcf 100644 --- a/docs/Changelog-template.md +++ b/docs/Changelog-template.md @@ -1,3 +1,8 @@ +## Version 3.7.1 + +- [BUGFIX] `CocoaPods`: Fixes the default podspec with binary distribution +- [BUGFIX] `CocoaPods`: Changes `HockeySDK-Source` to use non configurable approach, since we couldn't make it work reliably in all scenarios + ## Version 3.7.0 - [NEW] Simplified installation process. If support for modules is enabled in the target project (default for most projects), it’s no longer necessary to add the frameworks manually diff --git a/docs/Guide-Installation-Setup-template.md b/docs/Guide-Installation-Setup-template.md index dde3d398a0..d902db5d95 100644 --- a/docs/Guide-Installation-Setup-template.md +++ b/docs/Guide-Installation-Setup-template.md @@ -1,6 +1,6 @@ -## Version 3.7.0 +## Version 3.7.1 -- [Changelog](http://www.hockeyapp.net/help/sdk/ios/3.7.0/docs/docs/Changelog.html) +- [Changelog](http://www.hockeyapp.net/help/sdk/ios/3.7.1/docs/docs/Changelog.html) ## Introduction @@ -16,7 +16,8 @@ This document contains the following sections: 5. [Crash Reporting](#crashreporting) 6. [Feedback](#feedback) 7. [Store Updates](#storeupdates) - 3. [In-App-Updates (Beta & Enterprise only)](#betaupdates) + 8. [In-App-Updates (Beta & Enterprise only)](#betaupdates) + 9. [Debug information](#debug) 4. [Documentation](#documentation) 5. [Contributing](#contributing) 6. [Contact](#contact) @@ -88,7 +89,7 @@ From our experience, 3rd-party libraries usually reside inside a subdirectory (l 3. Search for the method ```swift - application(application: UIApplication, didFinishLaunchingWithOptions launchOptions:[NSObject: AnyObject]?) -> Bool` + application(application: UIApplication, didFinishLaunchingWithOptions launchOptions:[NSObject: AnyObject]?) -> Bool ``` 4. Add the following lines to setup and start the Application Insights SDK: @@ -162,20 +163,12 @@ You can alternative use a Crash Reporting build only by using the following line #### 3.2.2 Source Integration Options -Alternatively you can integrate the SDK by source if you want to do any modifications or want a different feature set. The following entry will integrate all features: +Alternatively you can integrate the SDK by source if you want to do any modifications or want a different feature set. The following entry will integrate the SDK: ```ruby pod "HockeySDK-Source" ``` -You can use `subspecs` to specify your own feature set using the following options: `CrashReporter`, `UserFeedback`, `StoreUpdates`, `Authenticator`, `AdHocUpdates`. An example could look like: - - ```ruby - pod "HockeySDK-Source", :subspecs => ['CrashReporter', 'UserFeedback'] - ``` - -*Note:* The source will not build without warnings in Xcode 7! - ### 3.3 iOS 8 Extensions @@ -335,6 +328,8 @@ The `BITHockeyManagerDelegate` protocol provides methods to add additional data The `BITCrashManagerDelegate` protocol (which is automatically included in `BITHockeyManagerDelegate`) provides methods to add more crash specific data to a crash report: 1. Text attachments: `-(NSString *)applicationLogForCrashManager:(BITCrashManager *)crashManager` + + Check the following tutorial for an example on how to add CocoaLumberjack log data: [How to Add Application Specific Log Data on iOS or OS X](http://support.hockeyapp.net/kb/client-integration-ios-mac-os-x/how-to-add-application-specific-log-data-on-ios-or-os-x) 2. Binary attachments: `-(BITHockeyAttachment *)attachmentForCrashManager:(BITCrashManager *)crashManager` Make sure to implement the protocol @@ -411,10 +406,23 @@ This feature can be disabled manually as follows: If you want to see beta analytics, use the beta distribution feature with in-app updates, restrict versions to specific users, or want to know who is actually testing your app, you need to follow the instructions on our guide [Authenticating Users on iOS](http://support.hockeyapp.net/kb/client-integration-ios-mac-os-x/authenticating-users-on-ios) + +### 3.9 Debug information + +To check if data is send properly to HockeyApp and also see some additional SDK debug log data in the console, add the following line before `startManager`: + + ```objectivec + [[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"APP_IDENTIFIER"]; + + [[BITHockeyManager sharedHockeyManager] setDebugLogEnabled:YES]; + + [[BITHockeyManager sharedHockeyManager] startManager]; + ``` + ## 4. Documentation -Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/3.7.0/index.html). +Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/3.7.1/index.html).