ios-simulator

3D Touch on Xcode 8 & Simulator 10

老子叫甜甜 提交于 2019-12-23 07:20:18
问题 I've read a ton of threads debating if 3D touch is available on the latest Xcode 7 versions. The consensus was that it's possible but only with a 3D phone or trackpad. My question is if with the new Xcode and Simulator, has that changed? I'm on a 2012 MacBook running Sierra: I can see some force touch options: But can I somehow enable those options so I can starting testing my 3D Touch code? 回答1: To test 3D touch in the simulator, you would need a force-touch trackpad (i.e. a MacBook with a

Xcode 10 Could not find any available simulators for iOS when install Carthage dependencies

喜你入骨 提交于 2019-12-23 06:47:14
问题 I'm trying to install Carthage dependencies in my Xcode project with the Carthage bootstrap --platform iOS command line but It's fail and I have this message in my terminal: Could not find any available simulators for iOS I've just updated Xcode with the 10 version then the simulators are already installed. I've also tried to delete each one and reinstall only one with iOS 12. I have still the same error. 回答1: What worked for me was uninstalling Carthage and installing it again. brew

Getting old OS versions on the Xcode iOS simulator [duplicate]

折月煮酒 提交于 2019-12-23 05:23:28
问题 This question already has answers here : Install iOS 6 simulator on Xcode 6 (3 answers) Closed 4 years ago . Every simulator that I have on Xcode runs on version 8.4 but I want to test on iOS 6 and 7. I've done what this answer recommends: https://stackoverflow.com/a/8477254/1282637 However, when I go to Xcode -> preferences - downloads, the only non-iOS 8 version available is 7.1: Is there a way I can download an iOS 6.x.x simulator? Thanks! 回答1: In Xcode 6 , iOS simulator for iOS version 6

How to zoom an image without zooming sub views in iPhone?

北慕城南 提交于 2019-12-23 04:43:09
问题 I have scroll view with an UIImageView init.I add a button on UIImageView.When i zoom the image then my button is also perform zooming.How can i only zoom the Image not the button.Thanks in advance for you time. 回答1: Place the button and any other views you do not want to be affected by the UIScrollView zooming in a view at the same level as the UIScrollView . Here's an example view hierarchy that was set up for just this purpose. The scroll view and anything inside it will zoom (in this case

iOS Simulator in Sierra - Studio Midi does not work

蓝咒 提交于 2019-12-23 03:28:06
问题 I am encountering very bad problem using Sierra + xcode 8 + iOS Simulator: I develop midi application, but now , when I start the iOS Simulator I get no midi-port available, I mean: Usualle using Studio Midi is possible to see the virtual iOS device, plus you can see se the session, typically named Session 1. being this is possible to re-route the MidiNetwork ( midi_driver ) to a physical port, but now, using Sierra the iOS Simulatore is not visible no longer, and I do not know ( and where to

How can I set the Inital Orientation for a UISplitViewCOntroller-based iPad App

試著忘記壹切 提交于 2019-12-23 03:23:26
问题 I have a split view app running fine on the iPad. It is using the default setup (Popover in Portrait, table view on the left in landscape). The views shift correctly once the app is running. The problem I am seeing is that when the app starts (in the simulator) running in landscape mode the UI paradigm is the one intended for Portrait mode (Master List is a popover) is what loads. I am thinking this is some strangeness with the simulator, or I am missing an option on my main view controller.

How can I set the Inital Orientation for a UISplitViewCOntroller-based iPad App

十年热恋 提交于 2019-12-23 03:23:07
问题 I have a split view app running fine on the iPad. It is using the default setup (Popover in Portrait, table view on the left in landscape). The views shift correctly once the app is running. The problem I am seeing is that when the app starts (in the simulator) running in landscape mode the UI paradigm is the one intended for Portrait mode (Master List is a popover) is what loads. I am thinking this is some strangeness with the simulator, or I am missing an option on my main view controller.

I have edited UIImagePickerController.h by mistake . now i am getting errors in my project as below

天涯浪子 提交于 2019-12-23 02:49:05
问题 UIKit.framework/Headers/UIImagePickerController.h' has been modified since the precompiled header '/Users / Library/Developer/Xcode/DerivedData/ModuleCache/2gh/UIKit.pcm' was built. I also got " note: after modifying system headers, please delete the module cache at '/Users/Library/Developer/Xcode/DerivedData/ModuleCache/2PG1NJRUR3TN0' 1 error generated. " I restarted my xcode5 , but it is not working. 回答1: In Your /Users/dipenchudasama/Library/Developer/Xcode/DerivedData delete all contain

Simulate Low and Hight Gps Accuracy

爷,独闯天下 提交于 2019-12-23 02:20:09
问题 I did a .gpx file to simulate a route on IOS simulator, now i wanna simulate the horizontal accuracy how I can do this? as follow is an excerpt of my .gpx file: <?xml version="1.0"?> <gpx> <wpt lat="-23.772830" lon="-46.689820"/> //how add horizontal accuracy 7 meters for example <wpt lat="-23.774450" lon="-46.692570"/> //and here horizontal accuracy of 2 metters for example <wpt lat="-23.773450" lon="-46.693530"/> //and here 19 meters </gpx> if I run all gps points return horizontal accuracy

Xcode 6.0.1 iOS 8 simulator not able to access : Unable to boot device in current state: Creating

谁说我不能喝 提交于 2019-12-23 01:37:10
问题 This error is always happening: Unable to boot device in current state: Creating I have tried many more but last two days no result. 回答1: This is a known issue that can be caused by renaming Xcode.app or deleting an older Xcode.app and later running one at a different location. The "new" Xcode.app was trying to create a device but certain data needed to create the device was unavailable (because Xcode.app was deleted), and we leave the device in that state and force manual resolution to avoid