Objective c websockets for desktop application - objective-c

All of the Objective c websocket libraries that I've found seem to be specific for iOS and give linking problems when I try to use them in my desktop app.
I've tried:
http://code.google.com/p/unitt/wiki/UnittWebSocketClient
https://github.com/esad/zimt
Are there Objective c libraries that work for desktop apps? Alternatively how difficult would it be to modify zimt to work on the desktop?
EDIT: I ended up using: https://github.com/erichocean/cocoa-websocket

I just tried zimt and it was trivial to integrate into a test OS X project. I followed the installation instructions, then set the project to be Mac rather than iOS and Intel rather than ARM.
If you are having difficulty getting it working, then submit that as a question, including any error messages you get and any incorrect behaviour you see.

Related

Capture logs (errors, warnings) in exported/deployed OSX app

I am exporting my app as a .app and testing it on different OSX versions and machines. Is there any way to capture warnings, errors, etc. to a log?
The application is not crashing so a crash log is not being generated.
The best way to capture these is using something similar to TestFairy (framework for android / ios beta testing), I suggest you take a look at that, to see what functionalities it provides and the search for something similar on mac os.
Found these two for Mac :
hockeyapp
plccrashreporter

Install and distribute dylib with program

I purchased a chilkat FTP2 license, and need to replace my existing code (taken from the Apple's SimpleFTPSample) with the one provided by this library.
How do I properly install it on my Mac and set my project up to distribute it with my App? Does every user need to install it on his Mac by himself or can it be packed with the App?
Every tutorial I found is quite complicated, I would need something simple as I am new to Xcode and Objective-C
EDIT:
Distribution is as downloadable App over my webpage.
Its for Mac OS X.
You can not distribute non-Apple dynamic libraries with iOS apps on the app store.
The reason every tutorial you find is complicated is because the only way to get Xcode to actually build an iOS app with a dynamic library involves some hacks and workarounds.

Windows SDK for COCOA API

I'm just starting off with IOS app dev. I was just curious to know if there are any sdk's in windows available to simulate the cocoa API.
In simple words can i program, compile and execute an Objective-C code on windows OS through any simulators, if any?
The original question was about running Cocoa apps on Windows, not developing iOS apps under Windows. There are a few projects that are attempting to implement the Cocoa APIs under windows, but I'm not sure how successful they are being. There is one at http://www.cocotron.org/ which looks promising.
Unfortunately, the only real way to do iOS development is in a genuine Mac environment.

Can I build and compile an app built for jail broken iOS and run as a development app on my device?

Just a quick q about iOS development..
I'd love to be able to run a certain game emulator on my iPad..
If it's released under open source is there any thing stopping me from compiling it and running it in an emulator or getting a provisioning profile and running it on my device?
Do jailbroken apps tend to use libraries that wont run on a vanilla copy of iOS?
I.e. Do they patch the kernel to get full control of the video controller etc..
Thanks
Daniel
I think the jailbroken apps can utilize eglibc or glibc, as when I jailbroke me iPod Touch, I remember looking over the installed packages, and remember seeing something along the lines of glibc.
In short, I think if the app is self-sufficient, you probably could package it with XCode, but if it requires some low-level APIs and libraries, you're out of luck.

Programming for Ipad from Windows [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicates:
iPhone development on PC
iPhone development on Windows
Do I really need a Mac to make small simple apps for iPad? Is there any kind of work around? Cool IDE?
Yes, you need an Intel-based Mac to develop for iPhone/iPad if you want to do so with their native SDK.
There are workarounds, a few of which are listed here but they may be rendered unusable with the latest version of iPhone OS since they will soon disallow just about anything that doesn't use the native SDK
I wasn't going to post it, but you did say any reply :)
Browser based (safari compatible) apps would be one "work around". I know it's a weak answer, but sometimes people miss the obvious answers so there you go.
Yes. And you can use Xcode IDE
You will likely need OS X.
Both Monotouch and XCODE run on OS X.
If you can get OS X to run on a non-Mac then no, you don't need a Mac.
However, realistically... yes you do.
The iPhone and iPad SDK relies on code that comes packaged with the Mac OS. If you want to build legitimate applications and have the possibility of listing those apps in the iTunes store, you must build them on a Mac.
There are ways around this to build apps that will never be distributed ... but those methods tend to be highly illegal.
You can still develop iPhone/iPad WebApps that look like native apps on pretty much any web development platform/toolset.
While I am not an attorney, based upon the new SDK agreement, I believe you can use HTML, CSS, and JavaScript to create native iPhone/iPad apps. There is actually a book already there that talks about how to do that. Here is the book, http://www.amazon.com/Building-iPhone-Apps-HTML-JavaScript/dp/0596805780/ref=sr_1_1?ie=UTF8&s=books&qid=1274474001&sr=8-1
If you want to create small simple apps for iPhone/iPad, you can create a Web app that runs in Safari using HTML. You can actually create fairly slick apps with this method and make them look like native apps. I've create some using jQTouch and they look like native apps. You can test them either in Safari on Windows or on your iPhone or iPad.
It wouldn't be easy to develop an iPhone/iPad application on Windows. You would have to install OSX86 on your PC, or run a virtualized OSX install through vmware if possible. Apple is incredibly restrictive on software provisioning and app store approval, so you may have a hard time testing and releasing your app later on. For these reasons and more, I'm switching to Android development.