Skip to content

Commit

Permalink
Fix arm64 device picking arm64 simulator builds
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Jul 15, 2022
1 parent d87e504 commit 27eeb52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apple/internal/apple_xcframework_import.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ def _get_library_identifier(

if target_environment == "simulator" and not library_identifier.endswith("-simulator"):
continue
if target_environment != "simulator" and library_identifier.endswith("-simulator"):
continue

return library_identifier

Expand Down

0 comments on commit 27eeb52

Please sign in to comment.