Xcode 3.2.5 error with argument list too long

Question: I got a strange error message from Xcode. I build an iOS 4.2 iPhone project in which the same Clear and Build errors occur. It says “Checking Dependencies, Argument list too long:” followed by a long path name to a folder that is not even close to my project files. This location never has any connections to any header paths or to the target that a dependency check should look for. What did I wrong? Continue reading Xcode 3.2.5 error with argument list too long

NetBeans 7 (beta) is very slow on OS X

Problem: I downloaded the latest Netbeans 7 beta from netbeans.org and installed into my MacBook Pro. This Apple machine has Snow Leopard, dual core CPU, 2GB RAM and a lot of free spaces on its hard disk. When I change a letter A to B in my code or I am just doing nothing except staring at my code, seemingly without any good reason, NetBeans starts to scan my java projects for a few minutes and slows down the Mac so badly I cannot use it. The CPU usage is well over the roof of our appartmant and the hard disk goes tropical heat. Is it a beta issue? Should I switched to Eclipse? How to stop project scanning? Continue reading NetBeans 7 (beta) is very slow on OS X

Background/foreground application state changes in iOS 4

Question: I’ve got an iPhone app that’s mainly targetting 3.1-3.2 devices but I’d like to take advantage of iOS 4 APIs when they’re available. I’m unable to build an iPad project without generating a runtime error when the app references to “UIApplicationDidEnterBackgroundNotification” while I try to set up a custom notification listener. SDK: Xcode 4.2. What’s wrong? Continue reading Background/foreground application state changes in iOS 4

How to build and use multiple resource bundles in an iOS project

Question: I am building iOS 4.2 applications with some common methods in a static library. This has been working quite well, but I am getting messing up my projects. I cannot manage well my common image and data files which the static library would like to use in the apps. I’m getting close to needing to deploy the applications, so I decided to try to package the resources into a dedicated bundle. This custom bundle will be added to my projects. I googled for examples but have not found the answer on how to get these resource files from my own bundle in runtime. Continue reading How to build and use multiple resource bundles in an iOS project

Blog for us