私はdoint Product -> Test
でProjectNameTests.m(空のテストファイル)を実行した後、プロジェクトが正常にビルドが、それは投げ、私に次のエラー与える:XCTestエラー:バンドルをロードできませんでした。バンドルを再インストールしてみてください
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への切り替えなど、幸運にも似たような答えで提案されています。何か案は?
いずれかの解決策が見つかりましたか?私はまだバンドルローダーを設定した後、UIテストのためにこの問題に直面しています。 –