Open magreenblatt opened 5 days ago
The frameworks symlinks are created in //build/config/mac/rules.gni.
Running touch out/Debug_GN_arm64/obj/cef/cef_framework.toc
and then rebuilding causes the Framework symlinks to be recreated.
The CEF sample apps sometimes fail to run when building incrementally after modifying the CEF API. For example, they fail due to API hash mismatches.
This causal issue doesn't reproduce consistently (e.g. I can't reproduce it currently just by modifying cef_api_hash.h
and rebuilding). I suspect that ninja is occasionally failing to update binaries in the app bundle when the Framework is rebuilt.
Describe the bug The CEF sample apps sometimes fail to run when building incrementally after modifying the CEF API. For example, they fail due to API hash mismatches. This can be fixed by manually deleting the .app and .framework artifacts to force a full repackaging of the sample apps. However, this does not recreate the Framework symlinks that exist with a new/clean build (e.g. the symlink from
ceftests.app/Contents/Frameworks/Chromium Embedded Framework.framework
toceftests.app/Contents/Frameworks/Chromium Embedded Framework.framework/Versions/A/Chromium Embedded Framework
).To Reproduce Steps to reproduce the behavior:
out/Debug_GN_x64/*.app
andout/Debug_GN_x64/Chromium Embedded Framework.framework
directories and rebuild.Expected behavior Sample apps should launch successfully.
Versions (please complete the following information):