fastlane failed to receive a connection from the FastlaneRunner binary after 5 seconds

在执行fastlane的时候,ctrl +z 杀死进程之后,在执行就会报这个错误。

解决办法:

终端执行

$ ps -A | grep -i fastlane

显示fastlane运行中的进城

30090 ??         0:11.04 ruby /Users//.rvm/gems/ruby-2.6.0/bin/fastlane test --verbose    
30154 ttys000    0:00.01 sh -c set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace ./.xcworkspace -scheme _iOS\ Prod -destination 'platform=iOS Simulator,id=52D9686C-79BB-4D98-8A05-FDF3FB659BA5' -derivedDataPath '/Users//Library/Developer/Xcode/DerivedData/-cftrijcalkbyledyzrsthsbefqmz' build test | tee '/Users//Library/Logs/scan/_iOS-_iOS Prod.log' | xcpretty  --report html --output '/Users//bamboo-agent-home/xml-data/build-dir//fastlane/test_output/report.html' --report junit --output '/Users//bamboo-agent-home/xml-data/build-dir//fastlane/test_output/report.junit' --report junit --output '/var/folders/0m/v5x0gd316qn4msj39z81_yym0000gp/T/junit_report20200319-30090-b9dtoq' 
30157 ttys000    0:05.37 /Users//.rvm/rubies/ruby-2.6.0/bin/ruby /Users//.rvm/gems/ruby-2.6.0/bin/xcpretty --report html --output /Users//bamboo-agent-home/xml-data/build-dir//fastlane/test_output/report.html --report junit --output /Users//bamboo-agent-home/xml-data/build-dir//fastlane/test_output/report.junit --report junit --output /var/folders/0m/v5x0gd316qn4msj39z81_yym0000gp/T/junit_report20200319-30090-b9dtoq
65854 ttys001    0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn -i fastlane
65139 ttys002    0:00.00 sh -c ./fastlane/FastlaneRunner lane test logMode verbose swiftServerPort 2000 > /dev/null
65140 ttys002    0:00.10 ./fastlane/FastlaneRunner lane test logMode verbose swiftServerPort 2000
65507 ttys002    0:00.00 sh -c ./fastlane/FastlaneRunner lane test logMode verbose swiftServerPort 2000 > /dev/null
65508 ttys002    0:00.06 ./fastlane/FastlaneRunner lane test logMode verbose swiftServerPort 2000

然后依次杀死进程即可

kill -9 30154

你可能感兴趣的:(fastlane failed to receive a connection from the FastlaneRunner binary after 5 seconds)