Skip to content

Commit

Permalink
no xml flag
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Aug 15, 2023
1 parent a3ed425 commit 5979fbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ if [[ "$BUILD_TYPE" == "simulator" ]]; then

elif [[ "$BUILD_TYPE" == "device" ]]; then
# First check the legacy xml plist section.
codesign --display --xml --entitlements "$TEMP_OUTPUT" "$BUNDLE_ROOT"
codesign --display --xml --entitlements "$TEMP_OUTPUT" "$BUNDLE_ROOT" || \
codesign --display --entitlements "$TEMP_OUTPUT" "$BUNDLE_ROOT"

assert_contains "<key>$TEST_APP_CLIP_ENTITLEMENT_KEY</key>" "$TEMP_OUTPUT"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ if [[ "$BUILD_TYPE" == "simulator" ]]; then

elif [[ "$BUILD_TYPE" == "device" ]]; then
# First check the legacy xml plist section.
codesign --display --xml --entitlements "$TEMP_OUTPUT" "$BUNDLE_ROOT"
codesign --display --xml --entitlements "$TEMP_OUTPUT" "$BUNDLE_ROOT" || \
codesign --display --entitlements "$TEMP_OUTPUT" "$BUNDLE_ROOT"

assert_contains "<key>$TEST_ENTITLEMENT_KEY</key>" "$TEMP_OUTPUT"

Expand Down

0 comments on commit 5979fbd

Please sign in to comment.