DeskConnect / SBShortcutMenuSimulator

3D Touch shortcuts in the Simulator
MIT License
1.75k stars 164 forks source link

Not working in Simulator 9.2 (Xcode 7.2) #13

Open JohJakob opened 8 years ago

JohJakob commented 8 years ago

SBShortcutMenuSimulator does not work in Simulator 9.2 (shipped with Xcode 7.2).

hipwelljo commented 8 years ago

It's not working here either. Running echo 'com.apple.mobilecal' | nc 127.0.0.1 8000 crashes SpringBoard, shows Apple log in the Simulator, when it comes back to life it doesn't show the actions.

JohJakob commented 8 years ago

Running an echo command doesn't crash SpringBoard on my computer. It just doesn't do anything.

eridbardhaj commented 8 years ago

Same for me echo command doesn't crash SpringBoard, but no action produced

MingYueGuCheng commented 8 years ago

SBShortcutMenuSimulator does not work in Simulator 9.2 (shipped with Xcode 7.2). Application Specific Information: *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SBIconController _revealMenuForIconView:presentImmediately:]: unrecognized selector sent to instance 0x7ff07a879400' terminating with uncaught exception of type NSException abort() called CoreSimulator 201.3 - Device: iPhone 6s - Runtime: iOS 9.2 (13C75) - DeviceType: iPhone 6s

simson2010 commented 8 years ago

Same for me. After run echo 'com.apple.mobilecal' | nc 127.0.0.1 8000 , simulator shows nothing, and got crashed. I tested it on iPhone6 and iPhone 6s simulator. And I wanna know, the steps of running xcrun? run simulator first or run the command first?

zdpdsy commented 8 years ago

Same for me. After run an echo command doesn't crash SpringBoard , simulator show nothing,and got crashed.

alexanderkhitev commented 8 years ago

Same for me

alexanderkhitev commented 8 years ago

and who ever tried to use xcode 7.2 and simulator with 9.0?

alexanderkhitev commented 8 years ago

I tried with Xcode 7.2 and simulator 9.0 but nothing doesn't happen

skagedal commented 8 years ago

For people who are wondering, you can easily install iOS 9.1 in Xcode 7.2, and this will work.

Then, just run your app in a simulator running 9.1 and issue the xcrun commands from the README.

With iOS 9.2, it will crash; the dylib uses the private symbol -[SBIconController _revealMenuForIconView:presentImmediately:] which is not available. I tried replacing it with -[SBIconController _revealMenuForIconView:], which is available, but that did not work (the icon just got highlighted).

ali-saeed commented 8 years ago

Thanks a lot! It worked when I downloaded iOS 9.1 for the simulator. Great work!!!

OrdHu commented 8 years ago

Thanks skagedal ! I solved the problem with your method.

rbarbish commented 8 years ago

@conradev - Any updates? The utility doesn't work for 9.2 simulators

skagedal commented 8 years ago

I hope people in this thread have noticed that the Xcode 7.3 beta allows simulation of 3D Touch using a Force Touch trackpad.

gabrielmaldi commented 8 years ago

18 fixes this.

alpennec commented 8 years ago

Hello, I tried on Xcode 8 with iOS 10, it does not work. Anyone succeeded to have it work? Thanks Axel