12
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CrashlyticsとTestFlightを共存させる

Last updated at Posted at 2012-11-21

Crashlytics(https://www.crashlytics.com) とTestFlight(https://testflightapp.com/) を同時に使っている際、Crashlyticsがクラッシュレポートを送信しない不具合に遭遇しました。

再現例

AppDelegate.m
[Crashlytics startWithAPIKey:CrashlyticsAPIKey]; 
[TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]]; 
[TestFlight takeOff:TestFlightTeamToken]; 

そこで、Crashlyticsの中の人にこの不具合について伺ったところ、解決策を教えていただきました。

解決策

AppDelegate.m
[TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]]; 
[TestFlight takeOff:TestFlightTeamToken]; 
[Crashlytics startWithAPIKey:CrashlyticsAPIKey]; 

実行する順番を変更したら解決しました。

12
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?