In short
An iOS app usually has two dependency lockfiles: Podfile.lock for CocoaPods and Package.resolved for Swift Package Manager. Many apps have both.
Both record exact versions, so both can be turned into a CycloneDX SBOM. Each one covers only its own package manager, so merge them for one release.
Swift Package Manager is getting built-in SBOM generation (proposal SE-0509, accepted), but check that your toolchain has it before you rely on it.
What the CRA asks for
Annex I, Part II, point (1) of Regulation (EU) 2024/2847 requires manufacturers to "identify and document vulnerabilities and components contained in products with digital elements, including by drawing up a software bill of materials in a commonly used and machine-readable format covering at the very least the top-level dependencies of the products". The text names no format. CycloneDX and SPDX are the two usual choices, and this guide uses CycloneDX.
For an iOS app, "components" means the third-party libraries you link into the app.…