Files
2022-08-31 16:10:04 +00:00

55 lines
1.6 KiB
YAML

name: watchosSample
options:
bundleIdPrefix: com.jetbrains.watchapp0
settings:
DEVELOPMENT_TEAM: N462MKSJ7M
CODE_SIGN_IDENTITY: "iPhone Developer"
CODE_SIGN_STYLE: Automatic
MARKETING_VERSION: "1.0"
CURRENT_PROJECT_VERSION: "4"
SDKROOT: iphoneos
targets:
watchapp3.watchkitapp.watchkitextension:
type: watchkit2-extension
platform: watchOS
sources:
- "plists/Ext"
- "src/"
prebuildScripts:
- script: cd "$SRCROOT" && ../gradlew -p .. packForXCode
name: GradleCompile
info:
path: plists/Ext/Info.plist
properties:
WKWatchOnly: true
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
WKExtensionDelegateClassName: Watchapp3ExtensionDelegate
NSExtension:
NSExtensionAttributes:
WKAppBundleIdentifier: com.jetbrains.watchapp0.watchapp3.watchkitapp
NSExtensionPointIdentifier: com.apple.watchkit
watchapp3.watchkitapp:
type: application.watchapp2
platform: watchOS
dependencies:
- target: "watchapp3.watchkitapp.watchkitextension"
sources:
- "plists/App"
- "plists/App/Interface.plist"
info:
path: plists/App/Info.plist
properties:
WKWatchKitApp: true
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
settings:
ENABLE_BITCODE: "YES"
ONLY_ACTIVE_ARCH: "YES"
VALID_ARCHS: $(ARCHS_STANDARD)
watchapp3:
type: application.watchapp2-container
platform: iOS
dependencies:
- target: "watchapp3.watchkitapp"