ios-simulator

Use Jmeter proxy to record HTTP calls from iOS simulator

主宰稳场 提交于 2019-12-04 12:09:21
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 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=uZFch4B5Ivc (technical stuff starts at 13 minutes in) Here is a blog with details for Android (it's the same

iOS Simulator interface blurry in Xcode 6 GM iOS 8

三世轮回 提交于 2019-12-04 11:43:47
I've been testing my apps under the iOS 8 Simulator in Xcode 6 GM but for some weird reason, the app interface is displaying blurry, like its been slightly zoomed. Even the status bar is zoomed in the same way. Edit: When the Launch Image loads, the zoom is correct and everything including the status bar is sharp, but then once the app loads fully, everything zooms. Has anyone else noticed this or have a fix? Thanks! I suppose you have not added launch images for iphone 6 and iphone 6 plus. In that case ios 8 opens app in scale mode. Just add them through catalog assets. 来源: https:/

Iphone Simulator Xcode 6 on IOS 8 visualize two black bars

笑着哭i 提交于 2019-12-04 11:16:26
I have tried new app in Xcode 6 and not use storyboard. But when I have ran the app, with Iphone 5,5s,6 and 6 plus, in Iphone Simulator visualize two black bars on the top and below. Only Iphone 4s there aren't black bars. Do you have an idea to resolve my problem? Thanks You need to add a Default-568h@2x.png image file that is 640x1136 to your project. I added an all black one that was in an older project. I didn't have to set anything else, which was nice. If you are building for iOS8 and later you can just use the LaunchScreen.xib instead. In my case I was using jpg pictures for the default

UIViewController's viewDidAppear not being called after a modal close

你。 提交于 2019-12-04 10:26:04
A UIViewController (View A) invokes another view controller (View B) by invoking it as a modal control. [self presentModalViewController:ViewB animated:TRUE]; And View B exists by invoking: [self dismissModalViewControllerAnimated:TRUE]; When this occurs everything looks right EXCEPT that View A's viewWillAppear and viewDidAppear does not get called (they are called during app init though). Weird thing is... i believe ive done this before, but im not sure what is going on now. Is there anything obviously wrong that im doing? Thanks! * UPDATE * I just now learned that this behavior only occurs

App is behaving different on iPhone 5.1 simulator and real iPhone 4 with iOS 5.1

不想你离开。 提交于 2019-12-04 09:54:36
问题 In a nutshell: When the title of a back-button of a navigation controller gets changed, in some cases the old title is stuck and the new title will not be displayed. This happens only in some reproduceable situations, while it works as designed in other situations. It depends on the hardware The error happens on iPhone 3G (iOS 4.2.1) and in the simulator (iOS 5.1) With identical sourcecode there is no error on iPhone 4 (iOS 5.1) It depends on the word that is written to the title When the

Xcode 10 simulator runtime is not available: runtime profile not found error

北战南征 提交于 2019-12-04 08:50:28
问题 While trying to run the simulator with iOS 11 in Xcode 10 Version 10.1 (10B61), sometimes this error occurs: " The com.apple.CoreSimulator.SimRuntime.iOS-11-4 simulator runtime is not available. runtime profile not found " The 11.4 simulator runtime is an external disk and it's well connected. Maybe that happens when I connect the external disk after opening the Xcode. How can I refresh the list of the available simulator runtime profiles? 回答1: Just run sudo killall -9 com.apple.CoreSimulator

Xcode 4.5 doesn't run / load app on simulators or device

旧城冷巷雨未停 提交于 2019-12-04 08:48:38
I'm running Xcode 4.5 on OS X Lion 10.7.5 on a Mid 2007 Mac Mini. I've run into this problem before where the simulators as well as actual devices don't run the app when I build. I'm writing a couple of different applications using Phonegap 2.1, HTML, JS, Jquery Mobile. I've reinstalled Xcode 2-3x after following the instructions from OSX Daily and SO How to fully remove Xcode 4 . This worked for a while, but then my 300gb SSD drive died & I had to reinstall the OEM 120 GB hard drive & reinstall Xcode & Phonegap (both had revved versions since the drive had been uninstalled). Now I'm unable to

Running iOS app on a different Mac / simulator

删除回忆录丶 提交于 2019-12-04 08:46:30
问题 I have built a demo iOS app on my Mac. My client wants to get the executable and run it on his iOS simulator on his Mac so as to give me feedbacks. I have an Apple developer account and I can deploy my app to my iPad / iPhone or distribute it via AppStore. But I don't know how to generate an iOS simulator executable for him. He only wants the iOS simulator executable. Does anyone have tried this before? P.S. I can't really distribute it via AppStore since it is just a demo app. It is very

Is the iPhone Simulator UDID unique for each installed instance?

二次信任 提交于 2019-12-04 08:37:13
问题 i.e. does this call: NSString *udid = [UIDevice currentDevice].uniqueIdentifier; return always the same UDID when it is executed on the iPhone Simulator on any mac computer or not? Currently the iPhone Simulator on my computer returns "2BA99337-3AE2-5234-93DA-193703B876F8". 回答1: My UDID is reporting as 03B41D62-FB69-5B6D-A95E-473842F4DFE3 from the iPhone Simulator, so it looks like you're correct. 回答2: The UDID of the simulator is actually the same as the UDID of your Mac. You can easily

Unable to install and run iOS app on Simulator from command line - Simulator of iOS 6.1 Xcode 5 on mavericks

一个人想着一个人 提交于 2019-12-04 08:35:31
I've tried various methods and scripts to launch my iOS compiled app via commandline but unable to do so, help will be appreciated. I tried the following: This command line: ./Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication App.app/App This shell script Attempted on: Simulator app v7.0 iOS 6.1 Mac OSX Mavericks No luck :/ You could use ios-sim (can be installed via Homebrew brew install ios-sim ): ios-sim launch <application path> 来源: https://stackoverflow.com/questions/21599419/unable-to-install-and