Repository navigation
fix(ios): silence the protocol property synthesis warnings in Keyboard.m - #83
Merged
OS-ruimoreiramendes merged 1 commit intoSep 28, 2026
Conversation
KeyboardPlugin's CAPBridgedPlugin conformance comes from the CAP_PLUGIN macro, so clang also warns that it will not auto-synthesize the protocol's identifier, jsName and pluginMethods properties. Ignore -Wobjc-protocol-property-synthesis next to the existing -Wprotocol suppression. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OS-ruimoreiramendes
approved these changes
Sep 28, 2026
capacitor-bot
pushed a commit
that referenced
this pull request
Oct 2, 2026
## [8.0.6](v8.0.5...v8.0.6) (2026-10-02) ### Bug Fixes * **ios:** silence the protocol property synthesis warnings in Keyboard.m ([#83](#83)) ([f28aef4](f28aef4))
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Building an app that uses the plugin (Xcode, SPM) shows three warnings from
Keyboard.m:The conformance is provided by the
CAP_PLUGINmacro, which is why the file already ignores-Wprotocol. Those properties hit a separate diagnostic,-Wobjc-protocol-property-synthesis, so this adds it to the same push/pop block. No behaviour change.Testing
Built an app on 8.0.5 with the change applied (as a local patch) for the iOS simulator and a device: the three warnings are gone, and the keyboard events and
setAccessoryBarVisiblestill work.🤖 Generated with Claude Code