class
Analyzer::Mobile::Ios
- Analyzer::Mobile::Ios
- Analyzer
- Reference
- Object
Overview
Parses iOS configuration files to surface mobile app entry points:
- Info.plist CFBundleURLTypes > CFBundleURLSchemes -> custom schemes
- *.entitlements com.apple.developer.associated-domains
applinks:
-> universal links
Same model as the Android analyzer: one endpoint per URI, method "GET",
mobile semantics in protocol. iOS declares no handler in the config
(deep links are dispatched by the App/SceneDelegate onOpenURL /
application(_:open:)), so via is filled later by the code layer.
Defined in:
analyzer/analyzers/mobile/ios.crConstant Summary
-
BUILD_VAR_RE =
/\$[({]([A-Za-z_][A-Za-z0-9_]*)[)}]/ -
$(VAR)/${VAR}build-setting reference. -
GENERIC_SCHEMES =
Set {"http", "https", "file", "content"} -
Generic web/file schemes an app may register without them being a real deep-link surface (a bare
http:///https://has no host to address). Compared case-insensitively. -
MAX_BUILD_VAR_EXPANSIONS =
32 -
MAX_BUILD_VAR_SUBSTITUTION_DEPTH =
8 -
MAX_BUILD_VAR_VALUES_PER_KEY =
16 -
MAX_PBXPROJ_FILES =
10 -
MAX_XCCONFIG_FILES =
40 -
PBXPROJ_ASSIGN_RE =
/^\s*([A-Za-z_][A-Za-z0-9_]*)\s*=\s*([^;]*)\s*;\s*$/ -
KEY = value;(project.pbxproj build setting assignment). -
URL_DOMAIN_SERVICES =
{"applinks:", "appclips:"} -
Associated-domain service prefixes that designate a URL entry point.
- applinks — a tapped https:// URL opens the full app (universal link)
- appclips — a tapped https:// URL launches the App Clip; same URL
mechanism, but a distinct (often less-trusted, friction-
reduced) surface that the App Clip target handles via
NSUserActivity. App Clip targets ship their own
*.entitlements that frequently list domains the main app
does NOT (e.g. pocket-casts
appclips:pocketcasts.net), so skipping them dropped a real entry point. webcredentials / activitycontinuation are autofill/handoff plumbing, not URL entry points, and stay ignored.
-
XCCONFIG_ASSIGN_RE =
/^\s*([A-Za-z_][A-Za-z0-9_]*)\s*=\s*([^\n]*)$/ -
KEY = value(xcconfig assignment); the value runs to a trailing comment / end of line. -
XCCONFIG_SEARCH_DEPTH =
6 -
How far up from the Info.plist to look for the project's build settings files, and how many to read.