Open gruhls508 opened 8 years ago
I'm seeing this same issue on one computer, but it is working on another. Must be some Xcode setting? Both are on the same version of OSX Yosemite and using Xcode 7.1
Actually, I just got it working now. I had to kill and re-launch the iPhone simulator, make sure the Apple Watch simulator was closed, AND run the first command using sudo.
Ok, I did reboot iOS simulator but may have had Watch Sim open.
By "first command," do you mean the line where you run make
?
Sorry, I meant the command:
xcrun simctl spawn booted launchctl debug system/com.apple.SpringBoard --environment DYLD_INSERT_LIBRARIES=$PWD/SBShortcutMenuSimulator.dylib
Awesome. I'll give it a shot as soon as I get a chance.
Tried again, ran with sudo, no Watch and tried restarting iPhone simulator. Attaching screenshot--got 'no devices booted' every time with iPhone 6s simulator open (Running El Cap w/ Xcode 7.2)
UPDATE: Saw resolved issue https://github.com/DeskConnect/SBShortcutMenuSimulator/issues/2 and tried the fixes listed there.
Nothing that was listed resolved the issue. I also checked that I have the correct config for shortcut actions in my .plist, which I do; I have a sample action listed under 'UIApplicationShortcutItems.'
You definitely should not be running any of these commands with sudo.
Do you have multiple versions of Xcode installed? If so, you need to make sure the one selected (with xcode-select) matches the Simulator you're using. You may also need to reboot if you have been using multiple different versions of Xcode.
@AriX I have one version of Xcode showing in my Applications folder. Spotlight and file search are not revealing any others.
I'm not sure I understand what you mean by making sure the Xcode version shown with xcode-select
matches my Simulator. I ran xcode-select -v
but googling "ios simulator check xcode version" and the like hasn't gotten me answers.
You want xcode-select -p. Make sure it matches the path of the Xcode you're expecting.
Here is the output for xcode-select -p, and the Xcode app I use shown in my Applications folder in Finder.
Met the same issue here.
Re-launch the iPhone simulator if you met this issue. :D
Ran
Rec'd this output
Then trying to implement the first action under "Usage" (running SpringBoard with iPhone 6s simulator open.) The result: