ios-simulator

Where does the iPhone simulator keep it's tmp/ files?

好久不见. 提交于 2019-12-11 21:28:12
问题 I'm running my iPhone app on the simulator to record my voice. It saves the recording to a .wav file, but I don't know where that is on my machine. Any help? EDIT 1 Please keep in mind that I'm trying to 'simulate' the experience on a device. So my use of directories is crucial. See my output to the console: EDIT 2 This is really strange. I just tried to record my voice with the Speak Here example project ('out of the box') and it worked (played back my voice and everything). Yet when I use

How to import self-signed certificate in iOS 11 to build the app instead of adding to simulator manuelly after building?

穿精又带淫゛_ 提交于 2019-12-11 18:54:07
问题 I'm currently getting this "SSL error" on the simulator of my app. Error Screenshot I have my own self-signed certificate. And this problem can be solved by installing the cert file manually on the simulator. However, we are trying to avoid manually installing the certificate to the simulator (drag and drop) every time after building the app. And instead, I want to find a way to import the certificate file into our ios app bundle. I followed this article and tried with the following way, but

Warning: NSBundle NSBundle (not yet loaded) was released too many times in iOS simulator

你离开我真会死。 提交于 2019-12-11 18:13:11
问题 I'm getting this error when I try to test my app. If I completely close the simulator and re-launch, I can get past it temporarily, but it always comes back after one or two launches. Does anyone know what this is or how to fix it? Warning: NSBundle NSBundle (not yet loaded) was released too many times. For compatibility, it will not be deallocated, but this may change in the future. Set a breakpoint on __NSBundleOverreleased() to debug Also, how would I set a breakpoint as suggested? I only

enabling iPad pro in xcode/simulator

巧了我就是萌 提交于 2019-12-11 18:08:56
问题 I have an existing iPad project which I want to enable to be used on iPad-pro. In my "Project target" I set my "iOS Development Target" to 9.1 and made sure that in my individual app targets the same development target has been set. However when I choose iPad pro form the simulator and run the project my screen size is still set to the standard iPad size the screen size:(0.0, 0.0, 768.0, 1024.0) Could someone point me to what else I should be doing. My project is a combination of objective-c

mp3 Sounds Playing on simulator but not on Device (Audio BeatBox)

旧巷老猫 提交于 2019-12-11 16:58:26
问题 I Have a really serious Problem on my end: Im Making an Audio Synchronized BEATBOX with 16 different sounds playing at the same time. In Order to Implement the TIME-SYNC of the mp3 files we gave up on the AVAudioPlayer and included the AUGraph Method of: MixerHostAudio.m and MixerHostAudio.h which I Downloaded at the Developer Resources form Apple. The Implementation worked fine for the Simulator, but not on Device, which CRASHED after loading the 4th file... we Were Loading the Files as

simulator .app for ios 10 not working in ios 8

烂漫一生 提交于 2019-12-11 16:32:04
问题 Basically I ran my project into iOS 10 and copied the .app from there and tried to run it on iOS 8 simulator on a different machine but its not getting installed. But ideally it should get installed and run perfectly. so ios 10 simulator .app is compatible with only iOS 10 for iOS 8 we again have to run it on iOS 8 simulator and copy it over can anybody put some light on this problem 回答1: You need to set the app's deployment target appropriately and properly handle the usage of API that is

iOS 12: Application freezes during start up

岁酱吖の 提交于 2019-12-11 15:43:19
问题 I am testing my app on iOS 12 with XCode 10 (the official non-beta release). During start-up in the simulator the UI of my app freezes for almost exactly 3 minutes in the middle of the fading from the launch screen to the normal screen. Does anybody know what could be causing this, or is it a bug in the simulator? The app itself does not hang, only the UI. Any timers will still fire. Any busy thread will continue normally. If I rotate the phone, then the rotating notifications still arrive

Can't set Background for buttons iOS

落爺英雄遲暮 提交于 2019-12-11 14:38:30
问题 I made a simple app using the storyboard feature. I have made some UIButton s and I want to change the background of my UIButton s. In the storyboard the background successfully changes but in the actual iOS simulator my background does not change. 回答1: Here are some suggestions for you: If you set image programatically than check image name spelling, It should be match exactly with bundle image name(case sensitive). You have to add two images in your bundle. e.g if image name is nature.png

Testing different screen resolutions in Universal (iPad,iPhone,iPod) app development

泄露秘密 提交于 2019-12-11 14:36:52
问题 I notice when submitting a Universal app to the app store, there are various screen resolutions to support. I think iPhone/iPod: 320x460, 320x480, 640x960 and iPad 768x1024. When I specify Universal app development in Xcode, the simulator has a resolution of 320x480. To view 768x1024 screen resolution, I can change the target setting to iPad, but how to test 320x460 and 640x960 resolutions? My default solution is to target iPad, and manually hack my code, e.g.: SCREEN_WIDTH=640, SCREEN_HEIGHT

Tab Bar and Nav Controller: Where did I go wrong in my Interface Builder wiring?

烂漫一生 提交于 2019-12-11 14:09:40
问题 I've been working on an iPhone application in XCode and Interface Builder of the Tab Bar project type. After getting a table view of topics (business sectors) working fine I realized that I would need to add a Navigation Control to allow the user to drill into a subtopics (subsectors) table. As a green Objective-C developer, that was confusing, but I managed to get it working by reading various documentation trying out a few different IB options. My current setup is a Tab Bar Controller with