Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 13.3 Enum Parsing Fails #1302

Closed
StratusHunter opened this issue Mar 17, 2022 · 2 comments
Closed

Xcode 13.3 Enum Parsing Fails #1302

StratusHunter opened this issue Mar 17, 2022 · 2 comments

Comments

@StratusHunter
Copy link

Since installing Xcode 13.3 I can no longer run jazzy to make my documentation.

It will fail when attempting to parse a swift enum.

Parsing PermissionStateType.swift (19/52)
        from /Users/terencebaker/.rvm/gems/ruby-3.0.0/gems/jazzy-0.14.1/lib/jazzy/sourcekitten.rb:269:in 'run_sourcekitten'
        from /Users/terencebaker/.rvm/gems/ruby-3.0.0/gems/jazzy-0.14.1/lib/jazzy/doc_builder.rb:82:in 'block in build'
        from /Users/terencebaker/.rvm/gems/ruby-3.0.0/gems/jazzy-0.14.1/lib/jazzy/doc_builder.rb:80:in 'chdir'
        from /Users/terencebaker/.rvm/gems/ruby-3.0.0/gems/jazzy-0.14.1/lib/jazzy/doc_builder.rb:80:in 'build'
        from /Users/terencebaker/.rvm/gems/ruby-3.0.0/gems/jazzy-0.14.1/bin/jazzy:16:in '<top (required)>'
        from /Users/terencebaker/.rvm/gems/ruby-3.0.0/bin/jazzy:23:in 'load'

The project I'm trying to document is a local swift package written entirely in swift.

My config is:

output: docs
clean: true
min_acl: private
swift_build_tool: xcodebuild
build_tool_arguments:
  - -scheme
  - Quickstart
  - -sdk
  - iphonesimulator
  - -destination
  - "platform=iOS Simulator,name=iPhone 13"

jazzy version: 0.14.1

@johnfairh
Copy link
Collaborator

Fixed in master via #1298.

Should be a new version of the jazzy gem later today.

@StratusHunter
Copy link
Author

Fantastic, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants