question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update iOS target to 12.1 for Capacitor 3

See original GitHub issue

Capacitor 3 requires iOS 12.1, so this plugin results in a compilation error:

/app/node_modules/@capacitor-community/fcm/ios/Plugin/Plugin/Plugin.swift:2:8: Compiling for iOS 11.0, but module 'Capacitor' has a minimum deployment target of iOS 12.0

The target can be adjusted in XCode manually but is lost on every cap sync

(Maybe I meant 12.0 instead of 12.1 actually, but xcode only let me pick 12.1)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
stewonescommented, Jun 14, 2021

v2 for cap3 has been released

2reactions
ptmkennycommented, Jun 9, 2021

@Cyral I don’t think it’s fair to call this library dead when the maintainer is busy but willing to review pull requests. This is a community library, so people are welcome to contribute to help keep things up to date.

I recently followed the tutorial you mentioned, but it is for capacitor v2, not v3 (yes, the page says v3, but the information hasn’t been updated yet for all the changes that were made in v3); for v3, you need to follow the plugin docs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating to 3.0 | Capacitor Documentation
After upgrading your app to Capacitor 3, would you mind sharing any feedback you ... Under the Deployment section, change iOS Deployment Target...
Read more >
compiling for iOS 11.0, but module 'Capacitor' has a minimum ...
I'm facing this problem after upgrading my projetct to capacitor v3. ... but module 'Capacitor' has a minimum deployment target of iOS
Read more >
compiling for ios 12.0, but module 'capacitor' has a minimum ...
Compiling for iOS 11.0, but module has a minimum deployment target of iOS 13.0 ... capacitor-community/fcmUpdate iOS target to 12.1 for Capacitor 3#70....
Read more >
Error about minimum deployment target - Apple Developer
Try changing the Deployment Target of your frameworks to 8.0. Currently iOS playgrounds have a deployment target of 8.0 in Xcode 7 beta....
Read more >
swift - Xcode - Unit Test - Compiling for iOS 12 but module has ...
I think the error says that the deployment target of your unit test target is iOS 12.1 but your app target is 13.0....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found