Skip to content

Instantly share code, notes, and snippets.

@noppefoxwolf
Created October 22, 2020 16:48
Show Gist options
  • Save noppefoxwolf/d53faa653fb7eea739ec11c4277909ab to your computer and use it in GitHub Desktop.
Save noppefoxwolf/d53faa653fb7eea739ec11c4277909ab to your computer and use it in GitHub Desktop.
project.yml
name: Broadcast
configs:
Debug: debug
Release: release
targetTemplates:
Project:
platform: iOS
deploymentTarget: "14.0"
settings:
base:
DEVELOPMENT_TEAM: FBQ6Z8AF3U
MARKETING_VERSION: 1.0.1
CURRENT_PROJECT_VERSION: 27
OTHER_LDFLAGS: $(inherited) $(OTHER_LDFLAGS) -ObjC
packages:
TwitCasting:
url: https://github.com/noppefoxwolf/TwitCasting
branch: master
HaishinKit:
url: https://github.com/shogo4405/HaishinKit.swift
version: 1.0.12
SnapKit:
url: https://github.com/SnapKit/SnapKit
version: 5.0.1
SwiftUIFlux:
url: https://github.com/Dimillian/SwiftUIFlux
version: 0.5.1
SwiftUIExtensions:
url: https://github.com/noppefoxwolf/SwiftUIExtensions
version: 0.0.6
OAuthSwift:
url: https://github.com/OAuthSwift/OAuthSwift
version: 2.1.2
Twitch:
url: https://github.com/noppefoxwolf/Twitch
branch: master
KeychainAccess:
url: https://github.com/kishikawakatsumi/KeychainAccess
version: 4.2.1
YoutubeLive:
url: https://github.com/noppefoxwolf/YoutubeLive
branch: master
SFSymbol:
url: https://github.com/Nirma/SFSymbol
version: 1.0.0
targets:
Shared:
templates:
- Project
type: framework
sources:
- path: Shared
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: dev.noppe.ReplayStudio.Shared
APPLICATION_EXTENSION_API_ONLY: YES
dependencies:
- package: KeychainAccess
Upload:
templates:
- Project
type: app-extension
sources:
- path: Broadcaster/Upload
settings:
base:
CODE_SIGN_ENTITLEMENTS: Broadcaster/Upload/BroadcastUpload.entitlements
configs:
Debug:
PRODUCT_BUNDLE_IDENTIFIER: dev.noppe.ReplayStudio.debug.BroadcastUpload
Release:
PRODUCT_BUNDLE_IDENTIFIER: dev.noppe.ReplayStudio.BroadcastUpload
dependencies:
- target: Shared
- package: HaishinKit
- package: TwitCasting
- package: YoutubeLive
SetupUI:
templates:
- Project
type: app-extension
sources:
- path: Broadcaster/SetupUI
settings:
base:
CODE_SIGN_ENTITLEMENTS: Broadcaster/SetupUI/BroadcastSetupUI.entitlements
configs:
Debug:
PRODUCT_BUNDLE_IDENTIFIER: dev.noppe.ReplayStudio.debug.BroadcastSetupUI
Release:
PRODUCT_BUNDLE_IDENTIFIER: dev.noppe.ReplayStudio.BroadcastSetupUI
dependencies:
- target: Shared
- package: SnapKit
- package: TwitCasting
- package: Twitch
- package: YoutubeLive
App:
templates:
- Project
attributes:
SystemCapabilities:
com.apple.Push:
enabled: 1
scheme:
testTargets:
- UITests
type: application
sources:
- path: App
settings:
base:
TARGETED_DEVICE_FAMILY: 1
SWIFT_VERSION: 5.0
OTHER_LDFLAGS: $(inherited) $(OTHER_LDFLAGS) -ObjC
CODE_SIGN_STYLE: Automatic
CODE_SIGN_ENTITLEMENTS: App/App.entitlements
configs:
Debug:
APP_NAME: Broadcast debug
PRODUCT_BUNDLE_IDENTIFIER: dev.noppe.ReplayStudio.debug
Release:
APP_NAME: Broadcast
PRODUCT_BUNDLE_IDENTIFIER: dev.noppe.ReplayStudio
dependencies:
- target: Shared
- target: Upload
- target: SetupUI
- package: TwitCasting
- package: HaishinKit
- package: SnapKit
- package: SwiftUIFlux
- package: SwiftUIExtensions
- package: OAuthSwift
- package: Twitch
- package: YoutubeLive
- package: SFSymbol
UITests:
templates:
- Project
type: bundle.ui-testing
sources:
- path: UITests
dependencies:
- target: App
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment