我正在使用Swift 3和XCode 8.3.3。
我的应用程序在开始之前崩溃,它打印:
Usage: leveldbutil command...
dump files... -- dump contents of specified files
然后它崩溃我找不到任何解决这个问题的方法。
检查你的AppDelegate,并找到@UIApplicationMain这句话,如果这不可用,然后放在这个类的上方,就像这样
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {