diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000000000000000000000000000000000..aa20c662da5dc26650b0cb86da99581b2628f1ea --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Vendor/xctoolchain"] + path = Vendor/xctoolchain + url = https://github.com/ParsePlatform/xctoolchain.git diff --git a/Configurations/Shared b/Configurations/Shared new file mode 120000 index 0000000000000000000000000000000000000000..818aee70870916cb23f797be2d6899363057a9d6 --- /dev/null +++ b/Configurations/Shared @@ -0,0 +1 @@ +../Vendor/xctoolchain/Configurations/ \ No newline at end of file diff --git a/Configurations/Shared/Common.xcconfig b/Configurations/Shared/Common.xcconfig deleted file mode 100644 index da207d941d59084b3d8f8a8f7ffff5303649c55a..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Common.xcconfig +++ /dev/null @@ -1,17 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -#include "Warnings.xcconfig" - -// Language Settings -CLANG_ENABLE_OBJC_ARC = YES -CLANG_ENABLE_MODULES = YES - -// Search Paths -ALWAYS_SEARCH_USER_PATHS = NO diff --git a/Configurations/Shared/Platform/OSX.xcconfig b/Configurations/Shared/Platform/OSX.xcconfig deleted file mode 100644 index 16860a888532880383857543020ee93211cdada4..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Platform/OSX.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -SDKROOT = macosx -MACOSX_DEPLOYMENT_TARGET = 10.7 diff --git a/Configurations/Shared/Platform/iOS.xcconfig b/Configurations/Shared/Platform/iOS.xcconfig deleted file mode 100644 index 6deb33f107845c209e150c0ab9c87093c4ce1685..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Platform/iOS.xcconfig +++ /dev/null @@ -1,21 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -SDKROOT = iphoneos -IPHONEOS_DEPLOYMENT_TARGET = 5.0 - -GCC_THUMB_SUPPORT = NO - -ARCHS = $(ARCHS_STANDARD) armv7s -DSTROOT = /tmp/$(PRODUCT_NAME).dst - -CODE_SIGN_IDENTITY = -CODE_SIGNING_REQUIRED = NO - -TARGETED_DEVICE_FAMILY = 1,2 diff --git a/Configurations/Shared/Platform/tvOS.xcconfig b/Configurations/Shared/Platform/tvOS.xcconfig deleted file mode 100644 index 5dd71315a16b81eafbe6eff14da59028e784660c..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Platform/tvOS.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -SDKROOT = appletvos -TVOS_DEPLOYMENT_TARGET = 9.0 diff --git a/Configurations/Shared/Platform/watchOS.xcconfig b/Configurations/Shared/Platform/watchOS.xcconfig deleted file mode 100644 index 72871068033e9b28634005a65075ad6a04002582..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Platform/watchOS.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -SDKROOT = watchos -WATCHOS_DEPLOYMENT_TARGET = 2.0 - -CODE_SIGN_IDENTITY = -CODE_SIGNING_REQUIRED = NO diff --git a/Configurations/Shared/Product/Application.xcconfig b/Configurations/Shared/Product/Application.xcconfig deleted file mode 100644 index 08b053b960f78dd7b7a2e5aacec0e98181d5c90c..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Product/Application.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -LD_RUNPATH_SEARCH_PATHS = @executable_path/Frameworks - -ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon -ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage diff --git a/Configurations/Shared/Product/Framework.xcconfig b/Configurations/Shared/Product/Framework.xcconfig deleted file mode 100644 index efcb57a525654ae254ed2232ceee8029cb9aff2c..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Product/Framework.xcconfig +++ /dev/null @@ -1,18 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -ENABLE_NS_ASSERTIONS = NO -MTL_ENABLE_DEBUG_INFO = NO - -DYLIB_COMPATIBILITY_VERSION = 1 -DYLIB_CURRENT_VERSION = 1 - -SKIP_INSTALL = YES - -CLANG_MODULES_AUTOLINK = NO diff --git a/Configurations/Shared/Product/UnitTest.xcconfig b/Configurations/Shared/Product/UnitTest.xcconfig deleted file mode 100644 index 72285a1e8e0ca3089bada6e47cf89bc2fd0e070f..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Product/UnitTest.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -OTHER_LDFLAGS = $(inherited) -ObjC -framework XCTest -BUNDLE_LOADER = $(TEST_HOST) - -LD_RUNPATH_SEARCH_PATHS = $(inherited) @loader_path/Frameworks @executable_path/Frameworks -USER_HEADER_SEARCH_PATHS = $(value) $(PARSE_DIR)/Tests/** diff --git a/Configurations/Shared/Project/Debug.xcconfig b/Configurations/Shared/Project/Debug.xcconfig deleted file mode 100644 index 6d1457e29c49dcffd9bf2ddd4b802eccd96cc879..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Project/Debug.xcconfig +++ /dev/null @@ -1,17 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -#include "../Common.xcconfig" - -GCC_OPTIMIZATION_LEVEL = 0 -SWIFT_OPTIMIZATION_LEVEL = -Onone - -GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 -ONLY_ACTIVE_ARCH = YES -ENABLE_TESTABILITY = YES diff --git a/Configurations/Shared/Project/Release.xcconfig b/Configurations/Shared/Project/Release.xcconfig deleted file mode 100644 index 81653f8b1dea4a4dcab57736b658c7dd38f24bbf..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Project/Release.xcconfig +++ /dev/null @@ -1,18 +0,0 @@ -// -// Copyright (c) 2014, Facebook, Inc. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -#include "../Common.xcconfig" - -GCC_OPTIMIZATION_LEVEL = s -SWIFT_OPTIMIZATION_LEVEL = -O - -VALIDATE_PRODUCT = YES - -DEPLOYMENT_POSTPROCESSING = YES -STRIP_STYLE = debugging diff --git a/Configurations/Shared/Warnings.xcconfig b/Configurations/Shared/Warnings.xcconfig deleted file mode 100644 index 75ebeb51abd32bbbd82a2bf96ed5b5d63b85f8c5..0000000000000000000000000000000000000000 --- a/Configurations/Shared/Warnings.xcconfig +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (c) 2015-present, Parse, LLC. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -ENABLE_STRICT_OBJC_MSGSEND = YES - -GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES -GCC_WARN_ABOUT_MISSING_NEWLINE = YES -GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES -GCC_WARN_CHECK_SWITCH_STATEMENTS = YES -GCC_WARN_MISSING_PARENTHESES = YES -GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES -GCC_WARN_UNKNOWN_PRAGMAS = YES -GCC_WARN_UNUSED_FUNCTION = YES -GCC_WARN_UNUSED_LABEL = YES -GCC_WARN_UNUSED_VALUE = YES -GCC_WARN_UNUSED_VARIABLE = YES -GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES -GCC_WARN_UNDECLARED_SELECTOR = YES -GCC_WARN_64_TO_32_BIT_CONVERSION = YES -GCC_WARN_UNINITIALIZED_AUTOS = YES - -CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES -CLANG_WARN__ARC_BRIDGE_CAST_NONARC = YES -CLANG_WARN_CONSTANT_CONVERSION = YES -CLANG_WARN_DOCUMENTATION_COMMENTS = YES -CLANG_WARN_EMPTY_BODY = YES -CLANG_WARN_ENUM_CONVERSION = YES -CLANG_WARN_UNREACHABLE_CODE = YES -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES -CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES - -// Errors -GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR -CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR -CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR diff --git a/Vendor/xctoolchain b/Vendor/xctoolchain new file mode 160000 index 0000000000000000000000000000000000000000..65c31f2f70fe3c0c78b19e19f23b8c0fbcfd6876 --- /dev/null +++ b/Vendor/xctoolchain @@ -0,0 +1 @@ +Subproject commit 65c31f2f70fe3c0c78b19e19f23b8c0fbcfd6876