Working tests, no more xcconfig files.

This commit is contained in:
Stefan Ceriu
2022-04-13 09:48:18 +03:00
parent 865b931c80
commit 35aad75326
21 changed files with 327 additions and 216 deletions
-31
View File
@@ -1,31 +0,0 @@
//
// Copyright 2020 Vector Creations Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
PRODUCT_NAME = ElementX
PRODUCT_BUNDLE_IDENTIFIER = io.element.elementx
DEVELOPMENT_TEAM = 7J4U792NQT
MARKETING_VERSION = 1.0.0
CURRENT_PROJECT_VERSION = 1.0.0
INFOPLIST_FILE = ElementX/SupportingFiles/Info.plist
CODE_SIGN_ENTITLEMENTS = ElementX/SupportingFiles/ElementX.entitlements
SWIFT_OBJC_BRIDGING_HEADER = ElementX/SupportingFiles/ElementX-Bridging-Header.h
-20
View File
@@ -1,20 +0,0 @@
//
// Copyright 2020 Vector Creations Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
#include "Common.xcconfig"
-20
View File
@@ -1,20 +0,0 @@
//
// Copyright 2020 Vector Creations Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
#include "Common.xcconfig"
+41
View File
@@ -0,0 +1,41 @@
name: ElementX
targets:
ElementX:
type: application
platform: iOS
info:
path: ../SupportingFiles/Info.plist
properties:
UILaunchStoryboardName: LaunchScreen
settings:
base:
SUPPORTS_MACCATALYST: YES
PRODUCT_NAME: ElementX
PRODUCT_BUNDLE_IDENTIFIER: io.element.elementx
DEVELOPMENT_TEAM: 7J4U792NQT
MARKETING_VERSION: 1.0.0
CURRENT_PROJECT_VERSION: 1.0.0
CODE_SIGN_ENTITLEMENTS: ElementX/SupportingFiles/ElementX.entitlements
SWIFT_OBJC_BRIDGING_HEADER: ElementX/SupportingFiles/ElementX-Bridging-Header.h
scheme:
testTargets:
- UnitTests
- UITests
dependencies:
- package: MatrixRustSDK
- package: DTCoreText
- package: KeychainAccess
- package: Kingfisher
- package: Introspect
- package: SwiftyBeaver
sources:
- path: ../Sources
excludes:
- Screens/Templates
- path: ../SupportingFiles
-37
View File
@@ -1,37 +0,0 @@
name: ElementX
targets:
ElementX:
type: application
platform: iOS
info:
path: SupportingFiles/Info.plist
properties:
UILaunchStoryboardName: LaunchScreen
settings:
SUPPORTS_MACCATALYST: YES
configFiles:
Debug: Config/Debug.xcconfig
Release: Config/Release.xcconfig
scheme:
testTargets:
- UnitTests
dependencies:
- package: MatrixRustSDK
- package: DTCoreText
- package: KeychainAccess
- package: Kingfisher
- package: Introspect
- package: SwiftyBeaver
sources:
- path: Config
- path: Sources
excludes:
- Screens/Templates
- path: SupportingFiles