Skip to content

Unable to find application named 'Simulator'? #25331

Answered by Yanjingzhu
Happypig375 asked this question in Actions
Discussion options

You must be logged in to vote

I was trying hard to find a way to resolve your issue. But I met another issue .

Firstly, I found that the UID has changed today. There is a method to get uid of a simulator:

get_uid() {
  echo $( xcrun simctl list | grep -w $SIMULATOR_NAME | awk 'match($0, /\(([-0-9A-F]+)\)/) { print substr( $0, RSTART + 1, RLENGTH - 2 )}' )
}

And I tried to change Simulator to the exact path

xcrun simctl boot $IOS_SIM_UDID
open -a '/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator' --args -CurrentDeviceUDID $IOS_SIM_UDID

The scripts stuck at

   echo "Installing app at path $APP_PATH"
   xcrun simctl install booted $APP_PATH


Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants