ios-simulator

Use of Blocks crashes app in iPhone Simulator 4.3/XCode 4.2 and 4.0.2

有些话、适合烂在心里 提交于 2019-12-18 16:48:16
问题 Anybody else having trouble with the 4.3 iPhone Simulator in XCode 4.2(lion) or 4.0.2? I have code that has long been working, tested, and in production that uses blocks to specify completion actions. For example, I use UIView animate to fade out some text on top of the label as follows: [UIView animateWithDuration: 0.0 delay: 0.0 options: (UIViewAnimationOptionCurveEaseInOut | UIViewAnimationOptionTransitionNone) animations: ^{ videoTextLabel1.alpha = 0.0; videoTextLabel2.alpha = 0.0;

Is any Windows simulator available to test iPhone application?

旧时模样 提交于 2019-12-18 16:47:36
问题 Is there any windows simulator availabe through which I can test (only testing) my iPhone application on Windows XP? Thanks & regards, Khushi 回答1: No. The iPhone Simulator is available as part of the iPhone SDK, which is only available for Mac OS X Leopard on Intel-based Macs. 回答2: If you have a physical iOS device, you can test your app on Windows with SeeTest. You connect your device to your Windows machine and then you can perform Web/Native tests, record it and play it again. 来源: https:/

Xcode 4.3 and iPhone Simulator 4.2

三世轮回 提交于 2019-12-18 13:19:37
问题 Is there a way to install iPhone Simulator 4.2 in Xcode 4.3 for Lion? I only can find how to install it in Xcode 4.2, but not Xcode 4.3 for Lion. 回答1: I have found a way to install iPhone simulator 4.2 to Xcode 4.3: Follow the instructions by Parth Bhatt, but install the simulator in a temporary folder ('Developer' folder doesn't exists in Xcode 4.3). Once installed, go to <tmp_dir>/Platforms/iPhoneSimulator.platform/Developer/SDKs , and you'll find a file named "iPhoneSimulator4.2.sdk". Open

iOS Simulator 7.1 crash running on Yosemite with weak linked new frameworks (Symbol not found: _objc_isAuto)

☆樱花仙子☆ 提交于 2019-12-18 10:43:19
问题 I have just updated to xCode 6.1 and had to reinstall my iOS 7 simulators. I can run my app on all the simulators apart from the 5s iOS 7.1 sim. I get this crash dyld: Symbol not found: _objc_isAuto Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libobjc.A.dylib in /System/Library/Frameworks/CoreFoundation

iOS Simulator 7.1 crash running on Yosemite with weak linked new frameworks (Symbol not found: _objc_isAuto)

时光总嘲笑我的痴心妄想 提交于 2019-12-18 10:42:12
问题 I have just updated to xCode 6.1 and had to reinstall my iOS 7 simulators. I can run my app on all the simulators apart from the 5s iOS 7.1 sim. I get this crash dyld: Symbol not found: _objc_isAuto Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libobjc.A.dylib in /System/Library/Frameworks/CoreFoundation

Attempting to deploy my app on my jailbroken iphone, but the app closes immediately!

萝らか妹 提交于 2019-12-18 10:29:42
问题 I'm trying to develop iphone apps on my jailbroken iphone, and I can't seem to get the process down, for whenever I deploy my app, set all file permissions to 777, and respring, the application closes immediately when I try to launch it. Furthermore, it does not have the auto-gloss xcode shows in the iphone simulator, so what gives? I've generated the cert via keychain access and added the two keys for REQUIREPROVISIONING and ALLOWPROVISIONING (both values no), and then set the appropriate

Creating an iOS Simulator Build of CocoaPods project

耗尽温柔 提交于 2019-12-18 10:09:32
问题 I need to create a simulator build in order to submit my app to facebook team for further review of my open graph. They have a instruction to create that here facebook instruction But I use cocoapods and I can not make this build. everytime it gives me error. 回答1: xcodebuild -arch i386 -sdk iphonesimulator{version} -workspace [projectName].xcworkspace -scheme [projectName] Follow the steps Click here 回答2: Here is the another easy method to create .zip file Step 1: open finder and press

Xcode Simulator animations extremely slow when played in editor

邮差的信 提交于 2019-12-18 10:00:55
问题 Recently I have experienced, that Xcode's simulator has become extremely slow. Also if I create a new app and run it i, the transition between the launch screen and the first view controller takes about 3 seconds. Luckily it is only the iOS 9 simulator and not iOS 8 or lower. I have upgraded to Xcode 6.4 and I also have Xcode 7.0 beta 3 installed. Has anyone experienced the same? I have tried to uninstall both Xcode versions, but it didn't help. 回答1: If you press command+T it triggers the

Simulator error FBSSystemServiceDomain code 4

两盒软妹~` 提交于 2019-12-18 09:55:20
问题 I'm trying to run an app in the simulator but get this error message: Unable to run app in Simulator An error was encountered while running (Domain = FBSSystemServiceDomain, Code = 4) I've not seen any previous references to this from googling around. Its using XCode 6 Beta, the app is in Swift which links to a Obj-C static library. It runs fine on the device. Any ideas? 回答1: Go to the iOS Simulator menu and select Reset Content and Settings. Alternatively, you could quit and reopen the

Change the Location of Screen Shots Saved by the iOS Simulator

泄露秘密 提交于 2019-12-18 07:28:16
问题 I'd like to change the location that screenshots created via File > Save Screen Shot in the iOS Simulator are saved from the desktop to a folder of my choice. How can this be done? Perhaps there's a user defaults value I could change, much like the one specifying the location of standard screenshots on OS X? 回答1: In Xcode 9 you can hold down Option while saving a screenshot and we will prompt you for the location. Check the "Use this as the default location" box to make the selected directory