ios-simulator

PhoneGap / Cordova scrollTo Ignored

徘徊边缘 提交于 2019-12-24 00:49:37
问题 I'm using Cordova 1.9.0 on iOS and loading an external site into the UIWebView container. Everything runs at it should however if you scroll down the page and click a link the next page loads at the same scroll position rather than at the top of the page. I have been unable to force it to load the pages at the top so now I'm trying to use: window.scrollTo( 0, 0 ); However this seems to be completely ignored when run in the simulator and on the phone whereas it works fine in Safari on the

Install simulator SDK 8.0 manually in Xcode7.0

喜你入骨 提交于 2019-12-24 00:38:12
问题 It is known that Xcode 7.0 does not support the iOS 8 simulator any more. So when I go to the download preferences I only find the iOS 8.1 simulator and higher. But I really need to test my code on iOS 8.0 and I don't have any device supporting that version, so I need to do this from the simulator. I downloaded Xcode 6.0.1 (to extract the iOS 8.0 simulator) and installed it in my applications, but I could not run Xcode (since it cannot be run on El Capitan). So what I tried to do is copy

“iOS 6.0 Simulator” not visible/installable in Xcode 5.0.2

自闭症网瘾萝莉.ら 提交于 2019-12-23 19:24:36
问题 Today I did a clean install of Mavericks (10.9.1) on my Mac. After that, I installed Xcode 5.0.2 from the Mac App Store. When Xcode was done installing, I opened Preferences > Downloads to install the extra components and documentation. Strangely, iOS 6.0 Simulator was not listed there: When running iOS Simulator, I can only choose to run 7.0.3 or 6.1, so 6.0 is really not yet installed. A week ago I installed Xcode on another Mac (also running Mavericks); at that time it was no problem to

iOS Simulator failed to install application

走远了吗. 提交于 2019-12-23 19:08:14
问题 My Xcode project started to give "iOS Simulator failed to install the application" I'm using iOS Simulator 7.1. The simulator runs any other project. I've read other entries in stack overflow and I've tried to delete ~/Library/Application Support/iPhone Simulator from terminal, reset from "iOS Simulator/Reset Content and Settings" menu, shutdown and restart Maverick but result was the same. Help please! Update: When I try to upload my application to a real device I got this error: "Could not

XCode “This app could not be installed at this time.”

牧云@^-^@ 提交于 2019-12-23 18:50:06
问题 I'm running into minor annoyance with XCode when building one of my targets, build is successful but once it comes to launching it in simulator I get this prompt This app could not be installed at this time. This happens only when app was installed on the simulator before hand i.e. removing it and building again works fine. This issue doesn't happen when I run my original target. 来源: https://stackoverflow.com/questions/48707048/xcode-this-app-could-not-be-installed-at-this-time

Is there a way to get iOS 7 simulator on Xcode 8 beta

眉间皱痕 提交于 2019-12-23 10:09:34
问题 I just updated my Xcode to beta version (8.0) and I lost the iOS8 prior simulator that I had in the previous version. I still need the iOS 7 SDK and iOS 8.Appreciate any help 回答1: No. The iOS 7.1 Simulator runtime is not supported on macOS 10.11 and newer. Xcode 8 requires macOS 10.11 or newer. Thus they are not compatible based on the host OS requirements. 回答2: No,this is no way to install iOS7 in Xcode 8, because they are different runtime 来源: https://stackoverflow.com/questions/38091801/is

iOS: Facebook Comments Plugin mobile keeps reloading

对着背影说爱祢 提交于 2019-12-23 09:59:20
问题 Recently I have been trying to integrate Facebook Social Plugins into a custom UIWebView in iOS for commenting a webpage. I have added the Like Button as well as the Comments plugin. Here is the HTML code I load into the web view: <html> <body> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode

is iphone Simulator capable of showing heading and latitude , longitude?

浪尽此生 提交于 2019-12-23 08:52:41
问题 I am using iphone simulator 4.2 and try to display or NSLog Heading and other Location services attributes e.g. Latitude, Longitude, altitude, horizontalAccuracy, VerticalAccuracy, speed. but its not showing the correct parameters and Incase of Heading its actually not firing the event. as its execute CLLocation code - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation { [self.delegate locationUpdate

Why am i getting this clang error: _fwrite$UNIX2003 on simulator with iOS 8

旧巷老猫 提交于 2019-12-23 07:47:41
问题 I have downloaded the new iOS 8 into both my phone and the latest Xcode onto my Mac. It all works fine but after loading up and trying the new iPhone 6 plus simulator when I try the iPhone 4s or 5 simulators (it works with 5s) I get the following error: Undefined symbols for architecture i386: "_fwrite$UNIX2003", referenced from: leveldb::(anonymous namespace)::PosixEnv::~PosixEnv() in Firebase(env_posix.o) leveldb::(anonymous namespace)::PosixEnv::~PosixEnv() in Firebase(env_posix.o) ld:

How to scroll in iOS Simulator on mac book air?

对着背影说爱祢 提交于 2019-12-23 07:27:59
问题 I have a scroll view and and an embed UIImageView. Code is right but I can not scroll in the Simulator likely because I have a trackpad, not a mouse. Or can I? 回答1: You can click the trackpad and drag (as other folks have said), or if you have "Three finger drag" enabled in Trackpad preferences, you can scroll with three fingers. Here's a guide to all of the gestures in the simulator: iOS Simulator User Guide 回答2: You need to enable 3 finger drag: From the Apple menu, choose System