Files

119 lines
3.3 KiB
YAML
Raw Permalink Normal View History

name: UCVLZonghengjia
options:
bundleIdPrefix: cn.toplc
deploymentTarget:
iOS: "15.0"
createIntermediateGroups: true
groupSortPosition: top
settings:
base:
SWIFT_VERSION: "5.10"
MARKETING_VERSION: "1.0.2"
CURRENT_PROJECT_VERSION: "10002"
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: ""
CLANG_ENABLE_MODULES: YES
ENABLE_USER_SCRIPT_SANDBOXING: YES
configs:
Debug: debug
Release: release
targets:
UCVLZonghengjia:
type: application
platform: iOS
sources:
- path: App
- path: Shared
resources:
- path: Resources/Assets.xcassets
entitlements:
path: App/UCVLZonghengjia.entitlements
info:
path: App/Info.plist
properties:
CFBundleDisplayName: 优创⁺纵横家
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
UILaunchScreen:
UIColorName: UCVLLaunchBackground
UIImageName: UCVLLogo
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
dependencies:
- target: PacketTunnel
embed: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: cn.toplc.zonghengjia
PRODUCT_NAME: UCVLZonghengjia
TARGETED_DEVICE_FAMILY: "1,2"
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
INFOPLIST_KEY_LSApplicationCategoryType: public.app-category.utilities
PacketTunnel:
type: app-extension
platform: iOS
sources:
- path: PacketTunnel
- path: Shared/TunnelConfigurationBuilder.swift
- path: Shared/Models.swift
- path: Shared/NetworkAddress.swift
resources:
- path: Resources/Geo
entitlements:
path: PacketTunnel/PacketTunnel.entitlements
info:
path: PacketTunnel/Info.plist
properties:
CFBundleDisplayName: 优创⁺纵横家网络扩展
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
NSExtension:
NSExtensionPointIdentifier: com.apple.networkextension.packet-tunnel
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).PacketTunnelProvider
dependencies:
- framework: Vendor/LibXray.xcframework
embed: false
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: cn.toplc.zonghengjia.PacketTunnel
PRODUCT_NAME: PacketTunnel
TARGETED_DEVICE_FAMILY: "1,2"
APPLICATION_EXTENSION_API_ONLY: YES
SKIP_INSTALL: YES
OTHER_LDFLAGS:
- $(inherited)
- -ObjC
UCVLZonghengjiaTests:
type: bundle.unit-test
platform: iOS
sources:
- path: Tests
dependencies:
- target: UCVLZonghengjia
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: cn.toplc.zonghengjia.tests
GENERATE_INFOPLIST_FILE: YES
schemes:
UCVLZonghengjia:
build:
targets:
UCVLZonghengjia: all
PacketTunnel: all
UCVLZonghengjiaTests: [test]
test:
targets:
- UCVLZonghengjiaTests
archive:
config: Release