美文网首页
Unit Tests on Mojave: "The bundl

Unit Tests on Mojave: "The bundl

作者: 莫太极 | 来源:发表于2019-03-05 10:14 被阅读0次

单元测试的一些坑

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
先确认podfile配置是否完备
尝试修改podfile解决
如果尝试无效,而你的Mac系统恰巧是mojave ,那你很幸运,可能是系统bug
New Build System 让人迷茫,因为出的问题也是让人懵X
So,Maybe尝试用过去的system

选择Legacy Build System
不得不吐槽自从xcode10 and mojave之后 这个New Build System真是问题不断

详细内容在GitHub上关于UnitTest与CocoaPods的讨论

相关文章

网友评论

      本文标题:Unit Tests on Mojave: "The bundl

      本文链接:https://www.haomeiwen.com/subject/ehqguqtx.html