Solution to the never-build package 'A' requires always-build package 'B' error in Delphi:
1. Principle:
Two BPL packages. If Package A requires B, the build control of Package A and Package B must be consistent, or package a is rebuild as needed (always-build ), package B is explicit rebuild (never-build ). The reason is: If Package A is explicit rebuild and Package B is rebuild as needed, it means that package a is very stable and does not need to be compiled, but the B package of Package A requires is always changed, it must be compiled frequently. So, when Package B changes, it should be updated, while Package A is explicit rebuild, so Package A is still not compiled, so the content of Package A is old, eventually, package update fails. If the application calls Package A, an error occurs. Therefore, the combination of "A package is explicit rebuild and B is rebuild as needed" is not allowed in the case of a package requires B. Delphi prompts the never-build package 'a 'requires always-build package 'B' error.
2. solution:
Set the build control in the description panel in the project-> Option of the two packages to the same, which is usually rebuild as needed.