Installation iOS (Unity Plugin)
We have 2 different methods for building for iOS:
    1.
    Installation for an iOS Application using XCode (no Unity)
    2.
    Installation for an iOS Deployed Unity App (Unity Plugin)
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
1
cd Sensor-Stream-Pipe/3rdparty
2
./buid_ios_dep.sh
Copied!
This will download/build/install dependencies in a tmp directory. The result is a *_ssp_iosdep.tar.gz file.
Problems?! (shocker)
Reach out on our discord and we will get you going!

Building for an iOS App (no Unity)

1.0 Pre-Installation Requirements

1.1 Install Xcode​
1.2 Install Xcode command line tools
1
sudo xcode-select --install
Copied!
1.3 Install cmake
1
brew install cmake
Copied!

2.0 Download and Install SSP

2.1 FOR SIMULATOR - To download and make for iOS Simulator (optional, no real need to, but here is how, skip this step and go to 2.2)
1
git clone https://github.com/moetsi/Sensor-Stream-Pipe.git
2
cd Sensor-Stream-Pipe
3
mkdir build-simulator && cd build-simulator
4
cmake -G Xcode \
5
-DCMAKE_TOOLCHAIN_FILE=../3rdparty/ios.toolchain.cmake \
6
-DPLATFORM=SIMULATOR64 \
7
..
8
open ssp.xcodeproj
Copied!
2.2 FOR DEVICE - To download and make iOS Simulator (Do this)
1
git clone https://github.com/moetsi/Sensor-Stream-Pipe.git
2
cd Sensor-Stream-Pipe
3
mkdir build-ios && cd build-ios
4
cmake -G Xcode \
5
-DCMAKE_TOOLCHAIN_FILE=../3rdparty/ios.toolchain.cmake \
6
-DPLATFORM=OS64 \
7
..
8
open ssp.xcodeproj
Copied!

3.0 Use it!

Now checkout Streaming iOS ARKit RGB-D Data to see how you can stream ARFrame data with Sensor Stream Server to Sensor Stream Client.

Building for an iOS deployed Unity App (Unity Plugin)

1.0 Pre-Installation Requirements

1.1 Install Xcode​
1.2 Install Xcode command line tools
1
sudo xcode-select --install
Copied!
1.3 Install cmake
1
brew install cmake
Copied!

2.0 Download and Install SSP

2.1 To download and make iOS Device
1
git clone https://github.com/moetsi/Sensor-Stream-Pipe.git
2
cd Sensor-Stream-Pipe
3
mkdir build-ios && cd build-ios
4
cmake -G Xcode \
5
-DCMAKE_TOOLCHAIN_FILE=../3rdparty/ios.toolchain.cmake \
6
-DPLATFORM=OS64 \
7
..
8
cmake --build . --target unity --config Release
9
mv ssp_plugin_unity ~/Test1/Assets/Plugins/iOS
Copied!
If you get this issue
Run this:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

3.0 Use it!

Now checkout Streaming iOS ARKit RGB-D Data to see how you can stream ARFrame data with Sensor Stream Server to Sensor Stream Client.
Last modified 3mo ago