mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Unit tests are broken
- xcodegen target file updated
This commit is contained in:
parent
49839b543b
commit
c34f39b57d
3 changed files with 57 additions and 3 deletions
20
RiotTests/Debug.xcconfig
Normal file
20
RiotTests/Debug.xcconfig
Normal file
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// 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 "Pods/Target Support Files/Pods-RiotTests/Pods-RiotTests.debug.xcconfig"
|
20
RiotTests/Release.xcconfig
Normal file
20
RiotTests/Release.xcconfig
Normal file
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// 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 "Pods/Target Support Files/Pods-RiotTests/Pods-RiotTests.release.xcconfig"
|
|
@ -33,15 +33,19 @@ targets:
|
|||
dependencies:
|
||||
- target: Riot
|
||||
|
||||
configFiles:
|
||||
Debug: Debug.xcconfig
|
||||
Release: Release.xcconfig
|
||||
|
||||
settings:
|
||||
base:
|
||||
BUNDLE_LOADER: $(TEST_HOST)
|
||||
FRAMEWORK_SEARCH_PATHS: $(SDKROOT)/Developer/Library/Frameworks $(inherited)
|
||||
INFOPLIST_FILE: Info.plist
|
||||
INFOPLIST_FILE: RiotTests/Info.plist
|
||||
LD_RUNPATH_SEARCH_PATHS: $(inherited) @executable_path/Frameworks @loader_path/Frameworks
|
||||
PRODUCT_BUNDLE_IDENTIFIER: org.matrix.$(PRODUCT_NAME:rfc1034identifier)
|
||||
PRODUCT_NAME: RiotTests
|
||||
SWIFT_OBJC_BRIDGING_HEADER: RiotTests-Bridging-Header.h
|
||||
SWIFT_OBJC_BRIDGING_HEADER: RiotTests/RiotTests-Bridging-Header.h
|
||||
TEST_HOST: $(BUILT_PRODUCTS_DIR)/Riot.app/Riot
|
||||
configs:
|
||||
Debug:
|
||||
|
@ -49,4 +53,14 @@ targets:
|
|||
PROVISIONING_PROFILE: $(RIOT_PROVISIONING_PROFILE)
|
||||
PROVISIONING_PROFILE_SPECIFIER: $(RIOT_PROVISIONING_PROFILE_SPECIFIER)
|
||||
|
||||
sources: .
|
||||
sources:
|
||||
- path: .
|
||||
- path: ../Config/Configurable.swift
|
||||
- path: ../Config/BuildSettings.swift
|
||||
- path: ../Config/AppConfiguration.swift
|
||||
- path: ../Config/CommonConfiguration.swift
|
||||
- path: ../Riot/Categories/Bundle.swift
|
||||
- path: ../Riot/Generated/InfoPlist.swift
|
||||
- path: ../Riot/Managers/Settings/RiotSettings.swift
|
||||
- path: ../Riot/Managers/EncryptionKeyManager/EncryptionKeyManager.swift
|
||||
- path: ../Riot/Managers/KeyValueStorage/
|
||||
|
|
Loading…
Reference in a new issue