我一直在研究一个项目,使用Parse服务器开发我的应用程序。最近xcode更新了,我不再能够连接到Parse。启动时,出现以下错误:
libc ++ abi.dylib:以类型为NSException的未捕获异常终止
在最新的xcode更新中是否需要更改某些内容才能使解析再次起作用?
这是我的应用程序委托:
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
//--------------------------------------
// MARK: - UIApplicationDelegate
//--------------------------------------
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Enable storing and querying data from Local Datastore.
// Remove this line if you don't want to use Local Datastore features or want to use cachePolicy.
Parse.enableLocalDatastore()
let parseConfiguration = ParseClientConfiguration(block: { (ParseMutableClientConfiguration) -> Void in
ParseMutableClientConfiguration.applicationId = "..."
ParseMutableClientConfiguration.clientKey = "..."
ParseMutableClientConfiguration.server = "http://....amazonaws.com/parse"
})
Parse.initialize(with: parseConfiguration)
我缺少什么吗?请帮助谢谢