jianjunz c733c3e165
docs: remove Cocoapods from iOS installation guide. (#78)
As mentioned in #67, Cocoapods is not supported at this time.
2022-03-09 15:00:29 +01:00

868 B

iOS

Option 1: Create a static library

  1. Create a static library
  2. Copy the header files into xcode

Use the static libraries generated by the example project iOS example project

Create one for

  • release iphoneos
  • release simulator
  • debug iphoneos
  • debug simulator

Join the debug libraries and the release libraries with e.g.

libtool -static -o libUniversalRelease.a Release-iphoneos/libsioclient.a Release-iphonesimulator/libsioclient.a
libtool -static -o libUniversalDebug.a Debug-iphoneos/libsioclient.a Debug-iphonesimulator/libsioclient.a

Option 2: Manual integration

Use this shell to download and build boost completely automattically. It installs boost to <shell folder>/prefix.

See the iOS example project for how to integrate the rest.