这里写自定义目录标题
ESTabBarController_swift
bash
Exception NSException * "调用了 pushViewController 但实际上没 push 成功,viewController:<HuangShan.ViewControllers: 0x106832a00>; superclass: ESTabBarController_swift.ESTabBarController; title: (null); view: <UILayoutContainerView: 0x104e20670; frame = (0 0; 393 852); autoresize = W+H; layer = <CALayer: 0x600000266500>>; viewControllers(3): ( [0]<UINavigationController: 0x106825c00>,[1]<UINavigationController: 0x10582fe00>,[2]<UINavigationController: 0x105830e00> ); selectedViewController(0): <UINavigationController: 0x106825c00>" 0x0000600000c912c0
不知道怎么回事 引用了QMUIKit库就这样了
解决方法
swift
window = UIWindow(frame: UIScreen.main.bounds)
let firstVC = ViewControllers()
let navController = UINavigationController(rootViewController: firstVC)
window?.rootViewController = navController
window?.makeKeyAndVisible()
改为
swift
window = UIWindow(frame: UIScreen.main.bounds)
let navController = ViewControllers()
window?.rootViewController = navController
window?.makeKeyAndVisible()
QMUIKit
bash
Sandbox: rsync.samba(5937) deny(1) file-write-create /Users/ruyuanniu/Library/Developer/Xcode/DerivedData/HuangShan-gzfknlmvqpttdvdojgmibxjwzysp/Build/Products/Debug-iphonesimulator/HuangShan.app/Frameworks/QMUIKit.framework/.Info.plist.ogjkPx
解决方法
bash
在项目的构建设置 > 构建选项(BuildSettings) '用户脚本沙盒(User Script Sandboxing)' 改成NO