Skip to content

Commit

Permalink
Update all xcode configurations to latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
nlutsenko committed Jul 12, 2016
1 parent 0d5232d commit d6620a5
Show file tree
Hide file tree
Showing 24 changed files with 157 additions and 195 deletions.
9 changes: 3 additions & 6 deletions Configurations/Parse-iOS-Dynamic.xcconfig
Expand Up @@ -8,17 +8,14 @@
//

#include "Shared/Platform/iOS.xcconfig"
#include "Shared/Product/Framework.xcconfig"
#include "Shared/Product/DynamicFramework.xcconfig"

PRODUCT_NAME = Parse
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ios
DEFINES_MODULE = YES

IPHONEOS_DEPLOYMENT_TARGET = 8.0

MACH_O_TYPE = mh_dylib
DYLIB_INSTALL_NAME_BASE = @rpath

INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-iOS.Info.plist

OTHER_CFLAGS[sdk=iphoneos9.*] = $(inherited) -fembed-bitcode
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO
8 changes: 4 additions & 4 deletions Configurations/Parse-iOS.xcconfig
Expand Up @@ -8,15 +8,15 @@
//

#include "Shared/Platform/iOS.xcconfig"
#include "Shared/Product/Framework.xcconfig"
#include "Shared/Product/StaticFramework.xcconfig"

PRODUCT_NAME = Parse
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ios
APPLICATION_EXTENSION_API_ONLY = YES

MACH_O_TYPE = staticlib
DEFINES_MODULE = YES

INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-iOS.Info.plist

OTHER_CFLAGS[sdk=iphoneos9.*] = $(inherited) -fembed-bitcode

// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO
Expand Up @@ -7,14 +7,13 @@
// of patent rights can be found in the PATENTS file in the same directory.
//

#include "Shared/Platform/OSX.xcconfig"
#include "Shared/Product/Framework.xcconfig"
#include "Shared/Platform/macOS.xcconfig"
#include "Shared/Product/DynamicFramework.xcconfig"

PRODUCT_NAME = Parse
PRODUCT_BUNDLE_IDENTIFIER = com.parse.osx

MACH_O_TYPE = mh_dylib
DEFINES_MODULE = YES
DYLIB_INSTALL_NAME_BASE = @rpath
PRODUCT_BUNDLE_IDENTIFIER = com.parse.macos

INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-OSX.Info.plist

// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO
11 changes: 4 additions & 7 deletions Configurations/Parse-tvOS-Dynamic.xcconfig
Expand Up @@ -8,15 +8,12 @@
//

#include "Shared/Platform/tvOS.xcconfig"
#include "Shared/Product/Framework.xcconfig"
#include "Shared/Product/DynamicFramework.xcconfig"

PRODUCT_NAME = Parse
PRODUCT_BUNDLE_IDENTIFIER = com.parse.tvos
DEFINES_MODULE = YES

MACH_O_TYPE = mh_dylib
DYLIB_INSTALL_NAME_BASE = @rpath

OTHER_LDFLAGS = $(inherited) -ObjC

INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-tvOS.Info.plist

// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO
11 changes: 4 additions & 7 deletions Configurations/Parse-tvOS.xcconfig
Expand Up @@ -8,15 +8,12 @@
//

#include "Shared/Platform/tvOS.xcconfig"
#include "Shared/Product/Framework.xcconfig"
#include "Shared/Product/StaticFramework.xcconfig"

PRODUCT_NAME = Parse
PRODUCT_BUNDLE_IDENTIFIER = com.parse.tvos

MACH_O_TYPE = staticlib
APPLICATION_EXTENSION_API_ONLY = YES
DEFINES_MODULE = YES

OTHER_LDFLAGS = $(inherited) -ObjC

INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-tvOS.Info.plist

// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO
14 changes: 4 additions & 10 deletions Configurations/Parse-watchOS-Dynamic.xcconfig
Expand Up @@ -8,18 +8,12 @@
//

#include "Shared/Platform/watchOS.xcconfig"
#include "Shared/Product/Framework.xcconfig"
#include "Shared/Product/DynamicFramework.xcconfig"

PRODUCT_NAME = Parse
PRODUCT_BUNDLE_IDENTIFIER = com.parse.watchos

MACH_O_TYPE = mh_dylib
DYLIB_INSTALL_NAME_BASE = @rpath

APPLICATION_EXTENSION_API_ONLY = YES
DEFINES_MODULE = YES
ENABLE_BITCODE = YES

OTHER_LDFLAGS = $(inherited) -ObjC

INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-watchOS.Info.plist

// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO
12 changes: 4 additions & 8 deletions Configurations/Parse-watchOS.xcconfig
Expand Up @@ -8,16 +8,12 @@
//

#include "Shared/Platform/watchOS.xcconfig"
#include "Shared/Product/Framework.xcconfig"
#include "Shared/Product/StaticFramework.xcconfig"

PRODUCT_NAME = Parse
PRODUCT_BUNDLE_IDENTIFIER = com.parse.watchos

MACH_O_TYPE = staticlib
APPLICATION_EXTENSION_API_ONLY = YES
DEFINES_MODULE = YES
ENABLE_BITCODE = YES

OTHER_LDFLAGS = $(inherited) -ObjC

INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-watchOS.Info.plist

// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO
5 changes: 4 additions & 1 deletion Configurations/ParseUnitTests-iOS.xcconfig
Expand Up @@ -8,7 +8,7 @@
//

#include "Shared/Platform/iOS.xcconfig"
#include "Shared/Product/UnitTest.xcconfig"
#include "Shared/Product/LogicTests.xcconfig"

PRODUCT_NAME = ParseUnitTests-iOS
PRODUCT_MODULE_NAME = ParseUnitTests
Expand All @@ -19,3 +19,6 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0
INFOPLIST_FILE = $(SRCROOT)/Tests/Resources/ParseUnitTests-iOS-Info.plist

USER_HEADER_SEARCH_PATHS = $(inherited) $(PARSE_DIR)/Parse/Internal/**

// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO
Expand Up @@ -7,14 +7,16 @@
// of patent rights can be found in the PATENTS file in the same directory.
//

#include "Shared/Platform/OSX.xcconfig"
#include "Shared/Product/UnitTest.xcconfig"
#include "Shared/Platform/macOS.xcconfig"
#include "Shared/Product/LogicTests.xcconfig"

PRODUCT_NAME = ParseUnitTests-OSX
PRODUCT_NAME = ParseUnitTests-macOS
PRODUCT_MODULE_NAME = ParseUnitTests
PRODUCT_BUNDLE_IDENTIFIER = com.parse.unit.osx
PRODUCT_BUNDLE_IDENTIFIER = com.parse.unit.macOS

INFOPLIST_FILE = $(SRCROOT)/Tests/Resources/ParseUnitTests-OSX-Info.plist
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/../Frameworks @executable_path/Frameworks @loader_path/Frameworks

USER_HEADER_SEARCH_PATHS = $(inherited) $(PARSE_DIR)/Parse/Internal/**

// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
GCC_WARN_SHADOW = NO

0 comments on commit d6620a5

Please sign in to comment.