Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode 10.3 Error: Property 'modalInPresentation' not found #103

Open
ehdez82 opened this issue Jan 23, 2020 · 2 comments
Open

XCode 10.3 Error: Property 'modalInPresentation' not found #103

ehdez82 opened this issue Jan 23, 2020 · 2 comments

Comments

@ehdez82
Copy link

ehdez82 commented Jan 23, 2020

Hi, I am using the latest version of the plugin and I have a build error in IOS.

The XCode error is as follows:
cordova-plugin-mediapicker-dmcsdk/MediaPicker.m:40:13: Property 'modalInPresentation' not found on object of type 'DmcPickerViewController *'.

Please your help with this error. Thank you

Ionic:

Ionic CLI : 5.4.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.9.1
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.2, (and 24 other plugins)

Utility:

cordova-res : 0.6.0 (update available: 0.8.1)
native-run : not installed

System:

ios-deploy : 1.9.4
ios-sim : 8.0.2
NodeJS : v12.10.0 (/usr/local/Cellar/node/12.10.0/bin/node)
npm : 6.11.3
OS : macOS Mojave
Xcode : Xcode 10.3 Build version 10G8

@ehdez82 ehdez82 changed the title IOS Build Error XCode 10.3 Build Error Jan 24, 2020
@ehdez82 ehdez82 changed the title XCode 10.3 Build Error XCode 10.3 Error: Property 'modalInPresentation' not found Jan 24, 2020
@ehdez82
Copy link
Author

ehdez82 commented Jan 27, 2020

Please any help with this error?

@Mr-Anonymous
Copy link

I think this error might be due to this commit: ae54242#diff-b6864d7a2fd6a1ac61b1148f96850f58

I recently had a lot of errors on iOS when I used the latest version. I reverted back to an older commit from October 11 and it seems to work for me. If it helps, you can read this to see how to revert to older commit until someone fixes the latest version of this plugin which is causing different problems in iOS. More info: #107 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants