8000 Library not found when running outside of XCode · Issue #7547 · tuist/tuist · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Library not found when running outside of XCode #7547

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

Open
nhaarman opened this issue May 2, 2025 · 0 comments
Open

Library not found when running outside of XCode #7547

nhaarman opened this issue May 2, 2025 · 0 comments
Labels
type:bug Something isn't working

Comments

@nhaarman
Copy link
nhaarman commented May 2, 2025

What happened?

I've got this project (Workspace.swift + Project.swift) where I want to include https://github.com/pointfreeco/swift-snapshot-testing. When I run my snapshot tests from XCode, all is well. However, when I run xcodebuild -workspace MyApp.xcworkspace -quiet build CODE_SIGNING_ALLOWED="NO" -scheme MyApp-Workspace I get the following error:

MyApp/ios/DesignSystem/SnapshotTests/MyViewSnapshotTest.swift:2:8: error: no such module 'SnapshotTesting'
import SnapshotTesting
       ^

How do we reproduce it?

MyApp.zip

To reproduce:

  • Download and extract the zip
  • Run tuist install && tuist generate
  • Run xcodebuild -workspace MyApp.xcworkspace -quiet build CODE_SIGNING_ALLOWED="NO" -scheme MyApp-Workspace

Error log

log.txt

macOS version

15.4.1 (24E263)

Tuist version

4.48.2

Xcode version

16.3.0

@nhaarman nhaarman added the type:bug Something isn't working label May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant
0