renameSharedModule

Rename the CocoaPods and Swift module across the Apple sources: from is the name in the files today, to is the name you want.

Calling this is the opt-in for the Podfile and Swift migration. One call replaces the old propagateSharedModule, iosSharedModuleName, and iosPreviousSharedModuleName trio.

renameSharedModule(from = "OldShared", to = "Shared")

This rewrites your Swift source. Run it once, read the diff, and commit. The root dryRun shows the plan first, and backups keeps a recovery copy.