Friday 19 April 2013

Error launching remote program: failed to get the task for process 4278.


run
Running…
Error launching remote program: failed to get the task for process 4278.
Error launching remote program: failed to get the task for process 4278.
The program being debugged is not being run.
The program being debugged is not being run.

I get this while testing on device ........

what i do is 

I have had problems debugging binaries on the device via XCode when the app includes an Entitlements.plist file, which is not necessary to install onto the device for debugging. In general, then, I have included this file for release builds (where it is required for the App Store) and removed it for debugging (so I can debug the app from XCode). That may be your problem here.
Update: As of (at least) August 2010 (iPhone 4.1 SDK) the Entitlements.plist is no longer necessary to include in your application in many cases (e.g., distribution through the App Store.) See here for more information on the cases when Entitlements.plist is required:
IMPORTANT: An Entitlements file is generally only needed when building for Ad Hoc Distribution or enabling Keychain data sharing. If neither of these is true, delete the entry in Code Signing Entitlements. (emphasis mine)
Also check your profile.
The ad-hoc profile doesn't support debugging. You need to debug with a Development profile, and use the Ad-Hoc profile only for distributing non-debuggable copies.

ads: ebay

Sunday 7 April 2013

What iPhone developer 3rd party products and services do you use?


HockeyApp http://hockeyapp.net/
Reliable crash reporting for beta and live apps, including server side symbolication and crash grouping. Beta distribution and management.
Localytics http://localytics.com/
Live analytics for usage reporting.
QuincyKit http://quincykit.net/
Open Source crash reporting framework for Mac and iOS. Manages sending crash reports to a server. Client can be used with HockeyApp or its own open source server. (Available since 2009)
HockeyKit http://hockeykit.net/
Open source beta distribution framework for iOS and Android. Manages distribution beta versions easily, including in app updates. Client can be used with HockeyApp or its own open source server. (Available since August 2010)
PLCrashReporter http://code.google.com/p/plcrashreporter/
Collect crash reports reliably on iOS and Mac (not all CPU architectures on Mac yet fully supported). Is being used by QuincyKit and HockeyApp. (Available since 2009)
KIF https://github.com/square/KIF
Test framework for automated UI testing. Also helps testing regressions, memory issues, non reproducible crashes.
AFNetworking https://github.com/AFNetworking/AFNetworking
Efficient networking framework
JSONKit https://github.com/johnezang/JSONKit
Very fast JSON framework, as of now the fastest out there.
AppSales-Mobile https://github.com/omz/AppSales-Mobile
Download and analyze iTunes Connect sales data for your apps.
Three20 http://three20.info/
Mostly for ui things like the pull-down-to-refresh-tableview.
iCarousel https://github.com/nicklockwood/iCarousel
Open Coverflow clone.
ASIHttp http://allseeing-i.com/ASIHTTPRequest/
If NSURLConnection is not enough.
OpenClusterMapView https://github.com/yinkou/OCMapView
To also mention my own little project here: a quick, very simple and free clustering framework for the MKMapView
In fact, there is a great website called http://cocoacontrols.com/ where you can look for great controls for either OS X or iOS.
Ads: ebay

Tuesday 2 April 2013

How to Rename AppDelegate File ?


Do you need to change the filename of your appDelegate file? You obviously can’t just rename the file, because the project looks for it as an entry point to your code. XCode actually makes this really easy to do, although it’s not immediately obvious how to do it. Just go into your appDelegate’s .h file, right-click on the Class name (right next to @interface), and choose “Refactor”. From there, the process is pretty simple. Just make sure Rename is selected in the drop-down list on the left, and enter the new class name in the text box on the right. Click Preview, and you’ll get a report of what will be changed. Click Apply to apply the change. That’s it. Simple as that.