ios - 使用 iOS 设备运行测试时出错
问题描述
我创建了一个使用相机的框架,因此它不会构建或无法在 ios 模拟器中运行 sonarqube。
我尝试使用真实设备并使用 Xcode->Product->Test 运行测试,它显示以下错误
TestFacial.app (53366) encountered an error (Failed to load the test bundle.
If you believe this error represents a bug, please attach the result bundle at
/Users/np/Library/Developer/Xcode/DerivedData/SSDK-byourtlovsdebofxjjffsbmkjyib/Logs/Test/
Run-SSDK-2021.06.09_08-36-51-+0530.xcresult. (Underlying Error: The bundle “SSDKTests” couldn’t be loaded because
it is damaged or missing necessary resources. The bundle is damaged or missing necessary resources.
Try reinstalling the bundle. dlopen_preflight(/var/containers/Bundle/Application/E531A30A-81C0-4568-9B36-28AABD812787/
TestFacial.app/PlugIns/SSDKTests.xctest/SSDKTests): Library not loaded: @rpath/SSDK.framework/SSDK
Referenced from: /var/containers/Bundle/Application/E531A30A-81C0-4568-9B36-28AABD812787/TestFacial.app/
PlugIns/SSDKTests.xctest/SSDKTests
Reason: image not found))
这里 TestFacial 是我添加为目标以测试我的框架(SSDK)的测试应用程序 TestFacial 是空项目(xcode 只有默认代码)。
所以我真的被困在这一点上,无法理解错误的原因是什么。请帮忙
解决方案
推荐阅读
- google-maps - 新的 Places API 会话令牌可以使用多长时间?
- cassandra - 如何在不耗尽内存的情况下复制大型 Cassandra 表?
- mongodb - 在子文档中创建多个数组的唯一列表。
- javascript - 在 React/Redux 中更改 url
- python - jinja2中~的对面
- typescript - 从键数组中获取对象类型
- php - 在什么情况下,诸如“ÄÖÜß”之类的特殊字符会被编码为实体,然后再解码为“ƒ÷‹S”?
- c# - 是否可以在 StackPanel 中绑定 Children 并保留垂直 SnapPoints?
- c# - 在另一个脚本中调用一个脚本的函数时,脚本中的函数在编辑器中不起作用,但控制台返回正确的值
- c# - C# 7 中是否可以使用多个参数?