Ошибка:
./batch_build.rb:83:in `initialize': no implicit conversion of String into Integer (TypeError)
from ./batch_build.rb:83:in `open'
from ./batch_build.rb:83:in `<main>'
К какой строке относится 83:
IO.open("xcodebuild -scheme Runner archive -archivePath '/tmp/#{BUILD_DIR}' -UseNewBuildSystem=NO -allowProvisioningUpdates") do |line|
hasError = true if line.downcase.include? 'error' # line 85
`xcode /tmp/#{BUILD_DIR}/Runner.xarchive` # line 87
end # line 89
Какие связанные строки:
KEY_FILE = 'android/key.properties'
verCode = `cat #{KEY_FILE} | grep versionCode | cut -d '=' -f 2`.to_i
verCode += 1
BUILD_DIR = "xyz_#{verCode}"
В чем ошибка?