This file contains hidden or 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
| PLISTBUDDY="/usr/libexec/PlistBuddy" | |
| ENT_PLIST="${TMPDIR}/Debug.entitlements" | |
| # 1) Create the file if it doesn't exist (as a valid plist with an empty dict) | |
| if [ ! -f "$ENT_PLIST" ]; then | |
| /usr/bin/plutil -create xml1 "$ENT_PLIST" | |
| # "$PLISTBUDDY" -c "Add : dict" "$ENT_PLIST" 2>/dev/null || true | |
| fi | |
| # 2) Update if it exists; otherwise add it |
This file contains hidden or 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
| // | |
| // PhotoEditView+CropOverlay.swift | |
| // FaceYoga | |
| // | |
| // Created by Huanan on 2025/8/19. | |
| // | |
| import MKKit13 | |
| // MARK: - CropOverlayView.CropRectangeLayer |
OlderNewer