project.yml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. name: MixBoardiOS
  2. options:
  3. bundleIdPrefix: com.mixboard
  4. deploymentTarget:
  5. iOS: "17.0"
  6. generateEmptyDirectories: true
  7. xcodeVersion: "16.0"
  8. settings:
  9. base:
  10. SWIFT_VERSION: "5.9"
  11. IPHONEOS_DEPLOYMENT_TARGET: "17.0"
  12. targets:
  13. MixBoardiOS:
  14. type: application
  15. platform: iOS
  16. sources:
  17. - path: Sources
  18. info:
  19. path: Info.plist
  20. properties:
  21. UIBackgroundModes: [audio]
  22. settings:
  23. base:
  24. PRODUCT_BUNDLE_IDENTIFIER: com.mixboard.MixBoardiOS
  25. PRODUCT_NAME: MixBoard
  26. INFOPLIST_GENERATION_MODE: GeneratedByXcode
  27. GENERATE_INFOPLIST_FILE: YES
  28. MARKETING_VERSION: "1.0.0"
  29. CURRENT_PROJECT_VERSION: 1
  30. SWIFT_EMIT_LOC_STRINGS: YES
  31. ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
  32. ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS: YES
  33. ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES: "AppIcon-Green AppIcon-Lime AppIcon-Cyan AppIcon-Blue AppIcon-Purple AppIcon-Pink AppIcon-Red AppIcon-Orange AppIcon-Gold AppIcon-White"
  34. CODE_SIGN_ENTITLEMENTS: MixBoardiOS.entitlements
  35. SWIFT_OBJC_BRIDGING_HEADER: Sources/OGG/MixBoard-Bridging-Header.h
  36. HEADER_SEARCH_PATHS: "$(SRCROOT)/Sources/OpusLib/include $(SRCROOT)/Sources/OpusLib/include/opus $(SRCROOT)/Sources/OpusLib/include/ogg"
  37. LIBRARY_SEARCH_PATHS[sdk=iphoneos*]: "$(SRCROOT)/Sources/OpusLib/lib"
  38. LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*]: ""
  39. OTHER_LDFLAGS[sdk=iphoneos*]: "-logg -lopus -lopusfile"
  40. OTHER_LDFLAGS[sdk=iphonesimulator*]: ""
  41. SWIFT_ACTIVE_COMPILATION_CONDITIONS[sdk=iphonesimulator*]: "DISABLE_OPUS"
  42. GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*]: "DISABLE_OPUS=1"
  43. INFOPLIST_KEY_LSApplicationCategoryType: "public.app-category.music"
  44. INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: YES
  45. INFOPLIST_KEY_UILaunchScreen_Generation: YES
  46. INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
  47. INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
  48. INFOPLIST_KEY_UISupportsDocumentBrowser: YES
  49. INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace: YES
  50. SUPPORTS_MACCATALYST: NO
  51. TARGETED_DEVICE_FAMILY: "1,2"
  52. configs:
  53. Debug:
  54. CODE_SIGN_IDENTITY: "Apple Development"
  55. SWIFT_OPTIMIZATION_LEVEL: "-Onone"
  56. Release:
  57. SWIFT_OPTIMIZATION_LEVEL: "-O"
  58. MixBoardiOSTests:
  59. type: bundle.unit-test
  60. platform: iOS
  61. sources:
  62. - path: Tests
  63. dependencies:
  64. - target: MixBoardiOS
  65. settings:
  66. base:
  67. PRODUCT_BUNDLE_IDENTIFIER: com.mixboard.MixBoardiOSTests
  68. GENERATE_INFOPLIST_FILE: YES
  69. TEST_HOST: "$(BUILT_PRODUCTS_DIR)/MixBoard.app/MixBoard"
  70. BUNDLE_LOADER: "$(TEST_HOST)"
  71. HEADER_SEARCH_PATHS: "$(SRCROOT)/Sources/OpusLib/include $(SRCROOT)/Sources/OpusLib/include/opus $(SRCROOT)/Sources/OpusLib/include/ogg"
  72. SWIFT_OBJC_BRIDGING_HEADER: ""
  73. SWIFT_ACTIVE_COMPILATION_CONDITIONS[sdk=iphonesimulator*]: "DISABLE_OPUS"
  74. GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*]: "DISABLE_OPUS=1"
  75. MixBoardiOSUITests:
  76. type: bundle.ui-testing
  77. platform: iOS
  78. sources:
  79. - path: UITests
  80. dependencies:
  81. - target: MixBoardiOS
  82. settings:
  83. base:
  84. PRODUCT_BUNDLE_IDENTIFIER: com.mixboard.MixBoardiOSUITests
  85. GENERATE_INFOPLIST_FILE: YES
  86. TEST_TARGET_NAME: MixBoardiOS