36 lines
703 B
Plaintext
Executable File
36 lines
703 B
Plaintext
Executable File
#!/usr/bin/expect -f
|
|
set timeout 300
|
|
|
|
cd /Users/sergei/Desktop/WellNuo
|
|
spawn eas build --platform ios --profile production
|
|
|
|
expect {
|
|
"Do you want to log in to your Apple account?" {
|
|
send "n\r"
|
|
exp_continue
|
|
}
|
|
"What would you like to do?" {
|
|
send "1\r"
|
|
exp_continue
|
|
}
|
|
"Select a team" {
|
|
send "UHLZD54ULZ\r"
|
|
exp_continue
|
|
}
|
|
"Apple Team ID" {
|
|
send "UHLZD54ULZ\r"
|
|
exp_continue
|
|
}
|
|
"Distribution Certificate" {
|
|
puts "\n\n=== NEEDS DISTRIBUTION CERTIFICATE ===\n"
|
|
exit 1
|
|
}
|
|
"Would you like to" {
|
|
send "y\r"
|
|
exp_continue
|
|
}
|
|
eof {
|
|
puts "Process finished"
|
|
}
|
|
}
|