前言
pod update QMUIKit --verbose --no-repo-update
升級Xcode之後,今天在iOS13中打開app的時候閃退,錯誤信息是*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Client error attempting to change layout margins of a private view'
*** Assertion failure in -[_UINavigationBarContentView setDirectionalLayoutMargins:]
解決方案是更新第三方庫
-> Installing QMUIKit 4.0.4 (was 3.2.1 and source changed to `https://cdn.cocoapods.org/` from `https://github.com/cocoapods/specs.git`)