natmark / HakoBus

Transit Search Application for Hakodate Bus.
MIT License
0 stars 0 forks source link

xcodebuild testが通らない #2

Open natmark opened 7 years ago

natmark commented 7 years ago

Xcode上ではテスト実行できるが、コマンドラインからテスト実行できない。

$ xcodebuild -scheme HakoBus -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6s" test
2017-02-19 11:42:44.704 XCTRunner[44014:752405] Running tests...
2017-02-19 11:42:44.712 XCTRunner[44014:752405] The bundle “HakoBusUITests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
2017-02-19 11:42:44.713 XCTRunner[44014:752405] (dlopen_preflight(~/Library/Developer/Xcode/DerivedData/HakoBus-bewhritgsgfqtkczxunaokcctyag/Build/Products/Debug-iphonesimulator/HakoBusUITests-Runner.app/PlugIns/HakoBusUITests.xctest/HakoBusUITests): no suitable image found.  Did find:
    ~/Library/Developer/Xcode/DerivedData/HakoBus-bewhritgsgfqtkczxunaokcctyag/Build/Products/Debug-iphonesimulator/HakoBusUITests-Runner.app/PlugIns/HakoBusUITests.xctest/HakoBusUITests: required code signature missing for '~/Library/Developer/Xcode/DerivedData/HakoBus-bewhritgsgfqtkczxunaokcctyag/Build/Products/Debug-iphonesimulator/HakoBusUITests-Runner.app/PlugIns/HakoBusUITests.xctest/HakoBusUITests'
)
2017-02-19 11:42:44.724 xcodebuild[43836:750911] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
2017-02-19 11:42:44.724 xcodebuild[43836:750911] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}

Testing failed:
    Test target HakoBusTests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
    Test target HakoBusUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
natmark commented 7 years ago

travisCI使っている他のライブラリとか参考にする...