简体   繁体   中英

Ios app and TestFlight integration

我无法将Test Flight sdk集成到我的ios App中以获取崩溃报告。某些机构可以帮助我通过非常简单的步骤将TestFlight sdk集成到我的App中,但是我遵循了TestFlight sdk文档但无法集成。

The Simple Steps are:

1] Copy The libTestFlight.a and It's header file in a folder and add that folder to your project

在此输入图像描述

2] Make Sure your libTestFlight.a appears in linked binaries

在此输入图像描述

3] Your Library Search path will have an entry such as

在此输入图像描述

Finally Make a call to --

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [TestFlight takeOff:TESTFLIGHT_TEAM_TOKEN];
     //---- Other Stuff goes here 
}

Hope it helps !! You can find more resources on slideshare.

EDIT: How to reach to linked Binaries Step - (Currently using XCode 4.3.3)

ScreenGrab - 在此输入图像描述

Quick Answer:

Step 1 - Download SDK and add it to your app bundle

Step 2 - Include libTestFlight.a in your linked frameworks and libraries (if its not there automatically)

Step 3 - #import "TestFlight.h" on your files that require test flight activity

Step 4 - Add the call to launch test flight in your application

didFinishLaunchingWithOptions
-(BOOL)application:(UIApplication *)application 
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

//The Line you need
  [TestFlight takeOff:@"YOUR_TEST_FLIGHT_PASSCODE_HERE"]; 
}

Enjoy!

请注意,Apple已将TestFlight移至iTunes Connect ,并警告人们从其产品中删除该框架,因此您不再需要这样做。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM