ios-simulator

React Native Build Commands Failed: PhaseScriptExecution … (domain=NSPOSIXErrorDomain, code=2)

限于喜欢 提交于 2019-12-21 03:18:08
问题 Environment Mac OS X Version 10.11.3 (15D21) Xcode Version 7.2 (7C68) Simulator Version 9.2 (SimulatorApp-643) react-native-cli 0.1.10 node v5.5.0 What I did before running the app npm install -g react-native-cli react-native init DemoProjectDELETEME cd ./DemoProjectDELETEME react-native run-ios I am new to React Native . When I try to run the default app on iOS simulator I got the following errors. I found a similar issue but it does not solve my problem. Xcode6 can't run any app in

How to get UIAutomation, Simulator, and Xcode Debugger Running at the same time?

混江龙づ霸主 提交于 2019-12-21 02:59:09
问题 Can anyone point me to the documentation on how to make Instruments run UIAutomation scripts and start the iPhone application with the debugger running in the Simulator? Constraints: I only have iPhone 3g hardware to test with and debugging against the device with UIAutomation just does not reliably work. Normally the test scripts are just ran to make sure everything passes, but now a weird bug exists that only gets triggered when the UIAutomation script runs (which is a good thing). The bug

iOS Simulator takes extremely long time to boot first time

隐身守侯 提交于 2019-12-20 23:22:30
问题 I'm trying to run an iOS simulator (Xcode 7.0.1, OS X Yosemite). However, the first time I run the simulator, it takes a very long time to boot up (80-120 seconds), which is causing my automation testing to time out. If I close the simulator and re-launch the same one, it will boot up in about 5-8 seconds. Launching a different device will cause the long boot up time again. I have tried resetting the content and settings of the simulator, deleting and re-downloading simulators, and

Xcode 7.1 Simulators Constantly Freezing When I Use Them

你离开我真会死。 提交于 2019-12-20 17:39:03
问题 Recently (today and yesterday) my simulators have begun to freeze every single time I open them. I'll start my app up, and within a minute, even less, the entire simulator freezes and I get the spinning wheel of death. If I wait it will unfreeze and do the task, only to freeze again seconds later. If I restart my computer it'll work for maybe 5 minutes before freezing, same if I reset the simulator. However, it always goes back to freezing on me. This is extremely frustrating, as you can

Xcode 7.1 Simulators Constantly Freezing When I Use Them

☆樱花仙子☆ 提交于 2019-12-20 17:38:09
问题 Recently (today and yesterday) my simulators have begun to freeze every single time I open them. I'll start my app up, and within a minute, even less, the entire simulator freezes and I get the spinning wheel of death. If I wait it will unfreeze and do the task, only to freeze again seconds later. If I restart my computer it'll work for maybe 5 minutes before freezing, same if I reset the simulator. However, it always goes back to freezing on me. This is extremely frustrating, as you can

Where is my app document folder in Xcode 9 simulator

前提是你 提交于 2019-12-20 15:39:13
问题 Where is my app document folder in Xcode 9 simulator? I tried the old answers for Xcode 8, it's not there. And why Apple makes it so difficult to see the sandbox of our apps in simulator? 回答1: I found it in the following path. ~/Library/Developer/CoreSimulator/Devices/(SIMULATORID)/data/Containers/Data/Application/(APPLICATIONID) You can also look into this application for more details. List of simulator devices can be found in the below path: ~/Library/Developer/CoreSimulator/Devices/ Below

Run .app file in iOS 8 simulator

安稳与你 提交于 2019-12-20 12:37:25
问题 I have a .app file shared from a developer which i would like to run in iOS 8 simulator. I have seen similar questions which has solutions for older versions of iOS which is no longer working for iOS 8. Can someone point out what needs to be done to run the .app file in an iOS 8 simulator without using xcode. 回答1: Boot the simulator you want to install it to in the iOS Simulator and then do the following: xcrun simctl install booted /path/to/Your.app xcrun simctl launch booted com.yourcompany

How to import contacts from Mac OS X AddressBook into iPhone Simulator

混江龙づ霸主 提交于 2019-12-20 12:35:35
问题 Is there a way to import contacts automatically from my Mac OS X Address Book into the iPhone Simulator Contacts app? Or vCards or anything like that? I'm building an app that displays contacts in various ways and I'd like to have a way to have lots of contacts without typing them all in myself. 回答1: This solution worked for me, and was incredibly easy. The question asks about how to get Mac OSX contacts into the iOS Simulator. If you sync your iPhone with your Mac, then perform an

Can In App Purchases be tested in the IOS 8 (Xcode 6) Simulator?

試著忘記壹切 提交于 2019-12-20 11:37:07
问题 I keep finding conflicting information about whether In App Purchases can actually be tested on a simulator using Xcode 6. Some answers say ' yes ', others seem to indicate there are a bug in beta versions of Xcode 6 and others flat out ' no '. I have an app where IAP works great on the device, but in the simulator, trying to refresh the receipt fails with a very unhelpful message: Error Domain=SKErrorDomain Code=0 "The operation couldn’t be completed. (SKErrorDomain error 0.)" . My app was

How to remove older unneeded devices?

梦想的初衷 提交于 2019-12-20 10:49:09
问题 So this is related to a prior question I posted - how to remove 4.3 simulators. I stupidly installed the iOS 5.0 Simulator, and now the technique offered in my last post does not work. When you remove the 5.0sdk, then restart Xcode, it forces you to install the legacy simulators or quit. I even deleted Xcode 4.4 and re-installed it to no avail (it must store my unfortunate choice deep in the preferences file). The reason I want to get rid of it is that the Scheme popup now has 5 options in it