From e7df36beb735fd7dc4b86127bf86b34fb30b009d Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 5 Oct 2023 17:15:59 -0500 Subject: [PATCH 1/3] fix: Compilation errors `Undefined symbol` and `SystemConfiguration not found` on watchOS (#1748) --- .github/workflows/ci.yml | 5 ++- .../Controller/PFInstallationController.m | 4 ++ .../PFCurrentInstallationController.m | 4 ++ Parse/Parse/Internal/PFReachability.m | 3 ++ .../Internal/Push/Utilites/PFPushUtilities.m | 5 +++ ParseStarterProject/.gitignore | 1 + .../xcshareddata/swiftpm/Package.resolved | 43 ------------------- .../xcshareddata/swiftpm/Package.resolved | 43 ------------------- .../xcshareddata/swiftpm/Package.resolved | 43 ------------------- .../xcshareddata/swiftpm/Package.resolved | 43 ------------------- .../project.pbxproj | 17 ++++++-- .../xcshareddata/swiftpm/Package.resolved | 43 ------------------- .../ParseStarterProject/AppDelegate.swift | 2 +- .../ParseStarterProject/ViewController.swift | 2 +- Rakefile | 3 +- 15 files changed, 37 insertions(+), 224 deletions(-) delete mode 100644 ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved delete mode 100644 ParseStarterProject/OSX/ParseOSXStarterProject/ParseOSXStarterProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved delete mode 100644 ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved delete mode 100644 ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved delete mode 100644 ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfd69d28a..0991a0963 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - test:parseui:all - test:parse_live_query:all - build:starters - fail-fast: false + fail-fast: true runs-on: macos-12 steps: - uses: actions/checkout@v3 @@ -76,10 +76,12 @@ 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 @@ -87,6 +89,7 @@ jobs: name: ${{ env.ARTIFACT_NAME }} path: | ~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test + ~/Library/Developer/Xcode/DerivedData/**/Logs/Build - name: Upload Coverage uses: codecov/codecov-action@v3.1.1 with: diff --git a/Parse/Parse/Internal/Installation/Controller/PFInstallationController.m b/Parse/Parse/Internal/Installation/Controller/PFInstallationController.m index c28907fdf..593525730 100644 --- a/Parse/Parse/Internal/Installation/Controller/PFInstallationController.m +++ b/Parse/Parse/Internal/Installation/Controller/PFInstallationController.m @@ -9,6 +9,8 @@ #import "PFInstallationController.h" +#if !TARGET_OS_WATCH + #import "BFTask+Private.h" #import "PFAssert.h" #import "PFCurrentInstallationController.h" @@ -105,3 +107,5 @@ - (PFCurrentInstallationController *)currentInstallationController { } @end + +#endif diff --git a/Parse/Parse/Internal/Installation/CurrentInstallationController/PFCurrentInstallationController.m b/Parse/Parse/Internal/Installation/CurrentInstallationController/PFCurrentInstallationController.m index 785664ce3..20729a22c 100644 --- a/Parse/Parse/Internal/Installation/CurrentInstallationController/PFCurrentInstallationController.m +++ b/Parse/Parse/Internal/Installation/CurrentInstallationController/PFCurrentInstallationController.m @@ -9,6 +9,8 @@ #import "PFCurrentInstallationController.h" +#if !TARGET_OS_WATCH + #import "BFTask+Private.h" #import "PFAsyncTaskQueue.h" #import "PFInstallationIdentifierStore.h" @@ -280,3 +282,5 @@ - (void)setCurrentInstallationMatchesDisk:(BOOL)currentInstallationMatchesDisk { } @end + +#endif diff --git a/Parse/Parse/Internal/PFReachability.m b/Parse/Parse/Internal/PFReachability.m index f2faebbb8..147f662b0 100644 --- a/Parse/Parse/Internal/PFReachability.m +++ b/Parse/Parse/Internal/PFReachability.m @@ -9,6 +9,7 @@ #import "PFReachability.h" +#if !TARGET_OS_WATCH #import #import "PFAssert.h" @@ -209,3 +210,5 @@ - (void)_startMonitoringReachabilityWithURL:(NSURL *)url { } @end + +#endif diff --git a/Parse/Parse/Internal/Push/Utilites/PFPushUtilities.m b/Parse/Parse/Internal/Push/Utilites/PFPushUtilities.m index e73fb2d1c..1e178c061 100644 --- a/Parse/Parse/Internal/Push/Utilites/PFPushUtilities.m +++ b/Parse/Parse/Internal/Push/Utilites/PFPushUtilities.m @@ -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" @@ -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 diff --git a/ParseStarterProject/.gitignore b/ParseStarterProject/.gitignore index 469a4ac17..b319240b3 100644 --- a/ParseStarterProject/.gitignore +++ b/ParseStarterProject/.gitignore @@ -1 +1,2 @@ *.framework +Package.resolved diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index 9466f0275..000000000 --- a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,43 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Bolts", - "repositoryURL": "https://github.com/parse-community/Bolts-ObjC.git", - "state": { - "branch": null, - "revision": "1eee96ad3bcfc8964c0a5815ce94f491eb6ac8c2", - "version": "1.10.0" - } - }, - { - "package": "BoltsSwift", - "repositoryURL": "https://github.com/BoltsFramework/Bolts-Swift.git", - "state": { - "branch": null, - "revision": "d8c07eee2045a13f34330c0a4664053b5176e3f0", - "version": "1.5.0" - } - }, - { - "package": "Facebook", - "repositoryURL": "https://github.com/facebook/facebook-ios-sdk.git", - "state": { - "branch": null, - "revision": "7fd8a930a5b2c940a22efafe0e214ed0df671312", - "version": "15.1.0" - } - }, - { - "package": "Starscream", - "repositoryURL": "https://github.com/daltoniam/Starscream.git", - "state": { - "branch": null, - "revision": "ac6c0fc9da221873e01bd1a0d4818498a71eef33", - "version": "4.0.6" - } - } - ] - }, - "version": 1 -} diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject/ParseOSXStarterProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ParseStarterProject/OSX/ParseOSXStarterProject/ParseOSXStarterProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index 9466f0275..000000000 --- a/ParseStarterProject/OSX/ParseOSXStarterProject/ParseOSXStarterProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,43 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Bolts", - "repositoryURL": "https://github.com/parse-community/Bolts-ObjC.git", - "state": { - "branch": null, - "revision": "1eee96ad3bcfc8964c0a5815ce94f491eb6ac8c2", - "version": "1.10.0" - } - }, - { - "package": "BoltsSwift", - "repositoryURL": "https://github.com/BoltsFramework/Bolts-Swift.git", - "state": { - "branch": null, - "revision": "d8c07eee2045a13f34330c0a4664053b5176e3f0", - "version": "1.5.0" - } - }, - { - "package": "Facebook", - "repositoryURL": "https://github.com/facebook/facebook-ios-sdk.git", - "state": { - "branch": null, - "revision": "7fd8a930a5b2c940a22efafe0e214ed0df671312", - "version": "15.1.0" - } - }, - { - "package": "Starscream", - "repositoryURL": "https://github.com/daltoniam/Starscream.git", - "state": { - "branch": null, - "revision": "ac6c0fc9da221873e01bd1a0d4818498a71eef33", - "version": "4.0.6" - } - } - ] - }, - "version": 1 -} diff --git a/ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index 9466f0275..000000000 --- a/ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,43 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Bolts", - "repositoryURL": "https://github.com/parse-community/Bolts-ObjC.git", - "state": { - "branch": null, - "revision": "1eee96ad3bcfc8964c0a5815ce94f491eb6ac8c2", - "version": "1.10.0" - } - }, - { - "package": "BoltsSwift", - "repositoryURL": "https://github.com/BoltsFramework/Bolts-Swift.git", - "state": { - "branch": null, - "revision": "d8c07eee2045a13f34330c0a4664053b5176e3f0", - "version": "1.5.0" - } - }, - { - "package": "Facebook", - "repositoryURL": "https://github.com/facebook/facebook-ios-sdk.git", - "state": { - "branch": null, - "revision": "7fd8a930a5b2c940a22efafe0e214ed0df671312", - "version": "15.1.0" - } - }, - { - "package": "Starscream", - "repositoryURL": "https://github.com/daltoniam/Starscream.git", - "state": { - "branch": null, - "revision": "ac6c0fc9da221873e01bd1a0d4818498a71eef33", - "version": "4.0.6" - } - } - ] - }, - "version": 1 -} diff --git a/ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index 9466f0275..000000000 --- a/ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,43 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Bolts", - "repositoryURL": "https://github.com/parse-community/Bolts-ObjC.git", - "state": { - "branch": null, - "revision": "1eee96ad3bcfc8964c0a5815ce94f491eb6ac8c2", - "version": "1.10.0" - } - }, - { - "package": "BoltsSwift", - "repositoryURL": "https://github.com/BoltsFramework/Bolts-Swift.git", - "state": { - "branch": null, - "revision": "d8c07eee2045a13f34330c0a4664053b5176e3f0", - "version": "1.5.0" - } - }, - { - "package": "Facebook", - "repositoryURL": "https://github.com/facebook/facebook-ios-sdk.git", - "state": { - "branch": null, - "revision": "7fd8a930a5b2c940a22efafe0e214ed0df671312", - "version": "15.1.0" - } - }, - { - "package": "Starscream", - "repositoryURL": "https://github.com/daltoniam/Starscream.git", - "state": { - "branch": null, - "revision": "ac6c0fc9da221873e01bd1a0d4818498a71eef33", - "version": "4.0.6" - } - } - ] - }, - "version": 1 -} diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.pbxproj b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.pbxproj index ae818a40c..74fbbe1db 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.pbxproj +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 3901ECD82ACF3C7C0076D426 /* ParseObjC in Frameworks */ = {isa = PBXBuildFile; productRef = 3901ECD72ACF3C7C0076D426 /* ParseObjC */; }; 391740322AC65AD500588AF7 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 391740312AC65A2000588AF7 /* libsqlite3.tbd */; }; 391740352AC65D0000588AF7 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 391740332AC65C6700588AF7 /* libsqlite3.tbd */; }; 391740372AC65DCB00588AF7 /* ParseObjC in Frameworks */ = {isa = PBXBuildFile; productRef = 391740362AC65DCB00588AF7 /* ParseObjC */; }; @@ -104,6 +105,7 @@ files = ( 391740322AC65AD500588AF7 /* libsqlite3.tbd in Frameworks */, 7C606000292BD3DC00E4B6D2 /* SystemConfiguration.framework in Frameworks */, + 3901ECD82ACF3C7C0076D426 /* ParseObjC in Frameworks */, 7C605FFE292BD3D700E4B6D2 /* AudioToolbox.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -266,6 +268,9 @@ 068C15651BC8F15300820E44 /* PBXTargetDependency */, ); name = "ParseStarter-Swift"; + packageProductDependencies = ( + 3901ECD72ACF3C7C0076D426 /* ParseObjC */, + ); productName = ParseStarterProject; productReference = 81BA81451A49DA1800E65899 /* ParseStarter-Swift.app */; productType = "com.apple.product-type.application"; @@ -415,7 +420,7 @@ SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; }; name = Debug; }; @@ -438,7 +443,7 @@ SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; }; name = Release; }; @@ -458,7 +463,7 @@ SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; }; name = Debug; }; @@ -478,7 +483,7 @@ SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; }; name = Release; }; @@ -664,6 +669,10 @@ /* End XCConfigurationList section */ /* Begin XCSwiftPackageProductDependency section */ + 3901ECD72ACF3C7C0076D426 /* ParseObjC */ = { + isa = XCSwiftPackageProductDependency; + productName = ParseObjC; + }; 391740362AC65DCB00588AF7 /* ParseObjC */ = { isa = XCSwiftPackageProductDependency; productName = ParseObjC; diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index 9466f0275..000000000 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,43 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Bolts", - "repositoryURL": "https://github.com/parse-community/Bolts-ObjC.git", - "state": { - "branch": null, - "revision": "1eee96ad3bcfc8964c0a5815ce94f491eb6ac8c2", - "version": "1.10.0" - } - }, - { - "package": "BoltsSwift", - "repositoryURL": "https://github.com/BoltsFramework/Bolts-Swift.git", - "state": { - "branch": null, - "revision": "d8c07eee2045a13f34330c0a4664053b5176e3f0", - "version": "1.5.0" - } - }, - { - "package": "Facebook", - "repositoryURL": "https://github.com/facebook/facebook-ios-sdk.git", - "state": { - "branch": null, - "revision": "7fd8a930a5b2c940a22efafe0e214ed0df671312", - "version": "15.1.0" - } - }, - { - "package": "Starscream", - "repositoryURL": "https://github.com/daltoniam/Starscream.git", - "state": { - "branch": null, - "revision": "ac6c0fc9da221873e01bd1a0d4818498a71eef33", - "version": "4.0.6" - } - } - ] - }, - "version": 1 -} diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/AppDelegate.swift b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/AppDelegate.swift index 593211102..ad4fe6816 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/AppDelegate.swift +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/AppDelegate.swift @@ -9,7 +9,7 @@ import UIKit -import Parse +import ParseCore // If you want to use any of the UI components, uncomment this line // import ParseUI diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/ViewController.swift b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/ViewController.swift index 92689cef6..512b4fbd6 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/ViewController.swift +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/ViewController.swift @@ -8,7 +8,7 @@ */ import UIKit -import Parse +import ParseCore class ViewController: UIViewController { diff --git a/Rakefile b/Rakefile index 0338b2ee8..c40ddbbaf 100644 --- a/Rakefile +++ b/Rakefile @@ -470,8 +470,7 @@ namespace :build do task :all do # TODO: watchos objc starter # Rake::Task['build:watchos_starters:objc'].invoke - # TODO: fix compilation errors - # Rake::Task['build:watchos_starters:swift'].invoke + Rake::Task['build:watchos_starters:swift'].invoke end task :swift do From f4ba308300a7327e8bbf1b519460c11df79b2fb8 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 5 Oct 2023 22:18:53 +0000 Subject: [PATCH 2/3] chore(release): 2.7.2 [skip ci] ## [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)) --- CHANGELOG.md | 7 +++++++ Parse/Parse/Resources/Parse-OSX.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-iOS.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-tvOS.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-watchOS.Info.plist | 4 ++-- Parse/Parse/Source/PFConstants.h | 2 +- .../ParseFacebookUtils/Resources/Info-iOS.plist | 4 ++-- .../ParseFacebookUtils/Resources/Info-tvOS.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery/Resources/Info.plist | 4 ++-- .../OSX/ParseOSXStarterProject-Swift/Resources/Info.plist | 4 ++-- .../OSX/ParseOSXStarterProject/Resources/Info.plist | 4 ++-- .../iOS/ParseStarterProject-Swift/Resources/Info.plist | 4 ++-- .../iOS/ParseStarterProject/Resources/Info.plist | 4 ++-- .../tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist | 4 ++-- .../ParseStarter Extension/Info.plist | 4 ++-- .../ParseStarterProject-Swift/ParseStarter/Info.plist | 4 ++-- .../watchOS/ParseStarterProject-Swift/Resources/Info.plist | 4 ++-- .../ParseTwitterUtils/Resources/Info-iOS.plist | 4 ++-- ParseUI/ParseUI/Resources/Info-iOS.plist | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 23 files changed, 48 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 414e85179..66d0ba485 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [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)) + ## [2.7.1](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/2.7.0...2.7.1) (2023-09-30) diff --git a/Parse/Parse/Resources/Parse-OSX.Info.plist b/Parse/Parse/Resources/Parse-OSX.Info.plist index 099d8fb62..ce39cbc44 100644 --- a/Parse/Parse/Resources/Parse-OSX.Info.plist +++ b/Parse/Parse/Resources/Parse-OSX.Info.plist @@ -13,10 +13,10 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 diff --git a/Parse/Parse/Resources/Parse-iOS.Info.plist b/Parse/Parse/Resources/Parse-iOS.Info.plist index 29510b7b8..23cfd9b6f 100644 --- a/Parse/Parse/Resources/Parse-iOS.Info.plist +++ b/Parse/Parse/Resources/Parse-iOS.Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -21,7 +21,7 @@ iPhoneOS CFBundleVersion - 2.7.1 + 2.7.2 MinimumOSVersion 9.0 diff --git a/Parse/Parse/Resources/Parse-tvOS.Info.plist b/Parse/Parse/Resources/Parse-tvOS.Info.plist index 1b8cdff74..dc7068092 100644 --- a/Parse/Parse/Resources/Parse-tvOS.Info.plist +++ b/Parse/Parse/Resources/Parse-tvOS.Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 NSPrincipalClass diff --git a/Parse/Parse/Resources/Parse-watchOS.Info.plist b/Parse/Parse/Resources/Parse-watchOS.Info.plist index 1b8cdff74..dc7068092 100644 --- a/Parse/Parse/Resources/Parse-watchOS.Info.plist +++ b/Parse/Parse/Resources/Parse-watchOS.Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 NSPrincipalClass diff --git a/Parse/Parse/Source/PFConstants.h b/Parse/Parse/Source/PFConstants.h index fc1d5fa20..b927c0fcd 100644 --- a/Parse/Parse/Source/PFConstants.h +++ b/Parse/Parse/Source/PFConstants.h @@ -14,7 +14,7 @@ #pragma mark - SDK Version ///-------------------------------------- -#define PARSE_VERSION @"2.7.1" +#define PARSE_VERSION @"2.7.2" ///-------------------------------------- #pragma mark - Platform diff --git a/ParseFacebookUtils/ParseFacebookUtils/Resources/Info-iOS.plist b/ParseFacebookUtils/ParseFacebookUtils/Resources/Info-iOS.plist index 37b3f6c2f..1d4c2e79e 100644 --- a/ParseFacebookUtils/ParseFacebookUtils/Resources/Info-iOS.plist +++ b/ParseFacebookUtils/ParseFacebookUtils/Resources/Info-iOS.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -21,7 +21,7 @@ iPhoneOS CFBundleVersion - 2.7.1 + 2.7.2 MinimumOSVersion 9.0 diff --git a/ParseFacebookUtils/ParseFacebookUtils/Resources/Info-tvOS.plist b/ParseFacebookUtils/ParseFacebookUtils/Resources/Info-tvOS.plist index 2bb7c4334..eacc003e7 100644 --- a/ParseFacebookUtils/ParseFacebookUtils/Resources/Info-tvOS.plist +++ b/ParseFacebookUtils/ParseFacebookUtils/Resources/Info-tvOS.plist @@ -13,10 +13,10 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 diff --git a/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist b/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist index 0b9dee56b..4c178a00f 100644 --- a/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleVersion - 2.7.1 + 2.7.2 diff --git a/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist b/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist index 0b9dee56b..4c178a00f 100644 --- a/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleVersion - 2.7.1 + 2.7.2 diff --git a/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist b/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist index 63118ada3..95ec89554 100644 --- a/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist index 739a2fb5f..2244973f2 100644 --- a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSMainNibFile diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist index 302be7d97..bc961aa3d 100644 --- a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist +++ b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSMainNibFile diff --git a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist index 881b19617..4a6ea00f9 100644 --- a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist index 9f9d18b36..1e3d7f1aa 100644 --- a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist +++ b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist @@ -19,11 +19,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 LSRequiresIPhoneOS NSMainNibFile diff --git a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist index 470ca3e7c..ebc7ce868 100644 --- a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist +++ b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist index 4ca5d0164..8140f5c93 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 NSExtension NSExtensionAttributes diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist index 1231ecf1b..2bef2c02e 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist index 1cbd2f118..78655c579 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleVersion - 2.7.1 + 2.7.2 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/ParseTwitterUtils/ParseTwitterUtils/Resources/Info-iOS.plist b/ParseTwitterUtils/ParseTwitterUtils/Resources/Info-iOS.plist index c0d557333..95a399e5a 100644 --- a/ParseTwitterUtils/ParseTwitterUtils/Resources/Info-iOS.plist +++ b/ParseTwitterUtils/ParseTwitterUtils/Resources/Info-iOS.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -21,7 +21,7 @@ iPhoneOS CFBundleVersion - 2.7.1 + 2.7.2 MinimumOSVersion 9.0 diff --git a/ParseUI/ParseUI/Resources/Info-iOS.plist b/ParseUI/ParseUI/Resources/Info-iOS.plist index d7d9a6f65..0f45bae68 100644 --- a/ParseUI/ParseUI/Resources/Info-iOS.plist +++ b/ParseUI/ParseUI/Resources/Info-iOS.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.1 + 2.7.2 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -21,7 +21,7 @@ iPhoneOS CFBundleVersion - 2.7.1 + 2.7.2 MinimumOSVersion 9.0 diff --git a/package-lock.json b/package-lock.json index 09a57ee43..95bb74d7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "parse-sdk-ios-osx", - "version": "2.7.1", + "version": "2.7.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 0eaa43f73..09ec47589 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse-sdk-ios-osx", - "version": "2.7.1", + "version": "2.7.2", "private": true, "repository": { "type": "git", From 79a92ac3abe1d28444dbc2bdd9684cd9380cb19b Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Fri, 6 Oct 2023 00:29:13 +0200 Subject: [PATCH 3/3] docs: Add changelog note about missing assets (#1750) --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66d0ba485..eb5c7a4e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ * 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)