element-ios/Targets/ShareExtension.yml
2020-12-20 23:03:20 +01:00

105 lines
No EOL
4 KiB
YAML

name: RiotShareExtension
schemes:
RiotShareExtension:
analyze:
config: Debug
archive:
config: Release
build:
targets:
RiotShareExtension:
- running
- testing
- profiling
- analyzing
- archiving
profile:
config: Release
run:
askForAppToLaunch: true
config: Debug
debugEnabled: false
disableMainThreadChecker: true
launchAutomaticallySubstyle: 2
test:
config: Debug
disableMainThreadChecker: true
targets:
RiotShareExtension:
platform: iOS
sources:
- path: ../RiotShareExtension
- path: ../Riot/Modules/Common/SegmentedViewController/SegmentedViewController.m
- path: ../Riot/Categories/Bundle.swift
- path: ../Riot/Managers/Theme/Themes/DefaultTheme.swift
- path: ../Riot/Managers/Theme/ThemeService.m
- path: ../Riot/Utils/AvatarGenerator.m
- path: ../Riot/Generated/InfoPlist.swift
- path: ../Config/BuildSettings.swift
- path: ../Riot/Categories/Character.swift
- path: ../Riot/Managers/Theme/Themes/BlackTheme.swift
- path: ../Riot/Categories/MXRoom+Riot.m
- path: ../Config/Configurable.swift
- path: ../Config/CommonConfiguration.swift
- path: ../Riot/Utils/UserNameColorGenerator.swift
- path: ../Riot/Categories/MXRoomSummary+Riot.m
- path: ../Riot/Managers/Theme/Theme.swift
- path: ../Riot/Managers/Settings/RiotSettings.swift
- path: ../Riot/Categories/UIColor.swift
- path: ../Riot/Managers/Theme/Themes/DarkTheme.swift
- path: ../Riot/Categories/UISearchBar.swift
- path: ../Riot/Categories/String.swift
- path: ../Riot/Modules/Common/Recents/CellData/RecentCellData.m
- path: ../Riot/Modules/Common/SegmentedViewController/SegmentedViewController.xib
buildPhase: resources
- path: ../Riot/Assets/en.lproj/Vector.strings
buildPhase: resources
- path: ../RiotShareExtension/SupportingFiles/ShareExtension-Common.xcconfig
buildPhase: resources
- path: ../Riot/Assets/SharedImages.xcassets
buildPhase: resources
type: app-extension
postbuildScripts:
- name: Embed Precompiled Frameworks
runOnlyWhenInstalling: false
script: echo "Skipping, nothing to be embedded."
shell: /bin/sh
settings:
groups:
- appDefault
base:
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: $(inherited)
APPLICATION_EXTENSION_API_ONLY: YES
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
CLANG_ANALYZER_NONNULL: YES
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION: YES_AGGRESSIVE
CLANG_WARN_DOCUMENTATION_COMMENTS: YES
CODE_SIGN_ENTITLEMENTS: RiotShareExtension/SupportingFiles/RiotShareExtension.entitlements
ENABLE_BITCODE: NO
FRAMEWORK_SEARCH_PATHS: $(inherited)
GCC_PREPROCESSOR_DEFINITIONS: $(inherited) IS_SHARE_EXTENSION=1
HEADER_SEARCH_PATHS: $(inherited)
INFOPLIST_FILE: RiotShareExtension/SupportingFiles/Info.plist
LD_RUNPATH_SEARCH_PATHS: $(inherited) @executable_path/Frameworks @executable_path/../../Frameworks
LIBRARY_SEARCH_PATHS: $(inherited)
OTHER_CFLAGS: $(inherited)
OTHER_LDFLAGS: $(inherited)
OTHER_SWIFT_FLAGS: $(inherited)
PRODUCT_NAME: RiotShareExtension
SKIP_INSTALL: YES
SWIFT_OBJC_BRIDGING_HEADER: $(SRCROOT)/$(PRODUCT_NAME)/SupportingFiles/RiotShareExtension-Bridging-Header.h
USER_HEADER_SEARCH_PATHS: $(inherited)
PRODUCT_BUNDLE_IDENTIFIER: $(BASE_BUNDLE_IDENTIFIER).shareExtension
configs:
Debug:
CODE_SIGN_IDENTITY: iPhone Developer
CODE_SIGN_STYLE: Automatic
DEBUG_INFORMATION_FORMAT: dwarf
PROVISIONING_PROFILE_SPECIFIER: ""
Release:
CODE_SIGN_IDENTITY: iPhone Distribution
CODE_SIGN_STYLE: Manual
COPY_PHASE_STRIP: NO
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
PROVISIONING_PROFILE: $(SHARE_EXTENSION_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER: $(SHARE_EXTENSION_PROVISIONING_PROFILE_SPECIFIER)