ios-simulator

Is there an iPhone SE simulator for Xcode 11, iOS 13?

こ雲淡風輕ζ 提交于 2019-11-26 14:48:38
问题 I'm running Xcode 11.0 on macOS Mojave (10.14.6) and though the iPhone SE is officially supported on iOS 13, it doesn't appear in the list of simulators. It can't be added nor downloaded, as far as I can see. Any ideas? 回答1: Xcode 11 doesn't automatically add every possible simulator. But you can add an iPhone SE iOS 13 simulator. In Xcode, click on the Window menu and select Devices and Simulators. Select the Simulators tab. Tap the + in the bottom-left corner. Give the new simulator a name.

Adjusting the Xcode iPhone simulator scale and size [duplicate]

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 14:18:47
This question already has an answer here: How to resize the iPhone/iPad Simulator? 11 answers Is there anyway to make the iOS simulator for iPhone 5 in Xcode, be the actual size of the iPhone 5. I'm getting a huge display and things seemed to be scaled. You can't have 1:1 ratio. Read about screen resolutions. However you can scale it from the iOS Simulator > Window > Scale menu. Good Luck. With Xcode 9 - Simulator, you can pick & drag any corner of simulator to resize it and set according to your requirement. Look at this snapshot. Note: With Xcode 9.1+, Simulator scale options are changed.

How to reset iPhone simulator

社会主义新天地 提交于 2019-11-26 13:55:08
问题 My app uses the location service. To test what is happening when the user presses 'Don't allow' when the simulator asks for the permission to access the location service (when the app is started for the first time) I need to reset the simulator. This because the question was answered at the beginning of the development process with allow. So no more questions are asked. Resetting the Simulator with "Resetting Content and Settings.." don't bring back the question at the start. What I am doing

Unique identifier for an iPhone app

冷暖自知 提交于 2019-11-26 12:36:47
问题 For an iPhone app that submits images to a server I need somehow to tie all the images from a particular phone together. With every submit I\'d like to send some unique phone id. Looked at [[UIDevice mainDevice] uniqueIdentifier] and [[NSUserDefaults standardDefaults] stringForKey:@\"SBFormattedPhoneNumber\"] but getting errors in the simulator. Is there an Apple sanctioned way of doing this? 回答1: What errors are you getting? [[UIDevice currentDevice] uniqueIdentifier] ( edited to fix API,

Simulator slow-motion animations are now on?

浪尽此生 提交于 2019-11-26 12:35:51
问题 A while ago I was experimenting, trying to see if i could get navigation items to animate and scroll between each other. I don\'t know if this is related but suddenly without touching the simulator options I\'m getting this message Simulator slow-motion animations are now on and moving between views is very slow, like 3 seconds. This occurs with all animation effects. Any idea what I need to do to stop this ? 回答1: The shortcut as of Xcode 6 is Command ⌘ + T . This toggles it between on and

Capture iOS Simulator video for App Preview

本秂侑毒 提交于 2019-11-26 12:18:08
问题 Okay, so we can now submit video previews of our apps on the App Store. According to Apple we should do so with an iOS8 device and OSX 10.10. The problem is you have to have all the different devices (4\", 4.7\", 5.5\" and iPad). Is there an alternative to this? I am thinking of capturing a video of the simulator. The problem is the device screen is bigger than my FullHD monitor when shown in 100% resolution. Any solution that can capture a video right from the simulator in full resolution?

What does this gdb output mean?

ぐ巨炮叔叔 提交于 2019-11-26 12:07:00
I've got a button that plays a sound, and it seems to work perfectly fine on the simulator, but i'm getting this message: Error loading /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn: dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: ___CFObjCIsCollectable Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

Cleaning up the iPhone simulator

喜你入骨 提交于 2019-11-26 11:48:42
问题 Is there a straightforward way to clean up the directory where xcode deploys an app when building for the iPhone simulator? I have a sqlite database that gets copied into the Documents folder on startup if necessary. The problem is that I might change my schema, but the new database won\'t get copied, because one already exists. Ideally, every time I build, it would nuke the previous contents. Is this possible, or do I have to manually do it? 回答1: The simulator installs apps into: "$HOME

How to “Delete derived data” in Xcode?

馋奶兔 提交于 2019-11-26 11:48:39
In Xcode5 there is simple option to Delete derived data: In organiser menu ( cmd + shift + 2 ): But with new interface of Xcode6 there is no similar options. Is there any quick methods to delete this trough Xcode6 interface? Or now I should remove this folders in system manually? vladof81 Pressing Cmd + Shift + 2 In Xcode 6 will present Devices, which is separated from Organizer . Instead you can go Window , then Organizer , then find your project in Projects to delete derived data. You may set a short key in Key Bindings for quick access to derived data. Update: in Xcode 6.3 (and 7) there is

iOS 8.1 Simulator always uses US keyboard layout despite german hardware keyboard

笑着哭i 提交于 2019-11-26 11:46:52
For some reason, I cannot enter text with my native german keyboard into iOS Simulator any more. After downloading Xcode 6.1 (which contains iOS 8.1), I was stuck with the US layout. I tried things like changing all Hardware/Keyboard settings, deleting ~/Library/Preferences/com.apple.iphonesimulator.plist , and resetting the iOS simulator. Nothing helped! Should I reinstall the complete package? dobiho It's iOS 8.1 Simulator's bugs. I could tested language by setting the "Application Language" in the used scheme. Go to Product > Scheme > Edit Scheme... or press cmd + Y. Source: Answer of