Skip to content

Commit 5f662b1

Browse files
authored
refactor: Remove Carthage dependency (#1763)
1 parent a87bfb0 commit 5f662b1

File tree

116 files changed

+532
-2043
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+532
-2043
lines changed

.github/workflows/ci.yml

-12
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,6 @@ jobs:
6161
- name: Bundle Install
6262
if: steps.cache-gems.outputs.cache-hit != 'true'
6363
run: bundle install
64-
- name: Cache Carthage
65-
uses: actions/cache@v3
66-
id: carthage-cache
67-
with:
68-
path: Carthage
69-
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
70-
restore-keys: |
71-
${{ runner.os }}-carthage-
72-
- name: Carthage
73-
if: ${{ steps.carthage-cache.outputs.cache-hit != 'true' }}
74-
run: |
75-
carthage bootstrap --use-xcframeworks
7664
- name: Build-Test
7765
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ matrix.script == 'xcode15' && 'build:starters' || matrix.script }}
7866
env:

.gitmodules

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
[submodule "Vendor/xctoolchain"]
22
path = Vendor/xctoolchain
33
url = https://github.com/parse-community/xctoolchain.git
4-
[submodule "Carthage/Checkouts/Bolts-ObjC"]
5-
path = Carthage/Checkouts/Bolts-ObjC
6-
url = https://github.com/BoltsFramework/Bolts-ObjC.git
7-
[submodule "Carthage/Checkouts/facebook-ios-sdk"]
8-
path = Carthage/Checkouts/facebook-ios-sdk
9-
url = https://github.com/facebook/facebook-ios-sdk.git

Cartfile

-2
This file was deleted.

Cartfile.resolved

-2
This file was deleted.

Carthage/Checkouts/Bolts-ObjC

-1
This file was deleted.

Carthage/Checkouts/facebook-ios-sdk

-1
This file was deleted.

Parse/Parse.xcodeproj/project.pbxproj

+74-304
Large diffs are not rendered by default.

Parse/Parse/Source/PFAnalytics.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99

1010
#import <Foundation/Foundation.h>
1111

12-
#if __has_include(<Bolts/BFTask.h>)
13-
#import <Bolts/BFTask.h>
14-
#else
15-
#import "BFTask.h"
16-
#endif
12+
@import Bolts;
1713

1814
#import "PFConstants.h"
1915

Parse/Tests/Other/OCMock/OCMock+Parse.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import "OCMock+Parse.h"
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFCommandResult.h"
1515
#import "PFCommandRunning.h"

Parse/Tests/Other/Swift/SwiftSubclass.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import Foundation
1111

12-
import Parse
12+
import ParseCore
1313

