ios-simulator

Color consistency between Photoshop, iPhone Simulator, and iPhone

只谈情不闲聊 提交于 2019-12-21 06:26:35
问题 I've been working a lot with Photoshop .psd files recently and have been bouncing back and forth a lot to ensure colors look just right on the iPhone. Can anyone offer some tips on calibrating macbook/apple cinema displays in regards to keeping color consistency between Photoshop, the iPhone simulator, and physical iPhones? 回答1: Have a look on LiveView created by Nicholas Zambetti. You need to install it on your iPad/iPhone/iPod Touch and on your Mac. when synced (Mac and device) you can have

iPhone simulator fails

大城市里の小女人 提交于 2019-12-21 06:05:34
问题 I have a fresh iPhone project. When I "Build and Go": Error from Debugger: Failed to launch simulated application: iPhone Simulator failed to install the application. Why is that?! 回答1: You need to remove the folder as sudo ~/Library/Application Support/iPhone Simulator sudo rm -Rfv ~/Library/Application\ Support/iPhone\ Simulator It looks like previous versions of the SDK have some kind of permission trouble. 回答2: You don't have to sign code to run in the simulator, only for running on real

How to automatically reset iPhone simulator on build

早过忘川 提交于 2019-12-21 05:37:16
问题 After moving several JSON files from the app bundle root to within a directory structure (also in the app bundle) the app kept running as if the files remained in their prior location. After much head scratching and doing a clean build I remembered that the iPhone simulator had to be cleared out in order to get rid of these files in the old locations. It'd sure be nice to have the option to force a reset of the simulator on every build. Clean-slate mode, if you will. Can this be hacked in any

The spoiled simulator xcode 9. As a broken TV

喜你入骨 提交于 2019-12-21 05:02:52
问题 Almost every launch of the application on any Xcode 9 simulator results in that in the screenshot: Maybe someone encountered this problem and solved it? 回答1: You can try to switch render engine to OpenGl instead of metal Use this command in terminal. defaults write com.apple.CoreSimulator.IndigoFramebufferServices FramebufferRendererHint 2 (1 = Metal, 2 = force use of OpenGL, 3 = OpenGL) Or if your gpu is HD3000 you need to use defaults write com.apple.CoreSimulator.IndigoFramebufferServices

Static library gives error on iOS simulator and works on iOS device

我们两清 提交于 2019-12-21 04:59:06
问题 Currently I'm working on a iOS application (iOS 6), In which I need to implement a static library. I successfully implemented the Static library using this tutorial. And I successfully added the static library to other project and Installed the app to iPhone !. It's working successfully. But my issue is when I tried to run it on my simulator some errors are coming: "_OBJC_CLASS_$_MMPAlert", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture i386 clang

Xcode with SDK 4.2 always starting iPad Simulator

 ̄綄美尐妖づ 提交于 2019-12-21 04:16:36
问题 Why does Xcode, after updating to SDK 4.2, always run my application in iPad Simulator instead of iPhone??? If I select iPhone Simulator as active executable it doesn't store my preference and runs the iPad simulator after any new Build & Run. 回答1: I had the same Problem. But suddenly after an Update it disappeared. Do you have the newest Version of all Software( or tried turning it off and on again)? If that doesn't works, I would suggest a reinstall. Solved many of my Problems... 回答2: On

cannot set background color of UITableViewCell in iOS6?

十年热恋 提交于 2019-12-21 04:16:11
问题 I started testing my app under simulator, because I don't have any iOS 6 device and stumbled upon weird problem. I cannot set backgroundColor property of UITableViewCell. If I st this: cell.contentView.backgroundColor = [UIColor redColor]; it is working only for iOS 6, when I use this: cell.backgroundColor = [UIColor redColor]; or this [cell setBackgroundColor:[UIColor redColor]]; it is working only for iOS7. When I use both cell.contentView and cell.backgroundColor it's working for both iOS.

Run a compiled iPhone Simulator App Build? (.app) without Xcode?

左心房为你撑大大i 提交于 2019-12-21 03:52:34
问题 So have a complete build of my app compatible for the iOS Simulator on Snow Leopard. Now I don't want to install Xcode on my other Mac to run this. The question: Is there a way to only install the iOS Simulator? I could install the app on my iOS Simulator on my primary Mac and then just copy the iPhone Simulator folder from the Library folder and paste it on my secondary Mac. Or is there any other app? 回答1: Try Simulator Launcher: Simulator Launcher builds custom executables to automatically

How can i test tilt efftect? - IPhone Simulator

*爱你&永不变心* 提交于 2019-12-21 03:37:30
问题 I am trying to write a game. That game uses tilt effect, but i don't know how to test it on Iphone Simulator 3.0. I search it on internet, but the result is zero. How can i...? 回答1: Short answer: You can't, not directly. You have to use a real device. Longer answer: You could subclass UIAccelerometer and do as you like. You could simulate input, or write a client and server pair that sends acceleration information from a real device to your app running in the simulator, or from your Macbook's

Input text doesn't show keyboard on iOS simulator

谁说胖子不能爱 提交于 2019-12-21 03:22:11
问题 I'm building an app and I need to use an input text. The problem comes when you tap on this input text, the keyboard doesn't appear. I don't know why, I don't know what I'm doing wrong. It is supposed to be straightforward. Here is some of my code: <View style={ styles.storyContentContainer }> <TextInput ref='username' style={{width: 300, height: 20, borderWidth: 1,}}/> </View> And a video to show to you guys when the input text gets the focus nothing happen: I hope you guys can help me with