window_manager icon indicating copy to clipboard operation
window_manager copied to clipboard

v0.5.0 throwing PrivacyInfo.xcprivacy warning for macOS Desktop on Mac M1 macOS 15 (Sequoia)

Open Stef-GMS opened this issue 6 months ago • 2 comments

When using v0.5.0 a warning is given on Mac M1 when building for macOS Desktop. v0.5.0 works fine for iOS 16 simulator. v0.4.3 no warning is given on same machine.

warning: no rule to process file '/Users/XXXXXX/.pub-cache/hosted/pub.dev/window_manager-0.5.0/macos/window_manager/Sources/window_manager/PrivacyInfo.xcprivacy' of type 'text.xml' for architecture 'arm64' (in target 'window_manager' from project 'Pods')

Stef-GMS avatar Jun 06 '25 02:06 Stef-GMS

i have the same:

❯ flutter build macos warning: no rule to process file '/Users/xxxxx/.pub-cache/hosted/pub.dev/window_manager-0.5.0/macos/window_manager/Sources/window_manager/PrivacyInfo.xcprivacy' of type 'text.xml' for architecture 'arm64' (in target 'window_manager' from project 'Pods') warning: no rule to process file '/Users/xxxxx/.pub-cache/hosted/pub.dev/window_manager-0.5.0/macos/window_manager/Sources/window_manager/PrivacyInfo.xcprivacy' of type 'text.xml' for architecture 'x86_64' (in target 'window_manager' from project 'Pods')

ilbonte avatar Jun 08 '25 13:06 ilbonte

Maybe because the PrivacyInfo.xcprivacy file was added but this line was not uncommented. I'm not sure if should be uncommented https://github.com/leanflutter/window_manager/blob/3cf0c12ad4e58247074ce3e4ec1d171aeacd5887/packages/window_manager/macos/window_manager/Package.swift#L20-L24

ilbonte avatar Jun 08 '25 13:06 ilbonte

Getting this same warning for MacOS (M4 chip, Sequoia 15.5).

itsvinayyay avatar Jun 22 '25 10:06 itsvinayyay

Please upgrade to 0.5.1

lijy91 avatar Jul 12 '25 07:07 lijy91