ios-simulator

Running iPhone 5 Simulator on Snow Leopard

点点圈 提交于 2019-12-04 01:36:59
I am running the iOS6 SDK on my mac running Xcode 4.2 on Snow Leopard using steps from this Stack Overflow post. I'm now trying to get the iPhone 4" screen to work. I have been able to get iOS 6 to show up in the iOS simulator under the Hardware > Version menu. When I try to load an iOS 6 device, I get the error: "The simulated application quit" - "Click Relaunch to try again". It then gives me an option to switch to a different SDK. If I choose iOS6, it again crashes. If I choose iOS 5, it loads correctly. I also don't have an iPhone 4" screen option under the Hardware > Device menu. I have

Xcode 9.0 simulators “disappeared”

别来无恙 提交于 2019-12-04 00:58:49
I recently installed Xcode 9.0 GM on my machine. I fired it up to play around and the only simulators I see in the scheme are iPhone 8, iPHone 8 Plus, and iPhone X. I clicked "Download Additional Simulators" thinking the solution would lie there. I'm greeted with this screen, which is everything I previously had installed. I dug around on the Apple Developer forum and found this post discussing a similar problem with a prior version of iOS. At the suggestion of one of the posters, I powered down my machine and booted it cold. I opened up Xcode 9.0 again and I have the same issue. Any

“Failed to set plugin placeholders” message?

做~自己de王妃 提交于 2019-12-04 00:16:56
Xcode 9.1 Simulator 10.0 OSX 10.12.6 I would like to upload a new build of my sticker pack to iTunes Connect. But Product > Archive is grayed out. So I ran the Simulator and got ""Failed to set plugin placeholders for (name)." Only one answer anywhere in the whole world -- delete Derived Data Folder. I did and got same error message. BTW Under General in Xcode the Version is 1. The build is 1.4. Does the build number have to be changed somewhere else as well? What worked for me, Go to your target Build Phases and on "Embedded App Extensions" check the "Copy only when installing" checkbox. I

AX ERROR when using Accessibility Inspector for iOS app.

无人久伴 提交于 2019-12-04 00:00:19
I'm testing an iPhone app with the simulator. Whenever I click on certain elements, I receive this error in console: AX ERROR: Could not find my mock parent, most likely I am stale. This error does not seem to cause any side-effects. I can use the app and examine the elements freely. Any idea what it may be caused by? https://github.com/freerangecode/FRCTableViewDataSources/commit/8d6fbfe8520a94275dd1e1e175ee445e4e0f2b01 Change made to fix issue, you might need to pull changes and update your library. For me the problem was that the code path eventually called [tableView beginUpdates]

Iphone simulator and webcam

狂风中的少年 提交于 2019-12-03 23:40:36
Can we make able the iphone simulator to capture an image via webcam, I've written a program to take image from iphone camera. Can i test this with the iphone simulator??? Pls help You cannot take image via Mac's webcam from iPhone Simulator. For camera, you need to test it on a device. Imagine if this would be possible on the Simulator, your Mac camera resoultion would be very different from the device one and your mac performances too. This could lead to bad surprises when moving and testing the application on the device. (Sorry for my english) In android world, the phone emulator don't have

Xcode 9 iOS 10 / 11 Simulators - All Apps Crashing [duplicate]

你离开我真会死。 提交于 2019-12-03 23:07:11
This question already has an answer here : Closed 2 years ago . Xcode 9 iOS Simulator - Unable To Obtain Valid Process Handle (1 answer) I just installed Xcode 9 and tried running the iOS 11 and 10.3.1 simulators. Weirdly, ALL the stock apps in the simulator are crashing / force closing the moment I click on any of them, i.e. Safari, Photos, etc. I've tried it on iPhone X, iPhone 8/8+ and iPhone 6+ simulators with iOS 11 / 10.3.1, all with the same crashing result. If I try it on older iOS simulators such as iPhone 6+ iOS 9.2, then it runs fine. If I try to launch it many times, i.e. 40 - 50

iOS simulator - How can I make default simulator as iPhone

两盒软妹~` 提交于 2019-12-03 22:55:05
I downloaded latest XCode with iOS 4.2 version. When I'm testing any app in simulator, its running in ipad simulator by default. How can I make my simulator default to iPhone. Solution#1 You can remove the iPad from the organizer. I haven't tried it, since I use both iPhone and iPad. Solution#2 Create a keyboard shortcut to switch to to the iPhone simulator top menu > Project > Set Active Executable > Targetname - iPhone Simulator See these screenshots I hope this is what you're looking for, but in the top left of XCode, you should see a drop down bar that reads something like "Simulator - 4.2

Is there any way to use apple's Touch ID (fingerprint scanner) on iOS Simulator?

冷暖自知 提交于 2019-12-03 22:40:13
I am working on an app which would require Touch ID Authentication, so is there any way i can use Touch ID (fingerprint scanner) in the simulator ? Also, please do share some kind of example code for using LocalAuthentication framework. As of Xcode 7 the Simulator supports 'touchID'. Answer below contains further info. As of the latest beta (6) there is no way to simulate a fingerprint scan on the simulator. To be honest I doubt this will be included even in later betas. You will need to test on device. To use the Authentication framework right now you need: * XCode 6 * iPhone 5s with iOS 8

While running protractor script with appium : No element found using locator

半腔热情 提交于 2019-12-03 22:36:27
问题 I'm using Ipad Air simulator, appium and protractor in order to automate my tests for an Angular JS site but the test couldn't be passed successfully, it tells me that No element found using locator. I'm sure that the xpath it's the same generated by Appium. This is my config file ​exports.config = { allScriptsTimeout: 600000, seleniumAddress: 'http://0.0.0.0:4723/wd/hub', specs: [ 'testsuite/test3.js' ], capabilities: { browserName: 'safari', 'appium-version': '1.4.13', platformName: 'iOS',

Setting Background image in simulator home-screen

霸气de小男生 提交于 2019-12-03 22:22:08
I was scratching my brains over something when this popped in my mind. Can we set the simulator's home-screen background image to an image of our choice? Case in point is Xcode 3.2.2 simulator 3.1.3. Certain versions of the simulator appear to support this, not just for the home screen but for the lock screen too (which you get to with Command ⌘ + L ): Drag an image from your Mac to the simulator. Mobile Safari opens. Click and hold the image. Choose Save Image . Go to Photos.app, and into the photo album. Choose your image, and set it as the home screen background like you do on a device. You