Skip to content

Commit 56cc254

Browse files
authored
Merge pull request #958 from ParsePlatform/nlutsenko.configuration
Update all configurations and dependencies.
2 parents fcb810c + 78c8927 commit 56cc254

File tree

31 files changed

+213
-250
lines changed

31 files changed

+213
-250
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
- LANG=en_US.UTF-8
1111
matrix:
1212
- TEST_TYPE=iOS
13-
- TEST_TYPE=OSX
13+
- TEST_TYPE=macOS
1414
- TEST_TYPE=Deployment
1515
- TEST_TYPE=Starters
1616
- TEST_TYPE=CocoaPods
@@ -29,10 +29,10 @@ install:
2929
fi
3030
script:
3131
- |
32-
TEST_TYPE=$(echo "$TEST_TYPE" | tr '[:upper:]' '[:lower:]')
33-
bundle exec rake test:$TEST_TYPE
32+
RAKE_TASK_NAME=$(echo "$TEST_TYPE" | tr '[:upper:]' '[:lower:]')
33+
bundle exec rake test:$RAKE_TASK_NAME
3434
after_success:
3535
- |
36-
if [ "$TEST_TYPE" = "ios" ] || [ "$TEST_TYPE" = "osx" ]; then
36+
if [ "$TEST_TYPE" = iOS ] || [ "$TEST_TYPE" = macOS ]; then
3737
bash <(curl -s https://codecov.io/bash)
38-
fi
38+
fi

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "BoltsFramework/Bolts-ObjC" "1.7.0"
2-
github "erikdoe/OCMock" "v3.2.2"
1+
github "BoltsFramework/Bolts-ObjC" "1.8.3"
2+
github "erikdoe/OCMock" "v3.3.1"

Carthage/Checkouts/Bolts-ObjC

Submodule Bolts-ObjC updated 46 files

Configurations/Parse-iOS-Dynamic.xcconfig

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@
88
//
99

1010
#include "Shared/Platform/iOS.xcconfig"
11-
#include "Shared/Product/Framework.xcconfig"
11+
#include "Shared/Product/DynamicFramework.xcconfig"
1212

1313
PRODUCT_NAME = Parse
1414
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ios
15-
DEFINES_MODULE = YES
1615

1716
IPHONEOS_DEPLOYMENT_TARGET = 8.0
1817

19-
MACH_O_TYPE = mh_dylib
20-
DYLIB_INSTALL_NAME_BASE = @rpath
21-
2218
INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-iOS.Info.plist
2319

24-
OTHER_CFLAGS[sdk=iphoneos9.*] = $(inherited) -fembed-bitcode
20+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
21+
GCC_WARN_SHADOW = NO

Configurations/Parse-iOS.xcconfig

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
//
99

1010
#include "Shared/Platform/iOS.xcconfig"
11-
#include "Shared/Product/Framework.xcconfig"
11+
#include "Shared/Product/StaticFramework.xcconfig"
1212

1313
PRODUCT_NAME = Parse
1414
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ios
1515
APPLICATION_EXTENSION_API_ONLY = YES
1616

17-
MACH_O_TYPE = staticlib
18-
DEFINES_MODULE = YES
19-
2017
INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-iOS.Info.plist
2118

22-
OTHER_CFLAGS[sdk=iphoneos9.*] = $(inherited) -fembed-bitcode
19+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
20+
GCC_WARN_SHADOW = NO

Configurations/Parse-OSX.xcconfig renamed to Configurations/Parse-macOS.xcconfig

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
// of patent rights can be found in the PATENTS file in the same directory.
88
//
99

10-
#include "Shared/Platform/OSX.xcconfig"
11-
#include "Shared/Product/Framework.xcconfig"
10+
#include "Shared/Platform/macOS.xcconfig"
11+
#include "Shared/Product/DynamicFramework.xcconfig"
1212

1313
PRODUCT_NAME = Parse
14-
PRODUCT_BUNDLE_IDENTIFIER = com.parse.osx
15-
16-
MACH_O_TYPE = mh_dylib
17-
DEFINES_MODULE = YES
18-
DYLIB_INSTALL_NAME_BASE = @rpath
14+
PRODUCT_BUNDLE_IDENTIFIER = com.parse.macos
1915

2016
INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-OSX.Info.plist
17+
18+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
19+
GCC_WARN_SHADOW = NO

Configurations/Parse-tvOS-Dynamic.xcconfig

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
//
99

1010
#include "Shared/Platform/tvOS.xcconfig"
11-
#include "Shared/Product/Framework.xcconfig"
11+
#include "Shared/Product/DynamicFramework.xcconfig"
1212

1313
PRODUCT_NAME = Parse
1414
PRODUCT_BUNDLE_IDENTIFIER = com.parse.tvos
15-
DEFINES_MODULE = YES
16-
17-
MACH_O_TYPE = mh_dylib
18-
DYLIB_INSTALL_NAME_BASE = @rpath
19-
20-
OTHER_LDFLAGS = $(inherited) -ObjC
2115

2216
INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-tvOS.Info.plist
17+
18+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
19+
GCC_WARN_SHADOW = NO

Configurations/Parse-tvOS.xcconfig

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
//
99

1010
#include "Shared/Platform/tvOS.xcconfig"
11-
#include "Shared/Product/Framework.xcconfig"
11+
#include "Shared/Product/StaticFramework.xcconfig"
1212

1313
PRODUCT_NAME = Parse
1414
PRODUCT_BUNDLE_IDENTIFIER = com.parse.tvos
1515

16-
MACH_O_TYPE = staticlib
17-
APPLICATION_EXTENSION_API_ONLY = YES
18-
DEFINES_MODULE = YES
19-
20-
OTHER_LDFLAGS = $(inherited) -ObjC
21-
2216
INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-tvOS.Info.plist
17+
18+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
19+
GCC_WARN_SHADOW = NO

Configurations/Parse-watchOS-Dynamic.xcconfig

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,12 @@
88
//
99

1010
#include "Shared/Platform/watchOS.xcconfig"
11-
#include "Shared/Product/Framework.xcconfig"
11+
#include "Shared/Product/DynamicFramework.xcconfig"
1212

1313
PRODUCT_NAME = Parse
1414
PRODUCT_BUNDLE_IDENTIFIER = com.parse.watchos
1515

16-
MACH_O_TYPE = mh_dylib
17-
DYLIB_INSTALL_NAME_BASE = @rpath
18-
19-
APPLICATION_EXTENSION_API_ONLY = YES
20-
DEFINES_MODULE = YES
21-
ENABLE_BITCODE = YES
22-
23-
OTHER_LDFLAGS = $(inherited) -ObjC
24-
2516
INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-watchOS.Info.plist
17+
18+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
19+
GCC_WARN_SHADOW = NO

Configurations/Parse-watchOS.xcconfig

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@
88
//
99

1010
#include "Shared/Platform/watchOS.xcconfig"
11-
#include "Shared/Product/Framework.xcconfig"
11+
#include "Shared/Product/StaticFramework.xcconfig"
1212

1313
PRODUCT_NAME = Parse
1414
PRODUCT_BUNDLE_IDENTIFIER = com.parse.watchos
1515

16-
MACH_O_TYPE = staticlib
17-
APPLICATION_EXTENSION_API_ONLY = YES
18-
DEFINES_MODULE = YES
19-
ENABLE_BITCODE = YES
20-
21-
OTHER_LDFLAGS = $(inherited) -ObjC
22-
2316
INFOPLIST_FILE = $(PROJECT_DIR)/Parse/Resources/Parse-watchOS.Info.plist
17+
18+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
19+
GCC_WARN_SHADOW = NO

Configurations/ParseUnitTests-iOS.xcconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99

1010
#include "Shared/Platform/iOS.xcconfig"
11-
#include "Shared/Product/UnitTest.xcconfig"
11+
#include "Shared/Product/LogicTests.xcconfig"
1212

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

2121
USER_HEADER_SEARCH_PATHS = $(inherited) $(PARSE_DIR)/Parse/Internal/**
22+
23+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
24+
GCC_WARN_SHADOW = NO

Configurations/ParseUnitTests-OSX.xcconfig renamed to Configurations/ParseUnitTests-macOS.xcconfig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@
77
// of patent rights can be found in the PATENTS file in the same directory.
88
//
99

10-
#include "Shared/Platform/OSX.xcconfig"
11-
#include "Shared/Product/UnitTest.xcconfig"
10+
#include "Shared/Platform/macOS.xcconfig"
11+
#include "Shared/Product/LogicTests.xcconfig"
1212

13-
PRODUCT_NAME = ParseUnitTests-OSX
13+
PRODUCT_NAME = ParseUnitTests-macOS
1414
PRODUCT_MODULE_NAME = ParseUnitTests
15-
PRODUCT_BUNDLE_IDENTIFIER = com.parse.unit.osx
15+
PRODUCT_BUNDLE_IDENTIFIER = com.parse.unit.macOS
1616

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

2019
USER_HEADER_SEARCH_PATHS = $(inherited) $(PARSE_DIR)/Parse/Internal/**
20+
21+
// TODO: (nlutsenko) Cleanup source code so we can safely ignore local variable shadow warnings.
22+
GCC_WARN_SHADOW = NO

Gemfile.lock

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,63 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (4.2.5)
4+
activesupport (5.0.0)
5+
concurrent-ruby (~> 1.0, >= 1.0.2)
56
i18n (~> 0.7)
6-
json (~> 1.7, >= 1.7.7)
77
minitest (~> 5.1)
8-
thread_safe (~> 0.3, >= 0.3.4)
98
tzinfo (~> 1.1)
10-
claide (0.9.1)
11-
cocoapods (0.39.0)
9+
claide (1.0.0)
10+
cocoapods (1.0.1)
1211
activesupport (>= 4.0.2)
13-
claide (~> 0.9.1)
14-
cocoapods-core (= 0.39.0)
15-
cocoapods-downloader (~> 0.9.3)
16-
cocoapods-plugins (~> 0.4.2)
17-
cocoapods-search (~> 0.1.0)
18-
cocoapods-stats (~> 0.6.2)
19-
cocoapods-trunk (~> 0.6.4)
20-
cocoapods-try (~> 0.5.1)
12+
claide (>= 1.0.0, < 2.0)
13+
cocoapods-core (= 1.0.1)
14+
cocoapods-deintegrate (>= 1.0.0, < 2.0)
15+
cocoapods-downloader (>= 1.0.0, < 2.0)
16+
cocoapods-plugins (>= 1.0.0, < 2.0)
17+
cocoapods-search (>= 1.0.0, < 2.0)
18+
cocoapods-stats (>= 1.0.0, < 2.0)
19+
cocoapods-trunk (>= 1.0.0, < 2.0)
20+
cocoapods-try (>= 1.0.0, < 2.0)
2121
colored (~> 1.2)
2222
escape (~> 0.0.4)
23-
molinillo (~> 0.4.0)
23+
fourflusher (~> 0.3.0)
24+
molinillo (~> 0.4.5)
2425
nap (~> 1.0)
25-
xcodeproj (~> 0.28.2)
26-
cocoapods-core (0.39.0)
26+
xcodeproj (>= 1.1.0, < 2.0)
27+
cocoapods-core (1.0.1)
2728
activesupport (>= 4.0.2)
2829
fuzzy_match (~> 2.0.4)
2930
nap (~> 1.0)
30-
cocoapods-downloader (0.9.3)
31-
cocoapods-plugins (0.4.2)
31+
cocoapods-deintegrate (1.0.0)
32+
cocoapods-downloader (1.0.1)
33+
cocoapods-plugins (1.0.0)
3234
nap
33-
cocoapods-search (0.1.0)
34-
cocoapods-stats (0.6.2)
35-
cocoapods-trunk (0.6.4)
35+
cocoapods-search (1.0.0)
36+
cocoapods-stats (1.0.0)
37+
cocoapods-trunk (1.0.0)
3638
nap (>= 0.8, < 2.0)
3739
netrc (= 0.7.8)
38-
cocoapods-try (0.5.1)
40+
cocoapods-try (1.0.0)
3941
colored (1.2)
42+
concurrent-ruby (1.0.2)
4043
escape (0.0.4)
44+
fourflusher (0.3.2)
4145
fuzzy_match (2.0.4)
4246
i18n (0.7.0)
43-
json (1.8.3)
44-
minitest (5.8.3)
45-
molinillo (0.4.1)
46-
nap (1.0.0)
47+
minitest (5.9.0)
48+
molinillo (0.4.5)
49+
nap (1.1.0)
4750
naturally (1.3.2)
4851
netrc (0.7.8)
49-
plist (3.1.0)
50-
rake (10.4.2)
51-
rouge (1.10.1)
52+
plist (3.2.0)
53+
rake (11.2.2)
54+
rouge (1.11.1)
5255
thread_safe (0.3.5)
5356
tzinfo (1.2.2)
5457
thread_safe (~> 0.1)
55-
xcodeproj (0.28.2)
58+
xcodeproj (1.1.0)
5659
activesupport (>= 3)
57-
claide (~> 0.9.1)
60+
claide (>= 1.0.0, < 2.0)
5861
colored (~> 1.2)
5962
xcpretty (0.2.2)
6063
rouge (~> 1.8)
@@ -71,4 +74,4 @@ DEPENDENCIES
7174
xcpretty
7275

7376
BUNDLED WITH
74-
1.11.2
77+
1.12.5

0 commit comments

Comments
 (0)