-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix library identifier matching for XCFrameworks import rules
Current logic for figuring out an XCFramework library identifier from file paths fails to match correctly for arm64 device builds, choosing a simulator library due to how an XCFramework library identifier for a device build is a substring for a simulator build: - Device build: `ios-arm64` - Simulator build: `ios-arm64-simulator` This change updates current logic to match a library identifier from file paths using the effective target triplet, as well as matching XCFramework files using that library identifier from file paths. Additionally, it adds extra handling logic to avoid selecting an `arm64e` or `arm64_32` library when targeting `arm64` due to substring matching. Based on PR #1579 by keith PiperOrigin-RevId: 471303360
- Loading branch information
1 parent
28e98d1
commit 717d4b4
Showing
6 changed files
with
294 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
717d4b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#2055