Skip to content

Commit

Permalink
[codesign] remove metadata files for now (#2758)
Browse files Browse the repository at this point in the history
Remove codesign metadata after parsing them.

Context: fix flutter/flutter#126705 by removing codesign metadata after parsing them. When flutter/flutter#126875 becomes ready, we could add back codesign metadata inside engine zips?

Sorry for the delay, was busy landing different cps during the day
  • Loading branch information
XilaiZhang committed May 16, 2023
1 parent 74a6174 commit 0fc0cd5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions codesign/lib/src/file_codesign_visitor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,12 @@ update these file paths accordingly.
}

final Set<String> fileWithEntitlements = <String>{};

fileWithEntitlements.addAll(await fileSystem.file(entitlementFilePath).readAsLines());
// TODO(xilaizhang) : add back metadata information after https://github.com/flutter/flutter/issues/126705
// is resolved.
await fileSystem.file(entitlementFilePath).delete();

return fileWithEntitlements;
}

Expand Down

0 comments on commit 0fc0cd5

Please sign in to comment.