jazzy icon indicating copy to clipboard operation
jazzy copied to clipboard

Jazzy does not reuse derived data

Open ilyapuchka opened this issue 7 years ago • 1 comments

When running jazzy with custom derived data path it clears the content of Build sub-directory in this path which does not allow xcodebuild to reuse it and results and extra time spent on building something that was already built, i.e. with Carthage.

Here is the command that I use to run jazzy

bundle exec jazzy     --clean     --module BabylonAuthSDK     --xcodebuild-arguments -workspace,../Babylon.xcworkspace,-scheme,BabylonAuthSDK,-derivedDataPath,DerivedData/BabylonSDK,-configuration,Production,     --hide-documentation-coverage     --min-acl public     --module_version      --author "Babylon Partners LTD"     --readme ../SDK/BabylonAuthSDK/README.md     --output ../sdk-docs/BabylonAuthSDK     --sdk iphoneos

ilyapuchka avatar Sep 20 '18 19:09 ilyapuchka

Unfortunately, Xcode or xcodebuild doesn't provide a reliable way to get compiler the arguments which are needed to generate documentation from libclang or SourceKit. The only way I know of to reliably get these compiler arguments is to perform a clean build. If you come up with another reliable way to programmatically get compiler arguments for a given module, please let me know.

jpsim avatar Nov 27 '18 05:11 jpsim

Closing this, inherent in the current xcodebuild layer.

johnfairh avatar Nov 20 '22 09:11 johnfairh