Jazzy requires a build from the command line to generate the documentation. So you need a command similar to:
jazzy --build-tool-arguments -workspace,ios.xcworkspace,-scheme,iosapp
From https://github.com/realm/jazzy
...try passing extra arguments to xcodebuild, for example jazzy --build-tool-arguments -scheme,MyScheme,-target,MyTarget
How to find your schemes and targets to pass into xcodebuild
from Jazzy
Be sure to cd
to the directory where your Xcode Workspace or Xcode Project is:
cd path/to/ios.xcworkspace
xcodebuild -version
# online help
man xcodebuild
# List schemes & targets
xcodebuild -list
Results for a sample Xcode Workspace,
Information about project "ios":
Targets:
iosapp
bench
dynamic
static
bundle
test
integration
Integration Test Harness
Build Configurations:
Debug
Release
RelWithDebInfo
If no build configuration is specified and -scheme is not passed then "RelWithDebInfo" is used.
Schemes:
bench
bundle
CI
dynamic
dynamic+static
Integration Test Harness
iosapp
static
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…