# 1A spike:验证 iOS 键盘扩展内能否录音(完全访问开启时 AVAudioEngine 是否收到音频回调) # 生成工程:xcodegen generate;真机运行需在 Xcode 中选择你的开发者团队签名。 name: DuduKbMicSpike options: bundleIdPrefix: app.dudu.spike deploymentTarget: iOS: "17.0" settings: base: # 生成式 Info.plist 的 CFBundleVersion/ShortVersion 来源;缺失会导致真机安装报 MissingBundleVersion CURRENT_PROJECT_VERSION: 1 MARKETING_VERSION: "1.0" CODE_SIGN_STYLE: Automatic DEVELOPMENT_TEAM: FVVBJ8M8PU targets: App: type: application platform: iOS sources: [App] settings: base: PRODUCT_BUNDLE_IDENTIFIER: app.dudu.spike.kbmic INFOPLIST_KEY_NSMicrophoneUsageDescription: "spike:验证键盘扩展录音可行性" INFOPLIST_KEY_UIApplicationSceneManifest_Generation: true INFOPLIST_KEY_UILaunchScreen_Generation: true GENERATE_INFOPLIST_FILE: true dependencies: - target: KeyboardExt embed: true KeyboardExt: type: app-extension platform: iOS sources: [KeyboardExt] settings: base: PRODUCT_BUNDLE_IDENTIFIER: app.dudu.spike.kbmic.keyboard GENERATE_INFOPLIST_FILE: true INFOPLIST_FILE: KeyboardExt/Info.plist