-
Notifications
You must be signed in to change notification settings - Fork 51
Missing file Swift.h.md5 when building on consumer side #179
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
Comments
Hi! For frameworks, that (edge case documented in #149) should be automatically handled, but only if the FrameworkB was taken from remote cache - can you double check if that is a case for your? _If FrameworkB was not taken from cache, but built locally
|
That might be unclear, so here is what I mean:
Having a small sample app that demonstrates your setup would be helpful (but not absolutely required). Sidenote: This is an edge case with NS_ENUM exposed from ObjC to Swift, so if possible I recommend rewriting that enum(s) to Swift (if possible). |
Thank you @polac24 for your help, answers below:
No, Xcode builds just fine, I've updated the
Yes, FrameworkB is taken from remote cache (I can see it from the xcprebuild logs that it had downloaded and unzipped the artifact).
Before posting this issue, I've created a sample app with minimal code (objc and swift code + ns_enum), but unfortunately I don't reproduce this issue in that sampleapp. |
There are cases where XCRC finds something off at the very last moment, after downloading the zip artifact. |
I've added some logs and I'm getting progress with this issue: It's like this compilation phase is cleaning the $TARGET_TEMP_DIR before building the framework target. |
|
My integration setup:
xcprepare integrate ...
Description
FrameworkA
with a dependency toFrameworkB
When building
FrameworkA
on consumer side, in the "RemoteCache_prebuild" build phase, the "xcprebuild" binary logs this error:Prebuild step failed with error: missingFile(file:///Users/me/Library/Developer/Xcode/DerivedData/MyApp-hcdhdsaluzstendufballcumqkgv/Build/Products/Debug-iphonesimulator/FrameworkB.framework/Headers/FrameworkB-Swift.h.md5)
The README says I should move the "*-Swift.h.md5", but I'm not sure how and if it's even needed with the automatic integration.
Am I missing something ?
Other
FrameworkB
FrameworkB
, I don't have a bridging header, but I have an umbrella header which imports a header file with the NS_ENUMEnvironment
The text was updated successfully, but these errors were encountered: