🌈
Sensor Stream Pipe
  • What is Sensor Stream Pipe?
  • Getting Started
  • Installation Linux
  • Installation Windows
  • Installation Mac
  • Installation iOS
  • Streaming a Video
  • Streaming with Azure Kinect DK
  • Streaming a Dataset
  • Streaming iOS ARKit RGB-D Data
  • Streaming an OAK-D using Xlink
  • Components Overview
    • Sensor Stream Server
    • Sensor Stream Client
    • Sensor Stream Tester
  • Sending Frames
    • IReaders
    • FrameStruct
    • Config File
    • IEncoders
  • Receiving Frames
    • Receiving Frames
  • How to Extend Sensor Stream Pipe
    • Add New Sensor Interface
Powered by GitBook
On this page
  • Building for an iOS App (no Unity)
  • 1.0 Pre-Installation Requirements
  • 2.0 Download and Install SSP
  • 3.0 Use it!
  • Building for an iOS deployed Unity App (Unity Plugin)
  • 1.0 Pre-Installation Requirements
  • 2.0 Download and Install SSP
  • 3.0 Use it!

Was this helpful?

Installation iOS

PreviousInstallation MacNextStreaming a Video

Last updated 1 year ago

Was this helpful?

We have 2 different methods for building for iOS:

  1. Installation for an iOS Application using XCode (no Unity) - This will build an iOS app that only streams data

  2. Installation for an iOS Deployed Unity App (Unity Plugin) - This will build a Unity AR iOS app so you can stream data while running an AR app

Both will use the binaries we have already built for each platform and architecture. If you want to see how the binaries were built you can check out 3rdparty/build_ios_dep.sh

To rebuild dependencies, in a git bash terminal

cd Sensor-Stream-Pipe/3rdparty
./buid_ios_dep.sh

This will download/build/install dependencies in a tmp directory. The result is a *_ssp_iosdep.tar.gz file.

Problems?! (shocker)

Reach out on and we will get you going!

Building for an iOS App (no Unity)

1.0 Pre-Installation Requirements

1.1 Install

1.2 Install Xcode command line tools

sudo xcode-select --install

1.3 Install cmake

brew install cmake

1.4 Install pkg-config

brew install pkg-config

2.0 Download and Install SSP

2.1 FOR DEVICE - To download and make iOS

git clone https://github.com/moetsi/Sensor-Stream-Pipe.git
cd Sensor-Stream-Pipe
mkdir build-ios && cd build-ios
cmake -G Xcode \
    -DCMAKE_TOOLCHAIN_FILE=../3rdparty/ios.toolchain.cmake \
    -DPLATFORM=OS64 \
    ..
open ssp.xcodeproj

3.0 Use it!

Building for an iOS deployed Unity App (Unity Plugin)

1.0 Pre-Installation Requirements

1.2 Install Xcode command line tools

sudo xcode-select --install

1.3 Install cmake

brew install cmake

2.0 Download and Install SSP

2.1 To download and make iOS Device

git clone https://github.com/moetsi/Sensor-Stream-Pipe.git
cd Sensor-Stream-Pipe
mkdir build-ios && cd build-ios
cmake -G Xcode \
    -DCMAKE_TOOLCHAIN_FILE=../3rdparty/ios.toolchain.cmake \
    -DPLATFORM=OS64 \
    ..
cmake --build . --target unity --config Release

2.2 Moving the built libraries into the Unity Project

If you get this issue

Run this:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

3.0 Use it!

Now checkout Streaming to see how you can stream ARFrame data with Sensor Stream Server to Sensor Stream Client.

1.1 Install

Move the library built in build-ios/ssp_plugin_unity to the Assets/Plugins/iOS folder of the Unity project cloned in

Now checkout Streaming to see how you can stream ARFrame data with Sensor Stream Server to Sensor Stream Client.

our discord
Xcode
iOS ARKit RGB-D Data
Xcode
https://github.com/leetal/ios-cmake/issues/52
iOS ARKit RGB-D Data
this step