ios-simulator

How to “Delete derived data” in Xcode?

为君一笑 提交于 2019-12-17 02:22:27
问题 In Xcode5 there is simple option to Delete derived data: In organiser menu ( cmd + shift + 2 ): But with new interface of Xcode6 there is no similar options. Is there any quick methods to delete this trough Xcode6 interface? Or now I should remove this folders in system manually? 回答1: Pressing Cmd + Shift + 2 In Xcode 6 will present Devices, which is separated from Organizer . Instead you can go Window , then Organizer , then find your project in Projects to delete derived data. You may set a

XCode 3.2 - make emulator to open in iPhone mode

空扰寡人 提交于 2019-12-14 04:07:36
问题 I've installed XCode 3.2 on top of Snow Leopard 10.6.2. When trying to "build and run" an application created from XCode template, the emulator is always opened in iPad mode. When choosing "iPhone" from the emulator menu, it changes its look but next time it is opened as iPad again. How to cause the emulator to run in iPhone mode ? 回答1: It seems that it was answered here Setting Xcode's target to iPhone NOT iPad 回答2: The XCode 3.2.3 comes with SDK 4.0, which is the only choice for building

make custom view stick to top of the keyboard while rotating device

我的未来我决定 提交于 2019-12-14 04:01:55
问题 My app is iPad only and the root view is embedded in a navigation controller which has two sub views: 1) a UITextView (not UITextField ) which covers the whole area except for the navigation bar. 2) another UIView which serves as a tool bar. It covers the UITextView and initially stays at the bottom of root view. Now I can make the "tool bar" goes up and down in sync with the virtual keyboard. But there is one problem: if I rotates the device while the keyboard is showing, the "tool bar" no

iOS app only showing half in simulator

岁酱吖の 提交于 2019-12-14 03:27:30
问题 I am trying to develop a simple app with one screen for iOS and am running into a strange problem. Only half of the app is showing up. For example I have a screen with just one button in the center of the screen. When I run the app in the simulator I only see half the button and I cannot move it either.I can scroll the view in the simulator vertically but not horizontally. I am stumped. Will appreciate any pointers. 回答1: I'm pretty sure you built your view using the main storyboard and put

Ionic 2 cli command “ ionic emulate ios --livereload” not working on iOs 9

一笑奈何 提交于 2019-12-14 03:03:07
问题 So I am trying out Ionic 2. I found out this Ionic Cli command does not work: ionic emulate ios --livereload or ionic emulate ios --lc It show "Setup Live Reload" in the log but the app just hang in the opening splash screen. Can not find further error in the log (no error output), but the whole thing is frozen. It work without the -lc flag. So if I just run ionic emulate ios It works and the app launch. Anyone know a workaround for this? I am on iOs 9.3. 回答1: I faced the same issue and these

Visual Studio 2013 Cordova RemoteBuild failed (Cannot POST /build/tasks?command=build&vcordova=4.3.1&)

假如想象 提交于 2019-12-14 02:45:24
问题 Whenever I try to run my Cordova app from Visual Studio 2013 to Mac Simulator, I am facing this error "Cannot POST /build/tasks?command=build&vcordova=4.3.1&cfg=debug 404" in Mac terminal as well in Visual Studio. I am facing this error even if I am building/rebuilding my VS. It seems like it tries to connect to Mac machine but due to some reason it could not able to do so and shows this message/error on Mac as well in VS. On Mac Machine I have run the command vcremote --secure false which in

xcode 4.3.2 process hangs

我怕爱的太早我们不能终老 提交于 2019-12-14 02:13:32
问题 I have run into a rather annoying bug in Xcode 4.3.2. If you run a process from within Xcode, then stop the simulator directly (outside of Xcode), Xcode still shows the process as running and effectively disables any further interaction with the simulator. I can't stop the process from within Xcode (no response), and I can't start a new process either as Xcode sees the simulator as being in use. Shutting down the simulator does not notify Xcode either, so I have no option but to shut down

localizable.strings - works in simulator but not on device

半腔热情 提交于 2019-12-14 02:12:13
问题 I have a problem with my language. I only see the ID_String on my device for each entry defined with NSLocalizedString . All text/images etc. set in the storyborad are shown correctly. If I use the simulator everything is fine! So, I would like to youse NSLocalizedString - to use the option to translate my app maybe later. At this time my app is in german only. I use storybord option. In the options I set the Localization to Germany I add a string file to my project, also with the german

Is execution of ARM assembly in iPhone Simulator or Android Simulator possible?

元气小坏坏 提交于 2019-12-14 01:42:34
问题 Can anybody tell me if it is possible to execute programs using arm assembly language in the simulators? 回答1: It's not possible in the iPhone simulator because it's a i386 application without the capability to emulate another processor. As a consequence, you have to compile your iPhone app to i386 code in order to run it in the simulator. (I can't tell you about Android.) 回答2: The Android emulator, based on QEMU, provides full ARMv5TE emulation. ARMv6/v7, VFP, and NEON are present in the

iphone App: not able to select ios device or ios Simulator for running the project

允我心安 提交于 2019-12-13 17:36:06
问题 For my iphone App i am not able to select ios device or ios Simulator for running the project it is only showing option for mac-64 bit what could be wrong? I am facing this problem after I moved my project from one sesktop system to another. please help and suggest 回答1: Actually I facing this problem beacouse I have renamed the project I could solve it from Manage scheme-> Autocreate scheme now 回答2: Maybe your sdk versions differ, did you try to recreate the project and just import the code.