ios-simulator

Automated testing for iPhone [closed]

我们两清 提交于 2019-11-26 08:39:57
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I know this one is going to be a long-shot, but I thought I\'d try. Does anyone know of any automated test anything for the iPhone

didFailToReceiveAdWithError not working for iOS 8 simulators

∥☆過路亽.° 提交于 2019-11-26 08:28:28
问题 My iAd/AdMob mediation works fine with all iOS 7 simulators and devices. However, iOS 8 didFailToReceiveAdWithError method doesn\'t work for any simulators but it works for iOS 8 devices. Problem is I don\'t have an iPhone 6/6+ device to test. So i\'m counting on iOS 8 simulator. -(void)bannerViewDidLoadAd:(ADBannerView *)banner{ [UIView beginAnimations:nil context:NULL]; iAd.frame=CGRectOffset (iAd.frame 0, -667); [UIView commitAnimations]; [UIView beginAnimations:nil context:NULL]; iAd

Install Simulator SDK 4.3 to Xcode 4.4 on Mountain Lion

帅比萌擦擦* 提交于 2019-11-26 08:04:03
问题 I want to install SDK 4.3 in xcode 4.4 on mountain lion (os x 10.8), but when I installed the 4.3 sdk package from xcode 4.1 and launched the simulator from xcode 4.4, the simulator just told me that the ios simulator could not find the sdk. The sdk may need to be reinstalled, which means it couldn\'t run! What\'s wrong with xcode 4.4 GM? Are there any ideas about how to solve this kind of problem? 回答1: I've looked into it, and this is a deliberate behavior from Apple. Here is an (edited)

How to fix Xcode “DTAssetProviderService could not start..” error?

南楼画角 提交于 2019-11-26 07:37:40
问题 I have upgraded macOS Sierra Developer Preview, but my Xcode 7.3.1 gives below error while try to run my project on simulator. In addition Generic to archieve gives another error like: In addition for archive: a cryptographic verification failure has occured. How can I fix this? I have tried before Xcode 8.0 Beta, uninstall it deleting derivedData and reset content simulator but still occurs this error. Update: I want to share an information who want to use Sierra now. If you decide to do

How can I install a .ipa file to my iPhone simulator

末鹿安然 提交于 2019-11-26 06:56:47
问题 I have an iphone simulator running on my Mac. I have a .ipa file, can you please tell me how can I install it on the simulator? 回答1: You can't. If it was downloaded via the iTunes store it was built for a different processor and won't work in the simulator. 回答2: I found an .ipa file that I wanted using iTunes and copied it over to my desktop. After that I changed the extension to .zip and extracted it. Next I found the Payload folder and moved the application inside to my desktop. Finally I

How can I get the console logs from the iOS Simulator?

感情迁移 提交于 2019-11-26 06:54:24
问题 I want to see what happens in the iOS Simulator if I\'m not testing the app in Xcode. For example, if I open a link in the Safari simulator, see what happens in the console, or if I install a web-app, see the links that I\'m pressing in console. How can I do this? I want to see it in Xcode or Terminal, but it\'s not a problem if I need to use another bit of software. 回答1: iOS Simulator > Menu Bar > Debug > Open System Log Old ways: iOS Simulator prints its logs directly to stdout, so you can

Does the iPhone simulator in Xcode support Bluetooth Low Energy?

回眸只為那壹抹淺笑 提交于 2019-11-26 06:35:45
问题 I\'m trying some iOS test applications on the new Mac mini, that supports Bluetooth Low Energy. The CoreBluetooth framework is used in those. However, I\'m not able to get Bluetooth working in the iPhone simulator, that is part of Xcode. When I allocate a new CBCentralManager, centralManagerDidUpdateState: receives CBCentralManagerStatePoweredOff which stands for Bluetooth is currently powered off. The first time I ran the text application, a box was then opened up that looked pretty bugged

Sound not working in iPhone Simulator?

穿精又带淫゛_ 提交于 2019-11-26 06:32:02
问题 Somehow my iPhone Simulator is unable to play sounds. First an app I\'m working on using AudioServicesPlaySystemSound() stopped working.. I spent a while debugging this but sound is still working on the iPhone when I run the app on the device. I get the same results with other iPhone apps such as the sample Crash Landing app. I can\'t find a sound setting anywhere in the simulator or Xcode preferences. I\'ve tried resetting the simulator through \"Reset Content and Settings\" menu item to no

What is TIC Read Status 1:57 in iOS11/Xcode 9?

て烟熏妆下的殇ゞ 提交于 2019-11-26 06:18:00
问题 After updating to Xcode 9, using Swift 3 and the iPhone X simulator, my console is full of: TIC Read Status [11:0x0]: 1:57 TIC Read Status [11:0x0]: 1:57 TIC Read Status [11:0x0]: 1:57 ... What is that and how do I fix it? Help is very appreciated. PS: I prefer not to just \"silence\" it with an Environment Variable in the build scheme. 回答1: Apple staff gave the following answer: TIC expands to “TCP I/O connection”, which is a subsystem within CFNetwork that runs a TCP connection 1 and 57 are

Error when testing on iOS simulator: Couldn't register with the bootstrap server

ⅰ亾dé卋堺 提交于 2019-11-26 05:37:40
I was testing my app on the simulator when it crashed on clicking a button of a UIAlertView. I stopped debugging there, made some changes to the code and built the app again. Now when I run the application, I get this error in the console Couldn't register com.myApp.debug with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”. I tried removing the app from the simulator, doing a clean build but I still get this error when I try to run the app. What should