1414
@objc
1515
public class SwiftSubclass: PFObject, PFSubclassing {

Parse/Tests/Other/TestCases/TestCase/PFTestCase.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import "PFTestCase.h"
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFTestSwizzlingUtilities.h"
1515

Parse/Tests/Unit/AnalyticsUnitTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFAnalyticsController.h"
1515
#import "PFUnitTestCase.h"

Parse/Tests/Unit/AnonymousAuthenticationProviderTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
@import Bolts.BFTask;
10+
@import Bolts;
1111

1212
#import "PFAnonymousAuthenticationProvider.h"
1313
#import "PFTestCase.h"

Parse/Tests/Unit/CloudCodeControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "OCMock+Parse.h"
1515
#import "PFCloudCodeController.h"

Parse/Tests/Unit/ConfigControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "OCMock+Parse.h"
1515
#import "PFCommandResult.h"

Parse/Tests/Unit/ConfigUnitTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFConfigController.h"
1515
#import "PFConfig_Private.h"

Parse/Tests/Unit/CurrentConfigControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "BFTask+Private.h"
1515
#import "PFCommandResult.h"

Parse/Tests/Unit/DefaultACLControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFACLPrivate.h"
1515
#import "PFCoreManager.h"

Parse/Tests/Unit/ExtensionDataSharingTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
@import Bolts.BFTask;
10+
@import Bolts;
1111

1212
#import "PFExtensionDataSharingTestHelper.h"
1313
#import "PFFileManager.h"

Parse/Tests/Unit/FileControllerTests.m

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFCancellationTokenSource;
13-
@import Bolts.BFTask;
14-
@import Bolts.BFTaskCompletionSource;
12+
@import Bolts;
1513

1614
#import "PFCommandResult.h"
1715
#import "PFCommandRunning.h"

Parse/Tests/Unit/FileUnitTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFCoreManager.h"
1515
#import "PFFileController.h"

Parse/Tests/Unit/ObjectFilePersistenceControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
@import Bolts.BFTask;
10+
@import Bolts;
1111

1212
#import "BFTask+Private.h"
1313
#import "PFObject.h"

Parse/Tests/Unit/ObjectOfflineTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
@import Bolts.BFTask;
10+
@import Bolts;
1111

1212
#import "PFObject.h"
1313
#import "PFOfflineStore.h"

Parse/Tests/Unit/OfflineQueryControllerTests.m

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFCancellationTokenSource;
13-
@import Bolts.BFTask;
12+
@import Bolts;
1413

1514
#import "OCMock+Parse.h"
1615
#import "PFCommandResult.h"

Parse/Tests/Unit/PurchaseControllerTests.m

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111

1212
#import <OCMock/OCMock.h>
1313

14-
@import Bolts.BFExecutor;
15-
@import Bolts.BFTask;
14+
@import Bolts;
1615

1716
#import "PFCommandResult.h"
1817
#import "PFCommandRunning.h"

Parse/Tests/Unit/PurchaseUnitTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFCommandRunning.h"
1515
#import "PFFileManager.h"

Parse/Tests/Unit/PushChannelsControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFCurrentInstallationController.h"
1515
#import "PFInstallation.h"

Parse/Tests/Unit/PushControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFCommandResult.h"
1515
#import "PFCommandRunning.h"

Parse/Tests/Unit/PushUnitTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.H>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFCoreManager.h"
1515
#import "PFCurrentInstallationController.h"

Parse/Tests/Unit/QueryCachedControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFCachedQueryController.h"
1515
#import "PFCommandResult.h"

Parse/Tests/Unit/QueryControllerUnitTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFCancellationTokenSource;
12+
@import Bolts;
1313

1414
#import "BFTask+Private.h"
1515
#import "PFCommandResult.h"

Parse/Tests/Unit/QueryUnitTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFTask;
12+
@import Bolts;
1313

1414
#import "PFCoreManager.h"
1515
#import "PFMacros.h"

Parse/Tests/Unit/RoleUnitTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
@import Bolts.BFTask;
10+
@import Bolts;
1111

1212
#import "PFMockURLProtocol.h"
1313
#import "PFRelation.h"

Parse/Tests/Unit/SQLiteDatabaseTest.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
@import Bolts.BFTask;
10+
@import Bolts;
1111

1212
#import "BFTask+Private.h"
1313
#import "PFFileManager.h"

Parse/Tests/Unit/URLSessionCommandRunnerTests.m

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFCancellationTokenSource;
13-
@import Bolts.BFTask;
12+
@import Bolts;
1413

1514
#import "PFCommandResult.h"
1615
#import "PFCommandRunningConstants.h"

Parse/Tests/Unit/URLSessionDataTaskDelegateTests.m

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFCancellationTokenSource;
13-
@import Bolts.BFTask;
12+
@import Bolts;
1413

1514
#import "PFCommandResult.h"
1615
#import "PFConstants.h"

Parse/Tests/Unit/URLSessionTests.m

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFCancellationTokenSource;
13-
@import Bolts.BFTask;
12+
@import Bolts;
1413

1514
#import "PFCommandResult.h"
1615
#import "PFMacros.h"

Parse/Tests/Unit/URLSessionUploadTaskDelegateTests.m

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#import <OCMock/OCMock.h>
1111

12-
@import Bolts.BFCancellationTokenSource;
13-
@import Bolts.BFTask;
12+
@import Bolts;
1413

1514
#import "PFCommandResult.h"
1615
#import "PFTestCase.h"

Parse/Tests/Unit/UserControllerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
@import Bolts.BFTask;
10+
@import Bolts;
1111

1212
#import "OCMock+Parse.h"
1313
#import "PFCommandResult.h"

0 commit comments

Comments
 (0)