mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-28 06:00:43 +00:00
Update migration documentation
This commit is contained in:
parent
e5f58960ac
commit
c375241ac6
@ -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.....'
|
||||
|
Loading…
x
Reference in New Issue
Block a user