• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoShowcaseHome AutomationBuild iOS App for OpenHAB
Previous Next

Build iOS App for OpenHAB

Posted by: admin , February 24, 2015

OpenHAB is an open source home automation project. It comes with an iOS application to enable users to control OpenHab from their iOS devices.  In this post we will show the steps to setup the development environment in mac, and also go through the steps to build and run the app on an iOS device.

The github and information for the iOS project can be found here.

First, we need to apply for an Apple Developer account if we don’t already have one.

Next download and install XCode from app store in MAC.

We need to create a directory to hold the project.

Screen Shot 2015-02-24 at 3.54.38 PM

 

Download the project files using git.

Screen Shot 2015-02-24 at 3.57.38 PM

Then we need to install CocoaPods.

Screen Shot 2015-02-24 at 3.59.21 PM

Now navigate into the project directory and install Cocoapods dependencies.

Screen Shot 2015-02-24 at 4.00.26 PM

Screen Shot 2015-02-24 at 4.03.59 PM

 

Next, we can open the project workspace.

Screen Shot 2015-02-24 at 4.04.27 PM

 

 

Screen Shot 2015-02-24 at 4.05.00 PM

 

Screen Shot 2015-02-24 at 4.06.05 PM

 

Hit the little triangle to run in simulator.

Screen Shot 2015-02-24 at 4.07.01 PM

 

 

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors