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

Flag iOS 9.0 deprecation warnings #631

Open
3 tasks done
u01jmg3 opened this issue Aug 3, 2024 · 0 comments
Open
3 tasks done

Flag iOS 9.0 deprecation warnings #631

u01jmg3 opened this issue Aug 3, 2024 · 0 comments

Comments

@u01jmg3
Copy link

u01jmg3 commented Aug 3, 2024

Bug Report

Problem

What is expected to happen?

Not to see deprecation warnings for iOS 9.0

What does actually happen?

The following deprecation warnings appear in my log when building my Cordova app on monaca.io.

stringByAddingPercentEscapesUsingEncoding is deprecated: first deprecated in iOS 9.0

  • Use stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid.

stringByReplacingPercentEscapesUsingEncoding is deprecated: first deprecated in iOS 9.0

  • Use stringByRemovingPercentEncoding instead, which always uses the recommended UTF-8 encoding.

Information

Apple docs: https://developer.apple.com/documentation/foundation/nsstring/1407783-stringbyreplacingpercentescapesu

Command or Code

Forgive me if this is the wrong command - I'm extracting it from the log Monaca automatically generates.

CompileC /Users/builder/Library/Developer/Xcode/DerivedData/Assess-dlavgjwbqzsbhgafcbkmwzzohbxe/Build/Intermediates.noindex/ArchiveIntermediates/Assess/IntermediateBuildFilesPath/Assess.build/Release-iphoneos/Assess.build/Objects-normal/arm64/CDVLocalFilesystem.o /tmp/download/platforms/ios/Assess/Plugins/cordova-plugin-file/CDVLocalFilesystem.m

Environment, Platform, Device

iOS (also present in OSX)

Version information

Cordova: 12
Cordova iOS: 7.1.0
Cordova Plugin File: 8.1.0
Xcode: 15.0.1

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@u01jmg3 u01jmg3 mentioned this issue Aug 4, 2024
u01jmg3 added a commit to u01jmg3/cordova-plugin-file that referenced this issue Aug 4, 2024
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

1 participant