Replace the following imports in your AppDelegate class.įind the didFinishLaunchingWithOptions method and replace HockeyApp code occurrences.īefore: sharedHockeyManager] startManager] īITHockeyManager.shared().configure(withIdentifier: "APP_IDENTIFIER")Īfter:, ]] ĪppCenter.start(withAppSecret: "", services: ) To convert the identifier you must add four hyphens to get an 8-4-4-4-12 representation.Ġ0112233-4455-6677-8899-aabbccddeeff 2.2 Replace SDK initialization in the application code Your HockeyApp App ID can be used by App Center but you need to convert it to a different format. The App Center SDK uses application identifiers in the globally unique identifier (GUID) format. Update the SDK setup code 2.1 Convert the application identifier See the equivalences in the next table: HockeyApp classĢ. The App Center SDK is designed with a modular approach so you can use any or all of the services. Read detailed instructions how to how to integrate the App Center SDK in the App Center SDK documentation. The App Center SDK supports integration via Cocoapods, Carthage, Swift Package Manager and by using the Frameworks in your Xcode project. Remove HockeyApp from the input.xcfilelist and output.xcfilelist. Open the Build Phases tab and locate the Run Script section. Delete Cartfile.Resolved from the file system.ĭelete amework and from the XCode project and click the Move to Trash button. Remove HockeySDK references from the Cartfile. If you've added the SDK using CocoaPods, remove the pod "HockeySDK-tvOS" line from the Podfile, then run pod install. Open your project settings and under Build Phases tab in the Link Binary with Libraries section, remove the dependency entries related to HockeySDK.ĭelete amework from the file system. Open your project settings and under Build Settings tab in the Header Search Paths / Framework Search Paths sections, remove the locations for header files related to HockeySDK. ![]() Click the Remove reference button, don't click Move to Trash button. Remove amework reference from the XCode project. If you've added the SDK manually, follow these steps: Update the libraries 1.1 Remove old HockeySDK Manual Follow this documentation if you're looking to update your application to use App Center SDK instead of HockeySDK.
0 Comments
Leave a Reply. |