Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 7ef9478

Browse files
author
Andreas Linde
committed
Merge branch 'release/3.7.1'
2 parents 6cd3cbc + 762a55d commit 7ef9478

File tree

6 files changed

+54
-95
lines changed

6 files changed

+54
-95
lines changed

HockeySDK-Source.podspec

Lines changed: 11 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'HockeySDK-Source'
3-
s.version = '3.7.0'
3+
s.version = '3.7.1'
44

55
s.summary = 'Collect live crash reports, get feedback from your users, distribute your betas, and analyze your test coverage with HockeyApp.'
66
s.description = <<-DESC
@@ -12,69 +12,22 @@ Pod::Spec.new do |s|
1212
DESC
1313

1414
s.homepage = 'http://hockeyapp.net/'
15-
s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.0/'
15+
s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.1/'
1616

17-
s.license = { :type => 'MIT', :file => 'LICENSE' }
17+
s.license = 'MIT'
1818
s.author = { 'Andreas Linde' => '[email protected]', 'Thomas Dohmke' => "[email protected]" }
1919
s.source = { :git => 'https://github.com/bitstadium/HockeySDK-iOS.git', :tag => s.version.to_s }
2020

2121
s.platform = :ios, '6.0'
22+
s.source_files = 'Classes'
2223
s.requires_arc = true
23-
24-
s.prepare_command = 'cp -f Classes/HockeySDKFeatureConfig_CP.h Classes/HockeySDKFeatureConfig.h' #Changes default of all features enabled to disabled
25-
s.frameworks = 'Security', 'UIKit'
26-
s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.lproj'] }
27-
s.preserve_path = 'README.md'
28-
s.private_header_files = 'Classes/*Private.h'
29-
s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\"" BITHOCKEY_C_VERSION="\\"#{s.version}\\"" BITHOCKEY_BUILD="@\\"40\\"" BITHOCKEY_C_BUILD="\\"40\\""} }
30-
31-
s.default_subspec = 'AllFeatures'
32-
33-
s.subspec 'SharedRequirements' do |ss|
34-
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}'
35-
end
36-
37-
s.subspec 'CrashReporter' do |ss|
38-
ss.dependency 'HockeySDK-Source/SharedRequirements'
39-
ss.vendored_frameworks = 'Vendor/CrashReporter.framework'
40-
ss.frameworks = 'SystemConfiguration'
41-
ss.libraries = 'c++'
42-
ss.source_files = 'Classes/BITCrash*.{h,m,mm}', 'Classes/BITHockeyAttachment.{h,m}'
43-
ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_CRASH_REPORTER=1} }
44-
end
45-
46-
s.subspec 'UserFeedback' do |ss|
47-
ss.dependency 'HockeySDK-Source/SharedRequirements'
48-
ss.frameworks = 'AssetsLibrary', 'MobileCoreServices', 'QuickLook', 'CoreText'
49-
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}'
50-
ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_FEEDBACK=1} }
51-
end
5224

