name: EncryptedChat
options:
  bundleIdPrefix: com.encryptedchat
  deploymentTarget:
    iOS: "16.0"
  xcodeVersion: "15.0"
  generateEmptyDirectories: true

settings:
  base:
    SWIFT_VERSION: "5.9"
    IPHONEOS_DEPLOYMENT_TARGET: "16.0"
    ENABLE_PREVIEWS: "YES"

targets:
  EncryptedChat:
    type: application
    platform: iOS
    sources:
      - path: EncryptedChat
    settings:
      base:
        GENERATE_INFOPLIST_FILE: "YES"
        PRODUCT_BUNDLE_IDENTIFIER: com.encryptedchat.app
        INFOPLIST_KEY_UIApplicationSceneManifest_Generation: "YES"
        INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: "YES"
        INFOPLIST_KEY_UILaunchScreen_Generation: "YES"
        INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
        INFOPLIST_KEY_NSPhotoLibraryUsageDescription: "Select photos to share in chat"
        INFOPLIST_KEY_NSCameraUsageDescription: "Take photos to share in chat"
        INFOPLIST_KEY_CFBundleDisplayName: "Encrypted Chat"
        INFOPLIST_KEY_LSApplicationCategoryType: "public.app-category.social-networking"
        CODE_SIGN_STYLE: Automatic
