我在通过Fabric使用TwitterKit时,看到了一个相当神秘的崩溃。
我的应用程序崩溃在这一行:
Fabric.with([Crashlytics.self, Twitter.self])说:
[Fabric] Please upgrade to the latest version of "Twitter"
[Crashlytics] Version 3.8.4 (121)
Calling Twitter.start is not supported.我按照医生的指示集成了TwitterKit,在我的Info.plist中添加了密钥和url方案,但我不明白为什么Twitter会突然崩溃。
发布于 2017-05-30 09:22:21
新工作版本与TwitterKit 3+
Fabric.with([Crashlytics.self])
Twitter.sharedInstance().start(withConsumerKey: "key", consumerSecret: "secret")新Pod文件
pod 'Fabric'
pod 'Crashlytics'
pod 'TwitterKit'旧版本:
Fabric.with([Crashlytics.self, Twitter.self])https://stackoverflow.com/questions/44237682
复制相似问题