Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcodebuild testが通らない #2

Open
natmark opened this issue Feb 19, 2017 · 1 comment
Open

xcodebuild testが通らない #2

natmark opened this issue Feb 19, 2017 · 1 comment
Assignees

Comments

@natmark
Copy link
Owner

natmark commented Feb 19, 2017

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
Copy link
Owner Author

natmark commented Apr 17, 2017

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

@natmark natmark self-assigned this Apr 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant