lorenbrichter / SimFinger

Screencasting for iPhone
http://blog.atebits.com/2009/03/not-your-average-iphone-screencast/
1.24k stars 132 forks source link

"Couldn't find iPhone Simulator message" results crash with iOS SDK 4.2 and iPhone simulator 4 #10

Closed exalted closed 12 years ago

exalted commented 13 years ago
  1. Changed all xcodeproj SDK's to latest (newly introduced with Xcode 3.2.5): iOS 4.2 and Mac OS X 10.6
  2. Compiled with for i in $(find . -name '*.xcodeproj'); do xcodebuild -project $i -configuration Release build; done
  3. Launched ~/Downloads/SimFinger/Fake/SimFinger/build/Release/SimFinger
  4. Main window seems come up fine with an iPhone4 frame, but regardless if simulator is running or not, SimFinger will say Couldn't find iPhone Simulator twice and crash.

Console output goes like this:

2010-11-30 10:53:18.208 SimFinger[14307:a0f] +[FakeFingerAppDelegate countByEnumeratingWithState:objects:count:]: unrecognized selector sent to class 0x711c

2010-11-30 10:53:18.256 SimFinger[14307:a0f] +[FakeFingerAppDelegate countByEnumeratingWithState:objects:count:]: unrecognized selector sent to class 0x711c

I may provide more detailed output on this issue, please let me know.

Best regards, Ali Servet Donmez http://www.pittle.org/

ygbr commented 13 years ago

same problem here!

raphaelokon commented 13 years ago

Same here.

kpbode commented 13 years ago

Just add a dash in line 52 of FakeFingerAppDelegate to the NSApplicationName to make it "iOS-Simulator"

raphaelokon commented 13 years ago

I've done it just a minute ago and it worked perfectly for me. But the overlay window still stick on the left side of my screen.

napoleone1981 commented 13 years ago

Well, the real fix is to put, on the line kpbode told us, the real name of iOS Simulator app... in other words, what you see on the Mac menu bar. In italian the fix is "Simulatore iOS"...

cocoacoder commented 13 years ago

I tried "iOS Simulator" and "iOS-Simulator", neither of which removed the error.

kpbode commented 13 years ago

@cocoacoder Do you have the simulator running? "iOS Simulator" works for me with SDK 5.0 installed...

cocoacoder commented 13 years ago

Yup, latest build on everything. I'm an iOS developer working on an iOS 5 app and running that SDK.

nick commented 12 years ago

You need to make sure the iOS simulator is running as a separate process before you build SimFinger. SimFinger adds an extra layer over the top of the existing iOS Simulator process.