capacitor-community / privacy-screen

⚡️ Capacitor plugin that protects your app from displaying a screenshot in Recents screen/App Switcher.
MIT License
88 stars 23 forks source link

IOS Build version #30

Closed tellybrown closed 3 years ago

tellybrown commented 3 years ago

I am very new to IOS builds and not sure if what I am seeing is correct.

My Error:

[!] CocoaPods could not find compatible versions for pod "CapacitorCommunityPrivacyScreen":
  In Podfile:
    CapacitorCommunityPrivacyScreen (from `../../node_modules/@capacitor-community/privacy-screen`)

Specs satisfying the `CapacitorCommunityPrivacyScreen (from `../../node_modules/@capacitor-community/privacy-screen`)` dependency were found, but they required a higher minimum deployment target.

When I look at both our PodFiles we match on platform :ios, '11.0' But when I look at your podspec file I see s.ios.deployment_target = '12.0'

Shouldn't those be the same version? If not, then where do I upgrade my ionic app ios version?

robingenz commented 3 years ago

A working example can be found here: robingenz/capacitor-plugin-demo Please compare your iOS configuration with the iOS configuration of the demo app. The podfile of the demo app uses platform :ios, '12.0'.

Regardless, these two versions should indeed be the same. I will update this.