ios-simulator

UITextView setBorderStyle crashes in iOS 5 Simulator

自闭症网瘾萝莉.ら 提交于 2020-01-02 16:16:21
问题 I have a strange situation in one view controller where this line crashes in the iOS 5 simulator: // myTextField is created in a NIB myTextField.borderStyle = UITextBorderStyleNone; It's okay in the device (and both device and simulator on iOS 4.3). I've checked the connections in the NIB (even deleted and reconnected). myTextField has a retainCount of 2 at this point in the code. I'm setting other attributes (e.g., "text" and "userInteractionEnabled" prior to this point, and those do not

iOS: Facebook Login access token error: Falling back to loading access token from NSUserDefaults because of simulator bug

拟墨画扇 提交于 2020-01-02 04:51:05
问题 After configuring it based on the instructions I keep on getting this error and I am unable to successfully use Facebook Login on my app. I am running it on XCode 8.1 and using an iOS 10.1 simulator. I followed the steps on the Facebook iOS SDK guide and put the Facebook login button in my view controller. I displayed the NSUserdefaults and one of the keys is "com.facebook.sdk:serverConfiguration" so I believe it is saving there. - (void)viewDidLoad { [super viewDidLoad]; if (

No iOS 13 simulator in Xcode 11 beta 5

╄→尐↘猪︶ㄣ 提交于 2020-01-02 03:15:29
问题 I have installed Xcode 11 beta 5 and create a sample project There is no iOS 13 simulators available: When I go on Add simulator -> Download more simulator iOS 13 is not available in list: What should I do to install an iOS 13 simulator? 回答1: I'm not sure why it is happening, but you can create new simulators and it will work Click Add Additional Simulators from the menu where you would normally select the simulator (where you select your target) Click the + icon in the bottom left Create a

Can a real iOS device and Watch Simulator communicate for Testing purposes

心不动则不痛 提交于 2020-01-02 01:16:05
问题 I want to create a watch app for an existing iOS app. But I am in a situation that i don't own a apple watch and my existing iOS app will run only on real devices not on simulator. Is it possible to run the app on the iphone device and test my watch app in the watch simulator? 回答1: Pairing a real iPhone and a Watch simulator is not possible at least at the moment. I make this conclusion because of 3 reasons: A Watch simulator automatically pairs to an iPhone simulator during the installation

Xcode 8 beta simulator fails to run app after accidentally running Xcode8 simulator

一世执手 提交于 2020-01-02 01:08:12
问题 "Failed to initiate service connection to simulator" Tried to clean app, reinstall it, delete derived data, reset simulator settings, restart xCode. I've also heard other people solved problems with their simulators by recreating the simulator. I tried that as well. When I press create, I get the very same error message: "Error returned in reply: Connection invalid" 回答1: Even this occurs on Xcode 8.0 stable version. Got it solved by closing Xcode 7 and its simulator. It seems that when you

iOS8 Simulator: Proxy authentication pop up not being shown

半腔热情 提交于 2020-01-01 19:37:49
问题 The corporate network which I am using is having "proxy" set up to connect to internet. I made the necessary changes in Network settings in mac and I am able to see websites loading in Safari (I have entered the credentials and saved in KeyChain also), but when I try to access the sites via iOS simulator, the connection fails and asks for authentication but the problem is that no pop-up is being shown so that I can enter the username and pwd. I have seen the pop-ups in iOS6 simulator and it

Error: SDK “iphonesimulator9.0” Cannot be located

风流意气都作罢 提交于 2020-01-01 09:43:49
问题 I recently updated Xcode to 7.1 And downloaded iOS 8.4 And iOS 9.0 Simulator. When I run xcodebuild -showsdks I get OS X SDKs: OS X 10.11 -sdk macosx10.11 iOS SDKs: iOS 9.1 -sdk iphoneos9.1 iOS Simulator SDKs: Simulator - iOS 9.1 -sdk iphonesimulator9.1 tvOS SDKs: tvOS 9.0 -sdk appletvos9.0 tvOS Simulator SDKs: Simulator - tvOS 9.0 -sdk appletvsimulator9.0 watchOS SDKs: watchOS 2.0 -sdk watchos2.0 watchOS Simulator SDKs: Simulator - watchOS 2.0 -sdk watchsimulator2.0 I want iOS Simulator SDKs

Xcode 6 / iOS 8 Simulator Data and Bundle folder script

柔情痞子 提交于 2020-01-01 08:43:48
问题 With the latest changes to xcode 6, it looks like the .app file and document folder no longer resides in the same folder in the iPhone simulator directory. Previously, we can access the directory and .app file at /Users/me/Library/Application Support/iPhone Simulator/7.1/Applications/SomeCrpyticNumber but in Xcode 6, the simulator directory is completely different: ~/Library/Developer/CoreSimulator/Devices/CrypticNumber1/data/Containers/Bundle/CrypticNumber2/MyApp.app and ~/Library/Developer

iPhone 6.0 simulator not showing home button or frames

筅森魡賤 提交于 2020-01-01 08:39:27
问题 When I run the iOS Simulator (iPhone running iOS 6.0), it does not show the home button or frames. I have installed Mac OS X and Xcode on a VMware instance. 回答1: Increase the scale of iPhone simulator to 100% Or other option is Use Command window+shift+h this will work like you press home button 回答2: There isn't any Home button or Frame for iPhone 5 (iOS 6). To go to the Home Screen do these Steps: Simulator Hardware Home The only Possible way to get the frame is taking the iPhone simulator

Xcode 9.0 simulators “disappeared”

落爺英雄遲暮 提交于 2020-01-01 07:46:22
问题 I recently installed Xcode 9.0 GM on my machine. I fired it up to play around and the only simulators I see in the scheme are iPhone 8, iPHone 8 Plus, and iPhone X. I clicked "Download Additional Simulators" thinking the solution would lie there. I'm greeted with this screen, which is everything I previously had installed. I dug around on the Apple Developer forum and found this post discussing a similar problem with a prior version of iOS. At the suggestion of one of the posters, I powered