53-
s.subspec 'StoreUpdates' do |ss|
54-
ss.dependency 'HockeySDK-Source/SharedRequirements'
55-
ss.source_files = 'Classes/BITStoreUpdate*.{h,m}'
56-
ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_STORE_UPDATES=1} }
57-
end
58-
59-
s.subspec 'Authenticator' do |ss|
60-
ss.dependency 'HockeySDK-Source/SharedRequirements'
61-
ss.source_files = 'Classes/BITAuthentica*.{h,m}', 'Classes/BITHockeyBaseViewController.{h,m}'
62-
ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_AUTHENTICATOR=1} }
63-
end
64-
65-
s.subspec 'AdHocUpdates' do |ss|
66-
ss.dependency 'HockeySDK-Source/SharedRequirements'
67-
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}'
68-
ss.frameworks = 'CoreGraphics', 'QuartzCore', 'Security', 'UIKit'
69-
ss.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) HOCKEYSDK_FEATURE_UPDATES=1} }
70-
end
71-
72-
s.subspec 'AllFeatures' do |ss|
73-
ss.dependency 'HockeySDK-Source/CrashReporter'
74-
ss.dependency 'HockeySDK-Source/UserFeedback'
75-
ss.dependency 'HockeySDK-Source/StoreUpdates'
76-
ss.dependency 'HockeySDK-Source/Authenticator'
77-
ss.dependency 'HockeySDK-Source/AdHocUpdates'
78-
end
25+
s.frameworks = 'AssetsLibrary', 'CoreText', 'CoreGraphics', 'MobileCoreServices', 'QuartzCore', 'QuickLook', 'Security', 'SystemConfiguration', 'UIKit'
26+
s.libraries = 'c++'
27+
s.ios.vendored_frameworks = 'Vendor/CrashReporter.framework'
28+
s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\"" BITHOCKEY_C_VERSION="\\"#{s.version}\\"" BITHOCKEY_BUILD="@\\"42\\"" BITHOCKEY_C_BUILD="\\"42\\""} }
29+
s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.png', 'Resources/*.lproj'] }
30+
s.preserve_paths = 'Resources', 'Support'
31+
s.private_header_files = 'Classes/*Private.h'
7932

8033
end

HockeySDK.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'HockeySDK'
3-
s.version = '3.7.0'
3+
s.version = '3.7.1'
44

55
s.summary = 'Collect live crash reports, get feedback from your users, distribute your betas, and analyze your test coverage with HockeyApp.'
66
s.description = <<-DESC
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
DESC
1313

1414
s.homepage = 'http://hockeyapp.net/'
15-
s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.0/'
15+
s.documentation_url = 'http://hockeyapp.net/help/sdk/ios/3.7.1/'
1616

1717
s.license = { :type => 'MIT', :file => 'HockeySDK-iOS/LICENSE' }
1818
s.author = { 'Andreas Linde' => '[email protected]', 'Thomas Dohmke' => "[email protected]" }
@@ -30,12 +30,12 @@ Pod::Spec.new do |s|
3030
s.default_subspec = 'AllFeaturesLib'
3131

3232
s.subspec 'CrashOnlyLib' do |ss|
33-
ss.resource_bundle = { 'HockeySDKResources' => ['Resources/*.lproj'] }
33+
ss.resource_bundle = { 'HockeySDKResources' => ['HockeySDK-iOS/HockeySDK.embeddedframework/HockeySDK.framework/Versions/A/Resources/HockeySDKResources.bundle/*.lproj'] }
3434
ss.vendored_frameworks = 'HockeySDK-iOS/HockeySDKCrashOnly/HockeySDK.framework'
3535
end
3636

3737
s.subspec 'AllFeaturesLib' do |ss|
38-
ss.resource_bundle = { 'HockeySDKResources' => ['Resources/*.png', 'Resources/*.lproj'] }
38+
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'] }
3939

4040
ss.frameworks = 'CoreGraphics', 'QuartzCore', 'AssetsLibrary', 'MobileCoreServices', 'QuickLook', 'CoreText'
4141
ss.vendored_frameworks = 'HockeySDK-iOS/HockeySDK.embeddedframework/HockeySDK.framework'

README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[![Build Status](https://travis-ci.org/bitstadium/HockeySDK-iOS.svg?branch=master)](https://travis-ci.org/bitstadium/HockeySDK-iOS)
22

3-
## Version 3.7.0
3+
## Version 3.7.1
44

5-
- [Changelog](http://www.hockeyapp.net/help/sdk/ios/3.7.0/docs/docs/Changelog.html)
5+
- [Changelog](http://www.hockeyapp.net/help/sdk/ios/3.7.1/docs/docs/Changelog.html)
66

77
## Introduction
88

@@ -80,7 +80,7 @@ From our experience, 3rd-party libraries usually reside inside a subdirectory (l
8080
2. Add the following line at the top of the file below your own `import` statements:
8181

8282
```objectivec
83-
@import HockeySDK
83+
@import HockeySDK;
8484
```
8585

8686
3. Search for the method `application:didFinishLaunchingWithOptions:`
@@ -179,20 +179,12 @@ You can alternative use a Crash Reporting build only by using the following line
179179

180180
#### 3.2.2 Source Integration Options
181181

182-
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:
182+
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:
183183

184184
```ruby
185185
pod "HockeySDK-Source"
186186
```
187187

188-
You can use `subspecs` to specify your own feature set using the following options: `CrashReporter`, `UserFeedback`, `StoreUpdates`, `Authenticator`, `AdHocUpdates`. An example could look like:
189-
190-
```ruby
191-
pod "HockeySDK-Source", :subspecs => ['CrashReporter', 'UserFeedback']
192-
```
193-
194-
*Note:* The source will not build without warnings in Xcode 7!
195-
196188

197189
<a id="extensions"></a>
198190
### 3.3 iOS 8 Extensions
@@ -446,7 +438,7 @@ To check if data is send properly to HockeyApp and also see some additional SDK
446438
<a id="documentation"></a>
447439
## 4. Documentation
448440
449-
Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/3.7.0/index.html).
441+
Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/3.7.1/index.html).
450442
451443
452444
<a id="contributing"></a>

Support/buildnumber.xcconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "HockeySDK.xcconfig"
22

3-
BUILD_NUMBER = 40
4-
VERSION_STRING = 3.7.0
3+
BUILD_NUMBER = 42
4+
VERSION_STRING = 3.7.1
55
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) BITHOCKEY_VERSION="@\""$(VERSION_STRING)"\"" BITHOCKEY_BUILD="@\""$(BUILD_NUMBER)"\"" BITHOCKEY_C_VERSION="\""$(VERSION_STRING)"\"" BITHOCKEY_C_BUILD="\""$(BUILD_NUMBER)"\""
66
BIT_ARM_ARCHS = armv7 armv7s arm64
77
BIT_SIM_ARCHS = x86_64 i386

docs/Changelog-template.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1+
## Version 3.7.1
2+
3+
- [BUGFIX] `CocoaPods`: Fixes the default podspec with binary distribution
4+
- [BUGFIX] `CocoaPods`: Changes `HockeySDK-Source` to use non configurable approach, since we couldn't make it work reliably in all scenarios
5+
16
## Version 3.7.0
27

38
- [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
49
- [NEW] `CocoaPods`: Default pod uses binary distribution and offers crash only build as a subspec
5-
- [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!)
10+
- [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!
611
- [NEW] `BITCrashManager`: Added support for unhandled C++ exceptions (requires to link `libc++`)
12+
- [NEW] `BITCrashManager`: Sending crash reports via `NSURLSession` whenever possible
713
- [NEW] `BITCrashManager`: Added process ID to `BITCrashDetails`
814
- [NEW] `BITCrashManager`: Added `CFBundleShortVersionString` value to crash reports
915
- [NEW] `BITFeedbackManager`: "Add Image" button in feedback compose view can now be hidden using `feedbackComposeHideImageAttachmentButton` property
10-
- [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.
11-
- [NEW] Added `disableInstallTracking` property disable installation tracking (AppStore only).
16+
- [NEW] `BITFeedbackManagerDelegate`: Added `allowAutomaticFetchingForNewFeedbackForManager:` to define if the SDK should fetch new messages on app startup and when the app is coming into foreground.
17+
- [NEW] Added disableInstallTracking property to disable installation tracking (AppStore only).
1218
- [UPDATE] Restructured installation documentation
1319
- [BUGFIX] `BITCrashManager`: Fixed offline issue showing crash alert over and over again with unsent crash reports
1420
- [BUGFIX] `BITFeedbackManager`: Improved screenshot handling on slow devices

docs/Guide-Installation-Setup-template.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Version 3.7.0
1+
## Version 3.7.1
22

3-
- [Changelog](http://www.hockeyapp.net/help/sdk/ios/3.7.0/docs/docs/Changelog.html)
3+
- [Changelog](http://www.hockeyapp.net/help/sdk/ios/3.7.1/docs/docs/Changelog.html)
44

55
## Introduction
66

@@ -16,7 +16,8 @@ This document contains the following sections:
1616
5. [Crash Reporting](#crashreporting)
1717
6. [Feedback](#feedback)
1818
7. [Store Updates](#storeupdates)
19-
3. [In-App-Updates (Beta & Enterprise only)](#betaupdates)
19+
8. [In-App-Updates (Beta & Enterprise only)](#betaupdates)
20+
9. [Debug information](#debug)
2021
4. [Documentation](#documentation)
2122
5. [Contributing](#contributing)
2223
6. [Contact](#contact)
@@ -63,7 +64,7 @@ From our experience, 3rd-party libraries usually reside inside a subdirectory (l
6364
2. Add the following line at the top of the file below your own `import` statements:
6465

6566
```objectivec
66-
@import HockeySDK
67+
@import HockeySDK;
6768
```
6869

6970
3. Search for the method `application:didFinishLaunchingWithOptions:`
@@ -88,7 +89,7 @@ From our experience, 3rd-party libraries usually reside inside a subdirectory (l
8889
3. Search for the method
8990

9091
```swift
91-
application(application: UIApplication, didFinishLaunchingWithOptions launchOptions:[NSObject: AnyObject]?) -> Bool`
92+
application(application: UIApplication, didFinishLaunchingWithOptions launchOptions:[NSObject: AnyObject]?) -> Bool
9293
```
9394

9495
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
162163

163164
#### 3.2.2 Source Integration Options
164165

165-
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:
166+
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:
166167

167168
```ruby
168169
pod "HockeySDK-Source"
169170
```
170171

171-
You can use `subspecs` to specify your own feature set using the following options: `CrashReporter`, `UserFeedback`, `StoreUpdates`, `Authenticator`, `AdHocUpdates`. An example could look like:
172-
173-
```ruby
174-
pod "HockeySDK-Source", :subspecs => ['CrashReporter', 'UserFeedback']
175-
```
176-
177-
*Note:* The source will not build without warnings in Xcode 7!
178-
179172

180173
<a id="extensions"></a>
181174
### 3.3 iOS 8 Extensions
@@ -335,6 +328,8 @@ The `BITHockeyManagerDelegate` protocol provides methods to add additional data
335328
The `BITCrashManagerDelegate` protocol (which is automatically included in `BITHockeyManagerDelegate`) provides methods to add more crash specific data to a crash report:
336329

337330
1. Text attachments: `-(NSString *)applicationLogForCrashManager:(BITCrashManager *)crashManager`
331+
332+
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)
338333
2. Binary attachments: `-(BITHockeyAttachment *)attachmentForCrashManager:(BITCrashManager *)crashManager`
339334

340335
Make sure to implement the protocol
@@ -411,10 +406,23 @@ This feature can be disabled manually as follows:
411406
412407
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)
413408
409+
<a id="debug"></a>
410+
### 3.9 Debug information
411+
412+
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`:
413+
414+
```objectivec
415+
[[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"APP_IDENTIFIER"];
416+
417+
[[BITHockeyManager sharedHockeyManager] setDebugLogEnabled:YES];
418+
419+
[[BITHockeyManager sharedHockeyManager] startManager];
420+
```
421+
414422
<a id="documentation"></a>
415423
## 4. Documentation
416424
417-
Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/3.7.0/index.html).
425+
Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/3.7.1/index.html).
418426
419427
420428
<a id="contributing"></a>

0 commit comments

Comments
 (0)