[various] Update example apps to Swift (#9347)
Converts the Objective-C iOS example apps for all non-iOS-plugin-implementation packages to Swift.
The process for this was (all using current stable, 3.32):
- Deleted example/ios.
- Ran flutter create --platforms=ios ..
- Reverted changes in ios/Runner/Assets.xcassets/AppIcon.appiconset (this doesn't really matter either way, I just decided not to thrash a bunch of icons, since there's no real reason to and it would have added a ton more files).
- Reverted changes outside of ios/, except for .gitignore which we may as well have a current version of.
- Added license blocks to template-created code files.
- Removed the RunnerTest target, its source file, and the Podfile adjustment to RunnerTest.
- Reverted bundle identifier changes in most cases, since it was often auto-detecting the old io.flutter.* org the examples were first created with.
- Re-added any important bits to Info.plist.
- Ran a build both with and without SwiftPM enabled, to ensure that all the Cocoapods and SwiftPM boilerplate is added to the projects to cut down on random diffs when people build later.
One-off changes:
- Added back Configuration.storkekit in in_app_purchase.
- Migrated the Google Maps API key code in AppDelegate.m to AppDelegate.swift
I did not convert the implementation packages in this PR because those will need to be handled more carefully, due to the presence of RunnerTest (and sometimes RunnerUITest) targets that need to be preserved.
Part of https://github.com/flutter/flutter/issues/148586
## Pre-Review Checklist
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
[in_app_purchase] Return jwsRepresentation and jsonRepresentation for StoreKit2 (#9280)
Fix for https://github.com/flutter/flutter/issues/164433
Providing access to jwsRepresentation. property of the transaction. With the most recent update PurchaseVerificationData returns empty now. I think it could make sense to repurpose it and return the:
- jsonRepresentation for localVerificationData
- jwsRepresentation for serverVerificationData
## Pre-Review Checklist
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.