FLEXTool / FLEX

An in-app debugging and exploration tool for iOS
Other
14.07k stars 1.7k forks source link

Xcode yellow warnings in several files #682

Closed ingopaulsen closed 2 months ago

ingopaulsen commented 12 months ago

Environment

Xcode warnings

Unfortunately, I get the following warnings when I set iOS target to at least iOS 12.0 when I navigate to report navigator local:

Affected files are: FLEXUIAppShortcuts.m, FLEXTableViewController.m, FLEXSystemLogMessage.m, FLEXRuntimeExporter.m, FLEXProtocol.m, FLEXNetworkMITMViewController.m, FLEXKeychainQuery.m, FLEXFileBrowserController.m, FLEXExplorerViewController.m, and FLEXASLLogController.m

NSExceptional commented 2 months ago

This project still supports iOS 9 and uses many APIs that were deprecated without replacement. It is not recommended that you change the deployment target to iOS 12.

That said, I have fixed some of the warnings by gating them with if (@available(...)) statements as needed.