gpt4 book ai didi

ios - XCTest 错误 : The bundle couldn’t be loaded. 尝试重新安装 bundle

转载 作者:技术小花猫 更新时间:2023-10-29 10:52:26 33 4
gpt4 key购买 nike

在我通过 doint Product -> Test 运行 ProjectNameTests.m(空测试文件)后,项目构建成功,但它抛出并给我以下错误:

2016-01-10 11:25:32.677 xctest[66104:5611958] The bundle “ProjectNameTests” couldn’t be loaded. Try reinstalling the bundle.
2016-01-10 11:25:32.677 xctest[66104:5611958] (dlopen(/Users/XYZ/Library/Developer/Xcode/DerivedData/ProjectName-dnwnjlzdzxbcyydkxsumlvokmhvk/Build/Products/Debug-iphonesimulator/ProjectNameTests.xctest/ProjectNameTests, 265): Symbol not found: _FBSDKErrorArgumentCollectionKey
Referenced from: /Users/XYZ/Library/Developer/Xcode/DerivedData/ProjectName-dnwnjlzdzxbcyydkxsumlvokmhvk/Build/Products/Debug-iphonesimulator/ProjectNameTests.xctest/ProjectNameTests
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest
in /Users/XYZ/Library/Developer/Xcode/DerivedData/ProjectName-dnwnjlzdzxbcyydkxsumlvokmhvk/Build/Products/Debug-iphonesimulator/ProjectNameTests.xctest/ProjectNameTests)
Program ended with exit code: 83

我试过从测试中删除 UIKit,更改 Match-O 类型,将模拟器切换到 iPhone 5 以及类似答案中建议的其他内容,但没有任何运气。有什么想法吗?

最佳答案

我刚刚遇到了类似的问题,结果发现 Xcode 项目的部署目标设置为 7.2,但 expecta 和 septa 需要 8.0 或更高版本。

关于ios - XCTest 错误 : The bundle couldn’t be loaded. 尝试重新安装 bundle ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34704388/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com