This page last changed on Aug 01, 2010 by mishoboss.

Hi, today I decided to test OR 2.0 with my custom hardware I made. I run the Controller successfully, but I have problems running the iPhone app. I downloaded the app from the trunk (../trunk/Panels/iPhone), then I created a new folder in /Applications folder in my iPhone (iOS v3.1) called "OpenRemote.app" and put the dowloaded files there. After restarting the iPhone I get the app icon, but when I click on it, the app opens for a second and then closes itself. Maybe I'm doing something wrong or getting a wrong version of the iPhone Console?

Hello Mihail,

Use https://openremote.svn.sourceforge.net/svnroot/openremote/branches/feature/iPhone_profile_service/ for now, I haven't yet integrated to other release branches.

Posted by juha at Aug 01, 2010 16:00

Thanks for the fast answer. Now I get a white app icon (i.e. no icon) and the behavior is the same - opens for a second and then closes again. Maybe I have to do something more than just copying the files in /Applications/OpenRemote.app folder?

Posted by mishoboss at Aug 01, 2010 16:36

I've just learned that dragging the folder (OpenRemote.app) in iTunes and syncing is everything we have to do to install those kind of apps. However I get an empty white icon again and the app closes immediately after starting it. I use iPhone 2G (1-st gen) with iOS v3.1. I downloaded the app from the link you gave me. Is this issue only by me?

Posted by mishoboss at Aug 02, 2010 09:22

Maybe this is a silly question, but you said you downloaded the files and put them into the app folder directly – you do need to compile them with XCode first?

Posted by juha at Aug 02, 2010 09:47

Nope, I didn't do that. I have installed previously iPhone apps as FolderName.app via SSH, and thought this would be the same.

As far as I see Xcode is an IDE especially for MAC users, and I'm on Vista. Could you please compile it for me, if it's not a problem for you?

Posted by mishoboss at Aug 02, 2010 10:18

Yeah I might get to it later today.

Posted by juha at Aug 02, 2010 10:46

Since the app is running but crashing you might want to consider installing the iPhone configuration utility which will give you a very easy way to see the life LOG files for the phone?

http://support.apple.com/kb/dl926
I'm sure the log file will give more info on where how and where the app crashed. I had a similar problem in a project with Marcus a few months ago.

It's also a very handy tool for dealing with the configuration files, including profiles. Makes it easy to control and copy all settings to any iPhone or iTouch

Posted by jlvh at Aug 02, 2010 11:27

OK, I tried to compile it on the iPhone via LDID (Link Identity Editor), but I get this error:
util/ldid.cpp(249): assert(0:Swap(mach_header->magic) == MH_MAGIC)

I don't know if this is due to toolchain or an error in the source code.

Posted by mishoboss at Aug 02, 2010 12:51

Hi, I apologies for my request to compile it, but all my attempts doing it on the iPhone itself, finished with errors. And I don't have Mac to do it with Xcode.

Could you compile it today or tomorrow as I go on vacation for 10 days and I really wanted to see my hardware blinking before that

Thanks a lot

Posted by mishoboss at Aug 02, 2010 19:12

Mihail,

You will need to send your device hardware UID to me for an ad-hoc deployment profile, http://itunes.apple.com/app/ad-hoc-helper/id285691333?mt=8

Posted by juha at Aug 03, 2010 12:14

Thanks, I sent a mail to contact@openremote.org

Posted by mishoboss at Aug 03, 2010 13:28
Document generated by Confluence on Jun 05, 2016 09:30