Repository: firebase/firebase-ios-sdk (language: cpp)

Issue:
[FirebaseMessaging] no rule to process file 'PrivacyInfo.xcprivacy' of type 'text.xml' with CocoaPods
### Description

When installing FirebaseMessaing 10.22.1 on CocoaPod, the following warning appears.
```log
no rule to process file xxx/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Resources/PrivacyInfo.xcprivacy' of type 'text.xml' for architecture 'arm64'
````

This is probably because `PrivacyInfo.xcprivacy` is included in FirebaseMessaing's `Compile Sources`.

### Reproducing the issue

Install and build FirebaseMessaging 10.22.1 with CocoaPod

### Firebase SDK Version

10.22.1

### Xcode Version

15.2

### Installation Method

CocoaPods

### Firebase Product(s)

Messaging

### Targeted Platforms

iOS

### Relevant Log Output

_No response_

### If using Swift Package Manager, the project's Package.resolved

<!--- Look below for instructions on how to share your Package.resolved. --->

<details>
<summary>Expand <code>Package.resolved</code> snippet</summary>
<br>

```json

Replace this line with the contents of your Package.resolved.

```

</details>


### If using CocoaPods, the project's Podfile.lock

<!--- Look below for instructions on how to share your Podfile.lock. --->

<details>
<summary>Expand <code>Podfile.lock</code> snippet</summary>
<br>

```yml

 - Firebase/Messaging (10.22.0):

```

</details>



Discussion / hints:
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Fix patch:
diff --git a/FirebaseMessaging.podspec b/FirebaseMessaging.podspec
index 15195fc96f1..6e3cbcde4e6 100644
--- a/FirebaseMessaging.podspec
+++ b/FirebaseMessaging.podspec
@@ -37,7 +37,7 @@ device, and it is completely free.
 
   base_dir = "FirebaseMessaging/"
   s.source_files = [
-    base_dir + 'Sources/**/*',
+    base_dir + 'Sources/**/*.{c,m,h}',
     base_dir + 'Sources/Protogen/nanopb/*.h',
     base_dir + 'Interop/*.h',
     'Interop/Analytics/Public/*.h',


Test patch: