Building Studio inside macOS Repositories.nosync/ paths fails codesign with "resource fork, Finder information, or similar detritus not allowed" because Spotlight / iCloud metadata adds extended attributes that codesign rejects. Stripping xattrs once doesn't help — the build copies fresh files into the .app bundle and macOS re-attaches xattrs to those copies before codesign runs. Fix: set CODE_SIGNING_ALLOWED = NO in Debug.xcconfig. Local debug runs don't need a signed binary; release builds (which ship to operators) keep their own xcconfig and remain signed. Verified: flutter build macos --debug now succeeds. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com> |
||
|---|---|---|
| .. | ||
| AppInfo.xcconfig | ||
| Debug.xcconfig | ||
| Release.xcconfig | ||
| Warnings.xcconfig | ||