Can no longer import app module into unit tests after changing deployment target

拈花ヽ惹草 提交于 2019-11-30 19:27:00

You were almost there, you just need to update the iOS Deployment Target for your Project and both of your targets.

For your project:

For your app target:

For your test target:

You should probably do a clean and rebuild, no need to restart Xcode. I guess this will also work if you want to target 8.1 etc.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!