diff --git a/README.md b/README.md index 0c622804ac..9de970039c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,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) @@ -104,7 +105,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: @@ -351,6 +352,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 @@ -427,6 +430,19 @@ 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 diff --git a/docs/XcodeCreateGroups_normal.png b/docs/XcodeCreateGroups_normal.png deleted file mode 100644 index 40e69d0c66..0000000000 Binary files a/docs/XcodeCreateGroups_normal.png and /dev/null differ diff --git a/docs/XcodeFrameworks1_normal.png b/docs/XcodeFrameworks1_normal.png deleted file mode 100644 index 0283e78be5..0000000000 Binary files a/docs/XcodeFrameworks1_normal.png and /dev/null differ diff --git a/docs/XcodeFrameworks2_normal.png b/docs/XcodeFrameworks2_normal.png deleted file mode 100644 index 55656bebbb..0000000000 Binary files a/docs/XcodeFrameworks2_normal.png and /dev/null differ diff --git a/docs/XcodeFrameworks4_normal.png b/docs/XcodeFrameworks4_normal.png deleted file mode 100644 index 85294afae3..0000000000 Binary files a/docs/XcodeFrameworks4_normal.png and /dev/null differ diff --git a/docs/XcodeLinkBinariesLib_normal.png b/docs/XcodeLinkBinariesLib_normal.png deleted file mode 100644 index e1c243e45b..0000000000 Binary files a/docs/XcodeLinkBinariesLib_normal.png and /dev/null differ diff --git a/docs/index.md b/docs/index.md index d32d91bcd9..e809e6da1d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -15,7 +15,7 @@ The main SDK class is `BITHockeyManager`. It initializes all modules and provide ## Prerequisites 1. Before you integrate HockeySDK into your own app, you should add the app to HockeyApp if you haven't already. Read [this how-to](http://support.hockeyapp.net/kb/how-tos/how-to-create-a-new-app) on how to do it. -2. We also assume that you already have a project in Xcode and that this project is opened in Xcode 5. +2. We also assume that you already have a project in Xcode and that this project is opened in Xcode 6. 3. The SDK supports iOS 6.0 or newer. ## Release Notes @@ -25,16 +25,15 @@ The main SDK class is `BITHockeyManager`. It initializes all modules and provide ## Guides - [Installation & Setup](Guide-Installation-Setup) -- [Installation & Setup Advanced](Guide-Installation-Setup-Advanced) (Using Git submodule and Xcode sub-project) -- [Identify and authenticate users of Ad-Hoc or Enterprise builds](HowTo-Authenticating-Users-on-iOS) - [Migration from previous SDK Versions](Guide-Migration-Kits) +- [Mac Desktop Uploader](http://support.hockeyapp.net/kb/services-webhooks-desktop-apps/how-to-upload-to-hockeyapp-on-a-mac) ## HowTos - [How to do app versioning](HowTo-App-Versioning) - [How to upload symbols for crash reporting](HowTo-Upload-Symbols) - [How to handle crashes on startup](http://support.hockeyapp.net/kb/client-integration-ios-mac-os-x/how-to-handle-crashes-during-startup-on-ios) -- [How to add application specific log data](http://support.hockeyapp.net/kb/client-integration-ios-mac-os-x/how-to-add-application-specific-log-data-on-ios) +- [How to add application specific log data](http://support.hockeyapp.net/kb/client-integration-ios-mac-os-x/how-to-add-application-specific-log-data-on-ios-or-osx) - [How to ask the user for more details about a crash](HowTo-Set-Custom-AlertViewHandler) ## Troubleshooting