131f6ed5a8
Copy scene.metal from archive, add SceneRenderer.swift (Bundle.main), stride-guard test (144 B). Xcode compiles .metal in Resources phase even with buildPhase:resources, so use a postBuildScript with UNLOCALIZED_RESOURCES_FOLDER_PATH to copy the source as plain text.
62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
name: AVLiveBody
|
|
options:
|
|
bundleIdPrefix: cc.saillant
|
|
deploymentTarget:
|
|
macOS: "15.0"
|
|
createIntermediateGroups: true
|
|
|
|
configFiles:
|
|
Debug: Config/Shared.xcconfig
|
|
Release: Config/Shared.xcconfig
|
|
|
|
packages:
|
|
AVLiveWire:
|
|
path: ../shared/AVLiveWire
|
|
|
|
targets:
|
|
AVLiveBody:
|
|
type: application
|
|
platform: macOS
|
|
deploymentTarget: "15.0"
|
|
sources:
|
|
- path: Sources/AVLiveBody
|
|
excludes:
|
|
- Info.plist
|
|
- Resources/scene.metal
|
|
postBuildScripts:
|
|
- script: |
|
|
cp "${SRCROOT}/Sources/AVLiveBody/Resources/scene.metal" \
|
|
"${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/scene.metal"
|
|
name: "Copy scene.metal source to bundle"
|
|
basedOnDependencyAnalysis: false
|
|
dependencies:
|
|
- package: AVLiveWire
|
|
product: AVLiveWire
|
|
configFiles:
|
|
Debug: Config/Shared.xcconfig
|
|
Release: Config/Shared.xcconfig
|
|
settings:
|
|
base:
|
|
PRODUCT_NAME: AVLiveBody
|
|
PRODUCT_BUNDLE_IDENTIFIER: cc.saillant.AVLiveBody
|
|
INFOPLIST_FILE: Sources/AVLiveBody/Info.plist
|
|
GENERATE_INFOPLIST_FILE: NO
|
|
CODE_SIGN_STYLE: Manual
|
|
CODE_SIGN_IDENTITY: "-"
|
|
CODE_SIGNING_REQUIRED: NO
|
|
CODE_SIGNING_ALLOWED: NO
|
|
SWIFT_VERSION: "5.10"
|
|
ENABLE_HARDENED_RUNTIME: NO
|
|
AVLiveBodyTests:
|
|
type: bundle.unit-test
|
|
platform: macOS
|
|
sources:
|
|
- path: Tests/AVLiveBodyTests
|
|
dependencies:
|
|
- target: AVLiveBody
|
|
- package: AVLiveWire
|
|
product: AVLiveWire
|
|
settings:
|
|
base:
|
|
GENERATE_INFOPLIST_FILE: YES
|