ios-simulator

Is it possible to run IPhone apps on a virtual machine

ε祈祈猫儿з 提交于 2019-12-12 18:48:06
问题 is it possible to run an IPhone app on a windows VM. I'd like to build a test suite for IPhoneapplications. Will I have to buy extra machines. I already have IMac's and Iphone 3G, but these are being used for development. 回答1: Well there are sites out there that let you download VMWare images of the MacOS. Running the iPhone simulator on windows has been done before. Can't say how legal it is though. 回答2: The iPhone simulator is only for Mac OS X. You cannot run it on any other platform. 回答3:

Unable to boot the iOS Simulator - xcode 6.0.1

旧街凉风 提交于 2019-12-12 18:05:42
问题 I've an error in Xcode 6.0.1 on OS X Mavericks 10.9.5. When I debug, the iOS 8 simulator shows this error: Unable to boot the iOS Simulator. After few seconds Xcode shows this other error: An error was encountered while running (Domain = DTiPhoneSimulatorErrorDomain, Code = 2) However, the iOS 7 simulator works!! 回答1: Do you have DYLD_INSERT_LIBRARIES set? Check /etc/launchd.conf and look for launchd_sim crash logs in ~/Library/Logs/DiagnosticReports ... if so, this is a dupe of Unable to

Simulator timed out issue while running UIAutomation in iOS

核能气质少年 提交于 2019-12-12 17:26:59
问题 I am running UIAutomation scripts. Some times script executes successfully while other times it crashes saying Simulator session timed out and this message is also at different interval. If I have for loop while executing script, then somes it executes thrice, sometimes till 10 iteration some time even till 25th iteration & in between it creases with above alert. 来源: https://stackoverflow.com/questions/9171065/simulator-timed-out-issue-while-running-uiautomation-in-ios

Screen content is only shown in a part of screen in iOS Simulator

别说谁变了你拦得住时间么 提交于 2019-12-12 14:50:26
问题 My iOS Simulator only show the content as a part of the screen. How can I fix it? I'm using XCode 6.3.1. Thanks 回答1: You just need to restart it. It can happen sometimes. Force close simulator and start it again! 回答2: I am including this response for those, who like me, are seeking an solution for this problem after upgrading to Xcode 8. The simulator began using only a portion of the display, as described in the question, when testing against iOS 8.x. The symptoms were that 1/4 of the

How to create virtual printer with iOS Simulator?

北城余情 提交于 2019-12-12 14:34:06
问题 In one of my application there is feature to print documents. I want to test this feature but I don’t have device, So I have to test on Simulator. With simulator how can I print documents. Do I need to connect physical printer or can I create virtual printer and test with it ? I am using Xcode 8.2.1 , iOS 10 and StarPrint iOS SDK 5.2.1 I have searched lot but I didn’t find which work for me. How can I do that ? I have referred below links : Where is printer simulator in Xcode 6 Here I cannot

iOS simulator — swap from retina iPhone to non-retina iPad in a single step

依然范特西╮ 提交于 2019-12-12 09:24:12
问题 I program for both iPhone and iPad. When doing iPhone stuff, I prefer the retina iPhone simulator. When doing iPad stuff, I prefer the non-retina simulator. Swapping between them is a two-step process for me. I have to switch xCode from the "iPhone simulator" target to the "iPad simulator" target. The problem is that when I do this, the simulator switches from retina iPhone to retina iPad. I therefore also have to go into the simulator app and change the hardware to non-retina iPad. Is there

Draw partial image or clipping diagonally using Core Graphics

寵の児 提交于 2019-12-12 09:11:52
问题 I am looking to draw an image using Core Graphics.However I am able to draw the partial image i.e Horizontally & vertically. But instead of it I want to have it in a Diagonal Way.For more clarification, pls refer to below image : Real Image : Required Image Output: Below is the code using to fill the Layer with Color : CGContextRef contextRef = UIGraphicsGetCurrentContext(); CGContextMoveToPoint(contextRef, r.origin.x, r.origin.y ); CGContextAddLineToPoint(contextRef, r.origin.x , r.origin.y)

Installing new and old versions of Xcode

扶醉桌前 提交于 2019-12-12 09:05:46
问题 So I saw this post: http://mobiledevelopertips.com/xcode/download-and-install-older-versions-of-xcode-xcode-previous-releases.html (new location: at iosdevelopertips.com) about downloading older versions of Xcode. Up to now, I have always just downloaded the newest version of Xcode from the App Store and let it do its thing. Recently on one computer that has Xcode 4.5 installed on it, I noticed that if I create a new project, I only get the iOS 6.0 simulators, not the 5.0 or 5.1. My first

Use Jmeter proxy to record HTTP calls from iOS simulator

試著忘記壹切 提交于 2019-12-12 08:58:24
问题 Is there any way to record http calls from native app that installed on iOS simulator, or real device ? My main goal is to build test plan by playing the app and recording the calls. Any help or creative idea is welcome :) Thanks, Yossi 回答1: With a real device it's very easy. Use the Wifi on the device (airplane mode) and set HTTP Proxy to point to your computer. Here is a complete webinar with step by step details on recording iOS traffic with JMeter's proxy: http://www.youtube.com/watch?v

AX ERROR when using Accessibility Inspector for iOS app.

二次信任 提交于 2019-12-12 08:21: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? 回答1: https://github.com/freerangecode/FRCTableViewDataSources/commit/8d6fbfe8520a94275dd1e1e175ee445e4e0f2b01 Change made to fix issue, you might need to pull changes and update