name: Project include: [environments.yml] options: bundleIdPrefix: com.project usesTabs: false indentWidth: 2 tabWidth: 2 transitivelyLinkDependencies: true deploymentTarget: watchOS: 4.0 fileGroups: - Configs - FileGroup - SomeFile configFiles: Test Debug: Configs/config.xcconfig targets: Legacy: type: "" platform: iOS legacy: toolPath: /usr/bin/true passSettings: true App_iOS: type: application platform: iOS attributes: ProvisioningStyle: Automatic sources: - StandaloneFiles/StandaloneAssets.xcassets - path: App_iOS name: App compilerFlags: - "-Werror" excludes: - "**/excluded-file" - "excluded-file" - path: StandaloneFiles/Standalone.swift - FileGroup/UnderFileGroup - Resources/MyBundle.bundle - path: Resources/ResourceFolder type: folder - path: Folder type: folder buildPhase: none - path: Mintfile type: file buildPhase: none settings: INFOPLIST_FILE: App_iOS/Info.plist PRODUCT_BUNDLE_IDENTIFIER: com.project.app dependencies: - target: Framework_iOS - carthage: Alamofire - target: App_watchOS - target: iMessageApp scheme: testTargets: - App_iOS_Tests - App_iOS_UITests gatherCoverageData: true commandLineArguments: MyEnabledArgument: true MyDisabledArgument: false postbuildScripts: - path: scripts/strip-frameworks.sh name: Strip Unused Architectures from Frameworks runOnlyWhenInstalling: true - name: MyScript script: | echo "You ran a script!" App_watchOS: type: application.watchapp2 platform: watchOS deploymentTarget: 3.0 sources: App_watchOS settings: PRODUCT_BUNDLE_IDENTIFIER: com.project.app.watch dependencies: - target: App_watchOS Extension templates: [MyTemplate] App_watchOS Extension: type: watchkit2-extension platform: watchOS sources: App_watchOS Extension settings: PRODUCT_BUNDLE_IDENTIFIER: com.project.app.watch.extension dependencies: - carthage: Alamofire iMessageApp: type: application.messages platform: iOS sources: iMessage scheme: {} dependencies: - target: iMessageExtension iMessageExtension: type: app-extension.messages platform: iOS sources: iMessage MessagesExtension settings: PRODUCT_BUNDLE_IDENTIFIER: com.project.iMessageApp.extension StaticLibrary_ObjC: type: library.static platform: iOS sources: StaticLibrary_ObjC Framework: type: framework platform: [iOS, tvOS, watchOS, macOS] sources: - path: Framework excludes: - "*.xcodeproj" - path: Headers buildPhase: headers type: folder headerVisibility: public postbuildScripts: - name: MyScript path: scripts/script.sh dependencies: - carthage: Alamofire - target: StaticLibrary_ObjC App_iOS_Tests: type: bundle.unit-test platform: iOS sources: App_iOS_Tests dependencies: - target: App_iOS App_iOS_UITests: type: bundle.ui-testing platform: iOS sources: App_iOS_UITests dependencies: - target: App_iOS schemes: Framework: build: parallelizeBuild: false buildImplicitDependencies: false targets: Framework_iOS: all preActions: - script: echo Starting Framework Build settingsTarget: Framework_iOS run: commandLineArguments: argument: YES argument.with.dot: YES targetTemplates: MyTemplate: scheme: {} aggregateTargets: SuperTarget: targets: - App_iOS - Framework_iOS settings: MY_SETTING: hello buildScripts: - name: MyScript script: echo "do the thing"