Skip to content

Commit

Permalink
docs(messaging): add use_frameworks to notification images Podfile …
Browse files Browse the repository at this point in the history
…code snippet (#7745)

* Update ios-notification-images.md

Adding:
```
  use_frameworks! :linkage => :static
```

Because we use it on our main target and it solve this error:

```
[!] Unable to integrate the following embedded targets with their respective host targets (a host target is a "parent" target which embeds a "child" target like a framework or extension):

- XXX (true) and ImageNotification (false) do not both set use_frameworks!.
```

* chore: Update ios-notification-images.md

* Update docs/messaging/ios-notification-images.md

---------

Co-authored-by: Mike Hardy <[email protected]>
  • Loading branch information
eidan66 and mikehardy authored May 8, 2024
1 parent e724a46 commit 9fe3e4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/messaging/ios-notification-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Ensure that your new extension has access to Firebase/Messaging pod by adding it

```Ruby
target 'ImageNotification' do
pod 'Firebase/Messaging', '~> VERSION_NUMBER' # eg 6.31.0
use_frameworks! :linkage => :static
pod 'Firebase/Messaging'
end
```

Expand Down

0 comments on commit 9fe3e4b

Please sign in to comment.