Swift項目組件依賴于"IDealist"組件。
"IDealist"組件依賴于"JXSegmentedView"組件。
編譯時報Abort trap: 6錯誤:
解決方法:
之前一直使用刪除項目中的pod文件,重新pod ,能用,莫名的運行幾次后又出錯了
在Swift組件的.podspec文件中添加以下代碼:
s.pod_target_xcconfig = {'SWIFT_COMPILATION_MODE'=>'wholemodule'}
或者
targets->build settings-> swift compiler-code generation->compilation Mode修改為whole module