-
Notifications
You must be signed in to change notification settings - Fork 136
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
Carthage Compilation Error: 'module.modulemap' should be inside the 'include' directory #71
Comments
Hey @joeydong 👋. Thank you for reporting this and so much details. I can reproduce it on As a workaround - it works fine on |
when I pull 1.0.2 and run
I feel like im missing something... |
@00FA9A Please ensure that
Seems that Carthage doesn't remove it entirely before clone and |
@ncreated thanks for pointing out the local checkout folder. I was clearing up global Carthage cache, but forgot to clean this up too |
@ncreated we get we rely on CarthageCache for our dependencies, which just caches Builds folder. basically, we are unable to build on CI or whenever actual checkout of DataDog is not present |
@ncreated is the above expected or should a separate issue be filed? I've been able to repro easily by including a Carthage dependency in a simple project, removing |
Hey @00FA9A 👋. This sounds like a separate issue as vanilla Carthage installation works fine. I just opened #77 - we jump on this next 💪. |
Describe what happened
Hi, I'm trying to install the latest release dd-sdk-ios 1.0.1 using Carthage 0.34.0 and Xcode 11.3.1 but this dependency fails to compile with this error:
I got this xcrun command from the failed Carthage output:
Any ideas?
Steps to reproduce the issue:
Looks like I can reproduce this in Xcode 11.3.1 by:
/dd-sdk-ios/examples/iOS-app-example-spm/iOS-app-example-spm.xcodeproj
The compilation works fine in Xcode 11.4.0, somewhat surprisingly, but 🤷♂ :
Expected behaviour:
📝
Actual behaviour:
📝
Additional context
An explanation of what might cause the bug and/or how it can be fixed:
Removing the empty
/Datadog/DatadogPrivate/module.modulemap
file seems to satisfy the compiler and fixes the build. Not sure what the implications of this are, though, perhaps an undesirable one is auto-generated.The text was updated successfully, but these errors were encountered: