ios-simulator

Crash logs generated by iPhone Simulator?

怎甘沉沦 提交于 2019-11-28 15:13:41
问题 Are there any crash logs generated by iPhone Simulator? the Simulator crashes a lot but not leaving any traces in Console... the crash log will be useful. 回答1: The console will show the NSLog() output from an app running in the simulator. The crash logs are saved to file. I have found some in my home directory under ~/Library/Logs/DiagnosticReports/ They have a file extension of .crash Something I haven't yet figured out is how to get them to generate even if the debugger grabs the EXC_BAD

iPhone Simulator location

风格不统一 提交于 2019-11-28 15:12:05
Where on my machine is the iPhone simulator installed? I'm been trying to find where a test application I run in the simulator is stored. Pablo Santa Cruz Simulator: ~/Library/Application Support/iPhone Simulator/ You can browse simulator files from that directory in Mac OS X. Update for Xcode 4.4 : While the iPhone simulator is still in the same place, Apple has included a shortcut to the iPhone Simulator at: /Applications/Xcode.app/Contents/Applications Changes since Xcode 4.3.1 Please note that the new version of Xcode is now available on the Mac App Store . Hence all the stuff that used to

Can I start the iPhone simulator without “Build and Run”?

跟風遠走 提交于 2019-11-28 15:00:07
问题 I want to delete an app in the simulator before I "build and run". How can I start the simulator so I can do the deletion? If I start it by "build and run" I get a long log output that takes a while because of a bug I'm trying to fix. I'd like to avoid that. 回答1: The simulator is just an application, and as such you can run it like any other application. To run the simulator straight from terminal prepend these locations with the open command Xcode 7.x, 8.x, and 9.x In Xcode 7.x, the iPhone

Download Xcode simulator directly

纵然是瞬间 提交于 2019-11-28 14:33:45
问题 I have downloaded Xcode 6.2 today which replaced previous Xcode 6.1 now to use simulator 7.1 & 8.1 it asks to download both simulators , but for some reason after trying 4-5 times it shows network issues in downloading or request time out (note: in n/w diagnostic after it shows net is working properly) so is there any direct link from where i can download the simulator package directly or somewhere at least it shows progress in percentage/size instead just a bar if it's not possible i have

run app using xcode 4.6 in ios 4.3 simulator

放肆的年华 提交于 2019-11-28 14:21:22
I am actually trying to run my application in 4.3 simulator from xCode 4.6. I copy the sdk for simulator 4.3 at the path, it builds successfully but cant run the application in simulator. So now what can I do to solve the problem? Thank you in advance If you are using Mac OS 10.7.x and have upgraded to Xcode 4.6, then you could have or download simulator 4.3 version. But, if you are using Mac OS 10.8.x, then you can not have simulator 4.3 version. The reason is 4.3 simulator on Mac OS 10.8.x crashed a lot, so Apple has removed that. Check this link:- http://iphonedevsdk.com/forum/iphone-sdk

Is there a way the Round Rect button to take exactly the same size of an image?

匆匆过客 提交于 2019-11-28 14:14:22
Is there a way the Round Rect button to take exactly the same size of an image?Are there any round buttons? I have a project with many buttons-images and they get mixed together. The images are mostly circular and the buttons Rectangular, so when I place them close to each other they get mixed. When the iPhone detects a touch on the screen, it finds the touched view using “hit testing”. By default, hit testing assumes that each view is a rectangle. If you want hit testing to treat your view as a different shape, you need to create a subclass (of UIButton in your case) and override the

fopen$UNIX2003 fails inside external library

只谈情不闲聊 提交于 2019-11-28 13:58:12
I have an external static library (I have the source code as well) that uses 'fopen' to access files on the filesystem. The strange thing is that it always fails both on simulator and device when it tries to do so with EXE_BAD_ACCESS inside fopen$UNIX2003 (not in fopen , fopen is not even in the call stack when the exception is thrown. I've tried to use fopen directly myself with the same path/options and it works. So, first of all, is it possible that the library is somehow calling a different fopen implementation? If so, why, and most important how can I make it call the 'right' one? EDIT:

How do I type using my keyboard on the iphone simulator?

非 Y 不嫁゛ 提交于 2019-11-28 13:50:23
问题 I used to be able to type with my real mac keyboard after launching the iPhone Simulator. Typing with the on-screen simulator keyboard is just horrible when testing with large amounts of text. No matter what I do, I can't get my keyboard to type anymore inside the simulator. Even if I have "Simulate Hardware Keyboard" switched ON, it just won't type anything. Can someone please tell me what I'm doing wrong? Is there no way to type using the real keyboard anymore? 回答1: Try trashing the iPhone

Is there a quicker / better way to clear the iPhone Simulator cache than deleting its directory?

好久不见. 提交于 2019-11-28 13:38:25
问题 So I'm still reasonably new to iOS development and I'm finding myself quite regularly needing to delete either DerivedData, or the contents of the iPhone Simulator directory, to get things to actually execute from my code. Clean in Xcode doesn't do the same as emptying those directories, right? And if not, is there an easier way to do it than lugging Finder around to get to them, and clearing them? 回答1: 66:99 and climbing: Yes , there is a better way than going into every single simulator in

iOS 8 and Xcode 6 Simulator Display Out of Alignment

元气小坏坏 提交于 2019-11-28 12:27:10
The display is stuck on zoomed in. I did a clean install Xcode install and it's still broken. I just updated to the Xcode 6.2 Beta and it works on the retina display of my macbook. Unfortunately it just shows a white screen on my main monitor ... Maybe the want to force me to use the MB screen as a simulator display ;-) Having the same issue since the Yosemite beta update. It's definitely not a permanent fix but moving the simulator to a screen with a different pixel scale factor makes the simulator usable on one or another of the screens. 来源: https://stackoverflow.com/questions/27068162/ios-8