Add function to filter by library identifier on XCFramework import
Add function to filter by library identifier on XCFramework import

For readability, add a function to filter by library identifier during
XCFramework import path parsing process.

PiperOrigin-RevId: 464604588
(cherry picked from commit 1483b8fbe7057e21eebfe0fb2f70256f870ddcfc)

bazelbuild/rules_apple,bazelbuild/rules_apple,bazelbuild/rules_apple,bazelbuild/rules_apple