Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into livequery-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dplewis committed Oct 5, 2023
2 parents cf96b53 + 79a92ac commit 746dbe5
Show file tree
Hide file tree
Showing 38 changed files with 88 additions and 264 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,20 @@ jobs:
run: |
ARTIFACT_NAME=${{ env.ARTIFACT_NAME }}
TEST_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcresult")
BUILD_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcactivitylog")
echo ARTIFACT_NAME=${ARTIFACT_NAME//:/-} >> $GITHUB_ENV # replace colon with dashes
echo TEST_RESULTS=${TEST_RESULTS} >> $GITHUB_ENV
echo "Artifact Name: $ARTIFACT_NAME"
echo "Test Result Location: $TEST_RESULTS"
echo "Build Result Location: $BUILD_RESULTS"
- name: Upload Artifact Logs
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT_NAME }}
path: |
~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test
~/Library/Developer/Xcode/DerivedData/**/Logs/Build
- name: Upload Coverage
uses: codecov/[email protected]
with:
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## [2.7.2](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/2.7.1...2.7.2) (2023-10-05)


### Bug Fixes

* Compilation errors `Undefined symbol` and `SystemConfiguration not found` on watchOS ([#1748](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1748)) ([e7df36b](https://github.com/parse-community/Parse-SDK-iOS-OSX/commit/e7df36beb735fd7dc4b86127bf86b34fb30b009d))

### Notes

- The compiled frameworks of the Parse SDK will not be provided anymore as part of a release. Instead use Swift Package Manager to add the Parse SDK to your Xcode project.

## [2.7.1](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/2.7.0...2.7.1) (2023-09-30)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#import "PFInstallationController.h"

#if !TARGET_OS_WATCH

#import "BFTask+Private.h"
#import "PFAssert.h"
#import "PFCurrentInstallationController.h"
Expand Down Expand Up @@ -105,3 +107,5 @@ - (PFCurrentInstallationController *)currentInstallationController {
}

@end

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#import "PFCurrentInstallationController.h"

#if !TARGET_OS_WATCH

#import "BFTask+Private.h"
#import "PFAsyncTaskQueue.h"
#import "PFInstallationIdentifierStore.h"
Expand Down Expand Up @@ -280,3 +282,5 @@ - (void)setCurrentInstallationMatchesDisk:(BOOL)currentInstallationMatchesDisk {
}

@end

#endif
3 changes: 3 additions & 0 deletions Parse/Parse/Internal/PFReachability.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#import "PFReachability.h"

#if !TARGET_OS_WATCH
#import <SystemConfiguration/SystemConfiguration.h>

#import "PFAssert.h"
Expand Down Expand Up @@ -209,3 +210,5 @@ - (void)_startMonitoringReachabilityWithURL:(NSURL *)url {
}

@end

#endif
5 changes: 5 additions & 0 deletions Parse/Parse/Internal/Push/Utilites/PFPushUtilities.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
#import "PFAlertView.h"
#endif

#if !TARGET_OS_WATCH
#import "PFInstallationPrivate.h"
#endif

#import "PFKeychainStore.h"
#import "PFLogging.h"
#import "PFMacros.h"
Expand Down Expand Up @@ -49,11 +52,13 @@ + (NSString *)getDeviceTokenFromKeychain {
return store[@"ParsePush"];
}

#if !TARGET_OS_WATCH
+ (void)clearDeviceToken {
// Used in test case setup.
[[PFInstallation currentInstallation] _clearDeviceToken];
[[[PFKeychainStore alloc] initWithService:@"ParsePush"] removeObjectForKey:@"ParsePush"];
}
#endif

#if TARGET_OS_IOS

Expand Down
4 changes: 2 additions & 2 deletions Parse/Parse/Resources/Parse-OSX.Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Parse/Parse/Resources/Parse-iOS.Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>MinimumOSVersion</key>
<string>9.0</string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Parse/Parse/Resources/Parse-tvOS.Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Parse/Parse/Resources/Parse-watchOS.Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Parse/Parse/Source/PFConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#pragma mark - SDK Version
///--------------------------------------

#define PARSE_VERSION @"2.7.1"
#define PARSE_VERSION @"2.7.2"

///--------------------------------------
#pragma mark - Platform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>MinimumOSVersion</key>
<string>9.0</string>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions ParseLiveQuery/ParseLiveQuery/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
</dict>
</plist>
1 change: 1 addition & 0 deletions ParseStarterProject/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.framework
Package.resolved

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSMainNibFile</key>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.7.1</string>
<string>2.7.2</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSMainNibFile</key>
Expand Down
Loading

0 comments on commit 746dbe5

Please sign in to comment.