Попытка добавить тесты для FlockSwiftUtils .У проекта нет пользовательского интерфейса, поэтому я не хочу иметь проект с целью приложения.XCode допускает «None» как Host Application
для цели, поэтому кажется возможным.
Сборка для цели выполнена успешно, но xctest
завершается неудачно с ошибкой
Showing Recent Messages
xctest (41117) encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying error: The test runner failed to load the test bundle. Executable cannot be loaded for some other reason, such as a problem with a library it depends on or a code signature/entitlements mismatch.))
Из журналов:
13:35:05.753 Xcode[38272:7487908] Test operation failure: The test runner failed to load the test bundle. Executable cannot be loaded for some other reason, such as a problem with a library it depends on or a code signature/entitlements mismatch.
13:35:05.753 Xcode[38272:7487908] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=5 "The test runner failed to load the test bundle. Executable cannot be loaded for some other reason, such as a problem with a library it depends on or a code signature/entitlements mismatch." UserInfo={NSLocalizedDescription=The test runner failed to load the test bundle. Executable cannot be loaded for some other reason, such as a problem with a library it depends on or a code signature/entitlements mismatch.}
Код для этого доступен в тестовой ветке FlockSwiftUtils .