From c375241ac615d4e35744a3c20f9ee115d87c7170 Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Thu, 7 Feb 2013 14:59:27 +0100 Subject: [PATCH] Update migration documentation --- docs/Guide-Migration-Kits-template.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/Guide-Migration-Kits-template.md b/docs/Guide-Migration-Kits-template.md index c9f4546912..60a242ab53 100644 --- a/docs/Guide-Migration-Kits-template.md +++ b/docs/Guide-Migration-Kits-template.md @@ -27,10 +27,14 @@ In Xcode open the `Project Navigator` (⌘+1). In the search field at the bottom All of them should be in one folder/group in Xcode. Remove that folder. -### HockeySDK-iOS +### HockeySDK-iOS before v2.5 In Xcode open the `Project Navigator` (⌘+1). In the search field at the bottom enter "CNSHockeyManager". If search returns any results you have the first release of our unified SDK added to your project. Even if you added it as a git submodule we would suggest you remove it first. +### HockeySDK-iOS v2.5.x + +In Xcode open the `Project Navigator` (⌘+1). In the search field at the bottom enter `HockeySDK.framework`. If search returns any results you have the first release of our unified SDK added to your project. Even if you added it as a git submodule we would suggest you remove it first. Repeat the same for `CrashReporter.framework` and `HockeySDKResources.bundle`. + ### Final Steps Search again in the `Project Navigator` (⌘+1) for "CrashReporter.framework". You shouldn't get any results now. If not, remove the CrashReporter.framework from your project. @@ -78,7 +82,7 @@ Now follow the steps described in our [setup guide](http://support.hockeyapp.net After you have finished the setup guide make sure everything works as expected and then delete the out commented lines from above. -### HockeySDK-iOS +### HockeySDK-iOS before 2.5 In your application delegate (for example `AppDelegate.m`) search for the following lines: @@ -100,6 +104,16 @@ Now follow the steps described in our [setup guide](http://support.hockeyapp.net After you have finished the setup guide make sure everything works as expected and then delete the out commented lines from above. +### HockeySDK-iOS 2.5.x + +THere are no changes to the SDK setup code required. Some delegates methods are deprecated and should be replaced as soon as feasible. + +The following delegates in `BITCrashManagerDelegate` moved to `BITHockeyManagerDelegate`: + +- `- (NSString *)userNameForCrashManager:(BITCrashManager *)crashManager;` is now `- (NSString *)userNameForHockeyManager:(BITHockeyManager *)hockeyManager componentManager:(BITHockeyBaseManager *)componentManager;` +- `- (NSString *)userEmailForCrashManager:(BITCrashManager *)crashManager;` is now `- (NSString *)userEmailForHockeyManager:(BITHockeyManager *)hockeyManager componentManager:(BITHockeyBaseManager *)componentManager;` + + ## Troubleshooting ### ld: warning: directory not found for option '....QuincyKit.....'