Travis fails to boot the iOS Simulator after updating to CocoaPods 1.5.0 or 1.5.2. The tests work fine running locally.
More details in this PR and this travis log.
I'll continue to investigate and interested if anyone has ideas or suggestions.
2018-05-09 17:49:44.084 xcodebuild[9107:25746] iOSSimulator: task_name_for_pid(mach_task_self(), 10695, &task) returned 5
2018-05-09 17:49:44.084 xcodebuild[9107:25746] iOSSimulator: Falling back to DISPATCH_SOURCE_TYPE_PROC
2018-05-09 17:49:52.704 xcodebuild[9107:24058] iOSSimulator: task_name_for_pid(mach_task_self(), 10699, &task) returned 5
2018-05-09 17:49:52.705 xcodebuild[9107:24058] iOSSimulator: Falling back to DISPATCH_SOURCE_TYPE_PROC
2018-05-09 17:49:59.325 xcodebuild[9107:21429] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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}
2018-05-09 17:49:59.325 xcodebuild[9107:21429] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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}
2018-05-09 17:49:59.325 xcodebuild[9107:21429] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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}
2018-05-09 17:49:59.326 xcodebuild[9107:21429] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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}
2018-05-09 17:49:59.326 xcodebuild[9107:21429] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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}
Looks to me like the app is crashing on launch?
Yep. We were able to reproduce locally and then found that adding CODE_SIGNING_ALLOWED=YES to the xcodebuild command is a workaround.
It looks like this was introduced in #6964 which added CODE_SIGNING_ALLOWED = NO; to Pods.xcodeproj/project.pbxproj
@paulb777 is this still an issue?
Yes, it's a 1.5.x usability issue/regression that the xcodebuild command line now requires CODE_SIGNING_ALLOWED=YES and it's not easy to discover from the failure symptoms.
However, it's less serious now that we know the workaround.
I don't fully understand the purpose of #6964 and curious if this is an unintended side-effect or a necessary consequence.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Keep
@paulb777 I believe this is now fixed and shipped with 1.6.0?
Yep. #7640 reverted the problem introduced in #6964.
Most helpful comment
Yes, it's a 1.5.x usability issue/regression that the xcodebuild command line now requires
CODE_SIGNING_ALLOWED=YESand it's not easy to discover from the failure symptoms.However, it's less serious now that we know the workaround.
I don't fully understand the purpose of #6964 and curious if this is an unintended side-effect or a necessary consequence.