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

Running jazzy from an Xcode 10.0 Aggregate Target - Run script phase raises errors #1012

Closed
FabienLydoire opened this issue Oct 4, 2018 · 0 comments · Fixed by #1333
Closed

Comments

@FabienLydoire
Copy link
Contributor

When calling jazzy from an Xcode 10.0 (10A255) Aggregate Target - Run script phase, jazzy complains about missing USR and indicates "0% documentation coverage".

Parsing AppDelegate.swift (1/2)
Parsing ViewController.swift (2/2)
`window` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.
`application(_:didFinishLaunchingWithOptions:)` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.
`applicationWillResignActive(_:)` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.
`applicationDidEnterBackground(_:)` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.
`applicationWillEnterForeground(_:)` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.
`applicationDidBecomeActive(_:)` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.
`applicationWillTerminate(_:)` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.
`viewDidLoad()` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.
building site
building search index
0% documentation coverage with 0 undocumented symbols
jam out ♪♫ to your fresh new docs in `docs`

When executing the run script phase, Xcode sets environment variables, including

export LLVM_TARGET_TRIPLE_SUFFIX=-simulator

When unsetting the LLVM_TARGET_TRIPLE_SUFFIX variable in the run script phase, jazzy works as expected.
Fixed run script:

unset LLVM_TARGET_TRIPLE_SUFFIX
jazzy

Logs:

Running xcodebuild
Parsing AppDelegate.swift (1/2)
Parsing ViewController.swift (2/2)
building site
building search index
10% documentation coverage with 9 undocumented symbols
included 10 private, fileprivate, internal, public, or open symbols
jam out ♪♫ to your fresh new docs in `docs`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants