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

error: no such module 'UIKit' #64

Open
euri21 opened this issue Sep 11, 2023 · 4 comments
Open

error: no such module 'UIKit' #64

euri21 opened this issue Sep 11, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@euri21
Copy link

euri21 commented Sep 11, 2023

When I run this command in my project,
swift package generate-documentation

it is failed with the following error.

/Users/.../ProjectName/PackageName/Sources/.../ScreenCoordinateValue.swift:6:8: error: no such module 'UIKit'
import UIKit

What is wrong?

@euri21 euri21 added the bug Something isn't working label Sep 11, 2023
@x-0o0
Copy link

x-0o0 commented Nov 4, 2023

Hi, @euri21
You should run xcodebuild docbuild command instead when your package uses UIKit

@kvasnetskyi
Copy link

Hi, @euri21 You should run xcodebuild docbuild command instead when your package uses UIKit

swift package generate-xcodeproj is already deprecated. So I don't really understand how I should generate documentation.

@x-0o0
Copy link

x-0o0 commented Mar 1, 2024

@kvasnetskyi
Here's my sample commands for generating the documentation: https://github.com/x-0o0/package-docc-example/blob/main/README_ENG.md#build-documentation
I hope that it would be helpful

@kvasnetskyi
Copy link

@kvasnetskyi Here's my sample commands for generating the documentation: https://github.com/x-0o0/package-docc-example/blob/main/README_ENG.md#build-documentation I hope that it would be helpful

@x-0o0 Thank you! I will check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants