You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that in this stage, rules would unzip the bundle, codesign it and re-zip it. These unzipping and zipping steps consume too much time if the app is large (e.g. my bundle is about 3GB). As I would always launch the app via lldb, which can bypass the codesign problem, I'd like to just skip this stage to speedup building.
For instance, it takes me 8s to link the final binary, 15s to bundle, and 60s to codesign (the whole stage). Also, I have an extra unzip genrule (unzip the bundle) which takes about 10s.
I've also tried tree_artifact_outputs option, but this results the codesign stage to cost 150s (which only saves the last unzip stage, which costs 10s).
Sorry, it turns out that the bundletool_experimental.py in project has been altered by another developer, which incorrectly perform codesign on each dylib during copy files.
It seems that in this stage, rules would unzip the bundle, codesign it and re-zip it. These unzipping and zipping steps consume too much time if the app is large (e.g. my bundle is about 3GB). As I would always launch the app via lldb, which can bypass the codesign problem, I'd like to just skip this stage to speedup building.
For instance, it takes me 8s to link the final binary, 15s to bundle, and 60s to codesign (the whole stage). Also, I have an extra unzip genrule (unzip the bundle) which takes about 10s.
I've also tried
tree_artifact_outputs
option, but this results the codesign stage to cost 150s (which only saves the last unzip stage, which costs 10s).rules_apple/tools/bundletool/process_and_sign.sh.template
Lines 33 to 34 in 7e4c6b2
rules_apple/tools/bundletool/process_and_sign.sh.template
Lines 74 to 83 in 7e4c6b2
The text was updated successfully, but these errors were encountered: