XCTest: Support Static Libraries

Status Job ID Name Coverage
  External
passed ghostflow-branch-check

passed ghostflow-commit-check