單元測(cè)試的一些坑
The bundle “TargetTests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle. : Library not loaded: Reason: image not found Program ended with exit code: 82
先確認(rèn)podfile配置是否完備
嘗試修改podfile解決
如果嘗試無(wú)效,而你的Mac系統(tǒng)恰巧是mojave 储狭,那你很幸運(yùn),可能是系統(tǒng)bug
New Build System 讓人迷茫,因?yàn)槌龅膯?wèn)題也是讓人懵X
So,Maybe嘗試用過(guò)去的system
不得不吐槽自從xcode10 and mojave之后 這個(gè)New Build System真是問(wèn)題不斷
詳細(xì)內(nèi)容在GitHub上關(guān)于UnitTest與CocoaPods的討論