ios-simulator

Writing to then reading from an offscreen FBO on iPhone; works on simulator but not on device?

此生再无相见时 提交于 2019-12-05 01:31:38
I'm trying to do some image manipulation on the iPhone, basing things on the GLImageProcessing example from Apple. Ultimately what I'd like to do is to load an image into a texture, perform one or more of the operations in the example code (hue, saturation, brightness, etc.), then read the resulting image back out for later processing/saving. For the most part, this would never need to touch the screen, so I thought that FBOs might be the way to go. To start with, I've cobbled together a little example that creates an offscreen FBO, draws to it, then reads the data back out as an image. I was

Unable to run app in simulator

徘徊边缘 提交于 2019-12-05 01:21:09
Today, when I try to run my app in simulator, it simply tells me Unable to run app in Simulator An error was encountered while running (Domain = NSPOSIXErrorDomain, Code = 22) And the error dialog looks like this: I've tried many things: Restart Xcode Restart Simulator Reboot Reset content and settings of simulator None of above works. And I looked into log, I found these are those records has something to do with this issue 2014/10/15 9:09:40.964 com.apple.CoreSimulator.CoreSimulatorService[979]: Error Domain=com.apple.CoreSimulator.SimError Code=146 "Unable to lookup in current state:

Testing in iOS 3.1.3 with the latest Xcode

前提是你 提交于 2019-12-05 00:51:41
问题 How do you test an app in iOS 3.1.3 with the latest Xcode build? Is it possible to do this in the Simulator? If not, is it possible to downgrade a device to iOS 3.1.3? 回答1: Yes, you can downgrade a device. It is not officially supported but I've done it on two 3Gs with success for testing on 3.1.3. First find a tool called RecBoot by someone called the0rkus, runs on Intel macs only. This brings the phone out of recovery mode once you have loaded the 3.1.3 software. Find the .ipsw file for

XCode5 can't install app on iOS simulator

↘锁芯ラ 提交于 2019-12-05 00:17:16
问题 I successfully installed the app several times. Suddenly, I got this message "My App" exited unexpectedly, lost connection. This happens with iOS 6.x and 7 . I already tried deleting app manually from simulator, resetting, clean, quit, restart, everything ... Any advice? 回答1: In the iOS Simulator menu, do "Reset Content & Settings". If that doesn't fix it, reboot your computer. 回答2: I found a "Fix" for this. After trying everything and getting the same error on "My App", I opened and tried to

Xcode 8 beta simulator fails to run app after accidentally running Xcode8 simulator

旧时模样 提交于 2019-12-04 23:42:38
"Failed to initiate service connection to simulator" Tried to clean app, reinstall it, delete derived data, reset simulator settings, restart xCode. I've also heard other people solved problems with their simulators by recreating the simulator. I tried that as well. When I press create, I get the very same error message: "Error returned in reply: Connection invalid" Even this occurs on Xcode 8.0 stable version. Got it solved by closing Xcode 7 and its simulator. It seems that when you are working on Xcode 8 and its simulator then Xcode 7 simulator should not remain open. Below is screenshot of

Can't run iPhone simulator - file “Logs” couldn't be saved

£可爱£侵袭症+ 提交于 2019-12-04 22:40:13
iPhone simulator doesn't work. Displays error message: The file “Logs” couldn’t be saved in the folder “Library” because a file with the same name already exists. When /Logs dir is empty, simulator creates subdir CoreSimulator/[AppID] and dispalys the above message. It's fresh OS X Yosemite, installed on new Mac Mini. Any idea how to fix this issue ? Try to reset the Ios Simulator settings it worked for me! iOS Simulator -> Reset Content and Settings... Just to make it more clear (In addition to @storm's answer): I suspect that you manually deleted ~/Library/Logs/CoreSimulator and the error

iOS8 Simulator: Proxy authentication pop up not being shown

孤街醉人 提交于 2019-12-04 21:57:37
The corporate network which I am using is having "proxy" set up to connect to internet. I made the necessary changes in Network settings in mac and I am able to see websites loading in Safari (I have entered the credentials and saved in KeyChain also), but when I try to access the sites via iOS simulator, the connection fails and asks for authentication but the problem is that no pop-up is being shown so that I can enter the username and pwd. I have seen the pop-ups in iOS6 simulator and it used to work. I would like to know whether I need to do some changes specifically to iOS simulator to

iPhone 5.1 Simulator (retina) looks so big

自闭症网瘾萝莉.ら 提交于 2019-12-04 20:41:08
问题 I just upgraded Xcode from 4.2 to 4.3.3. I then launches iOS Simulator (with "Hardware -> Device" set to "iPhone (Retina)") and the simulator now appears so big that the app page has literally to be scrolled!! (previously it was just right ...no scrolling needed). Even the 'Home Page' in the simulator seems to need scrolling! Here's the screenshot...note that the 'home page' has the scroll bar in the right and bottom) ...why is this? Shouldn't it fit exactly and not need any scrolling? 回答1: I

Alternative of Unity & SIO2

拜拜、爱过 提交于 2019-12-04 20:20:51
I am searching for open source free API just like Unity or SIO2 which I can use for commercial purpose. Kindly tell me if there is any API for iPhone 3D games. AFAIK there are two open source game engines: irrlicht oolongengine I don't know much about irrlicht, but there are some dicussions about it here on stackoverflow.com. I think they support iPhone development for quite a while. oolong seems to have a hard learning curve because there is not much documentation and you have to subscribe to a good old mailing list. If you are an Indie developer with less than 100k $ / year, Bork 3D engine

Xcode linker error on iPhone app (Only on simulator)

送分小仙女□ 提交于 2019-12-04 19:43:42
Im getting this linker error that won't let me compile. It only happens on the simulator. KEY POINTS: - Happens only in simulator - Similar to THIS question , but found no FRAMEWORK_SEARCH_PATHS in my .pbxproj file - Though my OS is 10.6.2, I had to build target 1.5 to avoid other linker errors - libxml2.dylib IS required and is in my Frameworks group - The other cited libraries I have never heard of. - Tried bringing in those other Libs under frameworks, didn't solve. Build SpaceTweet of project SpaceTweet with configuration Debug Ld build/Debug-iphonesimulator/SpaceTweet.app/SpaceTweet