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
Cannot build iOS app - 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString' #301
Comments
Yes, it's an known issue. Change |
Are you planning on fixing this in a new release anytime soon? Making the above change isn't going to help when I do a CI build of the app. |
Same question |
You can workaround this issue by typing next command in the root of the project: |
Yes, there is several pull requests to fix it like 106abbd . We only wait that it is approved, merged and released by creator. You can fork and doing it |
I have given up on waiting for this to be fixed. I have created a substitute for the npm package using @markterrill code (Refer #271). If you want to try it run:
Hope it works for you... |
Cheers @danielzen ! Thanks for the reminder re npm install from git, that'll be very helpful to a lot of folk reading this thread. Mark |
Now that I have updated to Swift 5, I understand why @markterrill's code was not accepted. Perhaps it is better to set swift5 in Cordova or Capacitor (as I did)? In cordova use: https://www.npmjs.com/package/cordova-plugin-add-swift-support In capacitor set cordovaSwiftVersion: https://capacitor.ionicframework.com/docs/basics/configuring-your-app/ I'm leaving my Swift 3 version at https://github.com/danielzen/cordova-plugin-qrscanner in the meantime, but I no longer recommend it. Hope this helps. |
srsly it has been almost a year now ! |
Is this closed because it is fixed? |
I recommend looking at: based on It has updates that are working for me.... |
@terryjiang2020 - closed because there is nothing to fix - it is not a bug - your Cordova iOS settings need to use Swift 5 (at least 4.2, but definitely not 3) and the plugin will work fine. I'm assuming you have an older project, so you probably need an older fix - this was the solution nearly 2 years ago. |
I cannot build an iOS app with this plugin. I get the following errors:
The text was updated successfully, but these errors were encountered: