mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
cb56854972
which will probably become the xcconfig for the project
68 lines
2.3 KiB
Text
68 lines
2.3 KiB
Text
//
|
|
// 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
|
|
|
|
|
|
// Application constants
|
|
KEYCHAIN_ACCESS_GROUP = $(AppIdentifierPrefix)$(BASE_BUNDLE_IDENTIFIER).keychain.shared
|
|
|
|
// Build settings
|
|
IPHONEOS_DEPLOYMENT_TARGET = 11.0
|
|
SDKROOT = iphoneos
|
|
TARGETED_DEVICE_FAMILY = 1,2
|
|
SWIFT_VERSION = 5.3.1
|
|
|
|
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @executable_path/../../Frameworks
|
|
ALWAYS_SEARCH_USER_PATHS = NO
|
|
DEFINES_MODULE = YES
|
|
ENABLE_STRICT_OBJC_MSGSEND = YES
|
|
GCC_NO_COMMON_BLOCKS = YES
|
|
|
|
// Make Xcode 12 and fastlane(xcodebuild) happy while some pods are not updated
|
|
EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64
|
|
|
|
|
|
// Warnings
|
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES
|
|
CLANG_ENABLE_MODULES = YES
|
|
CLANG_ENABLE_OBJC_ARC = YES
|
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
|
|
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
|
|
CLANG_WARN_BOOL_CONVERSION = YES
|
|
CLANG_WARN_COMMA = YES
|
|
CLANG_WARN_CONSTANT_CONVERSION = YES
|
|
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
|
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
|
|
CLANG_WARN_EMPTY_BODY = YES
|
|
CLANG_WARN_ENUM_CONVERSION = YES
|
|
CLANG_WARN_INFINITE_RECURSION = YES
|
|
CLANG_WARN_INT_CONVERSION = YES
|
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
|
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
|
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
|
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
|
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
|
|
CLANG_WARN_STRICT_PROTOTYPES = YES
|
|
CLANG_WARN_SUSPICIOUS_MOVE = YES
|
|
CLANG_WARN_UNREACHABLE_CODE = YES
|
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
|
|
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
|
|
GCC_WARN_UNDECLARED_SELECTOR = YES
|
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
|
|
GCC_WARN_UNUSED_FUNCTION = YES
|
|
GCC_WARN_UNUSED_VARIABLE = YES
|