This page last changed on Aug 07, 2014 by yayaxyupp.

2014-08-07 16:16:37.951 OpenRemote[14028:60b] *** Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'A view can only be associated with at most one view controller at a time! View <UIView: 0x9e5b930; frame = (0 0; 320 480); autoresize = W+H; layer = <CALayer: 0x9e5b990>> is associated with <PaginationController: 0x9e49f80>. Clear this association before associating this view with <GroupController: 0x9a57760>.'

I use the xcode 5.4 and run it in ios 3.5 inch simulator

I suppose you're using a pretty old version of the code, most probably from the Subversion repository.
The reason you get the crash is because that original code was not very strict in the way in managed the view hierarchies, which even if not a good practice, was working fine under earlier iOS SDKs.
With iOS 5, Apple reviewed the way this worked, exposed publicly a way to manage View Controllers hierarchy and added assertions to ensure you did not mess things up.
So that original code works fine if compiled with an SDK before iOS 5 (which is not an option these days).

The source code for the iOS console has been moved to Github : https://github.com/openremote/iOS
The idea was to transfer to Github, clean and make ready for iOS 5 and above support, then properly start managing fixes and new features using branches and also make the repo a bit more public.
However that cleaning phase has been dragging for ages due to lack of ability to commit enough time to it.

So the version currently there compiles and works OK under iOS 7.1 but still has bugs.
It is however your best option for now if you want to compile a version of the console yourself.

I'm working on and off on it and happy to share any information if you want to take a look at the source code and potentially contribute.

Posted by ebariaux at Aug 07, 2014 12:01
Document generated by Confluence on Jun 05, 2016 09:37