diff --git a/CHANGELOG.md b/CHANGELOG.md index 471e19c..78623a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [5.5.0] - 2026-09-16 + +### New +* Added `requestPendingUpdate(completionHandler:)` and `applyPendingUpdate(completionHandler:)` on macOS. Your app can now check whether Setapp has a newer version ready to install and trigger the update on its own schedule — without waiting for the user to update manually. + ## [5.4.0] - 2026-09-10 ### New diff --git a/Samples/Electron/package.json b/Samples/Electron/package.json index 2f2ef41..583ec9f 100644 --- a/Samples/Electron/package.json +++ b/Samples/Electron/package.json @@ -24,7 +24,7 @@ "node-gyp": "^10.2.0" }, "build": { - "buildVersion": "42", + "buildVersion": "43", "appId": "com.setapp.fmwk.macos.TestApp-setapp", "productName": "Setapp Electron App Demo", "copyright": "Copyright 2020-2023 Setapp Limited.", diff --git a/Samples/SetappSamples.xcodeproj/project.pbxproj b/Samples/SetappSamples.xcodeproj/project.pbxproj index 5c52cf9..4f43083 100644 --- a/Samples/SetappSamples.xcodeproj/project.pbxproj +++ b/Samples/SetappSamples.xcodeproj/project.pbxproj @@ -2986,7 +2986,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_STYLE = Manual; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 42; + CURRENT_PROJECT_VERSION = 43; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = MEHY5QF425; ENABLE_HARDENED_RUNTIME = YES; @@ -3008,7 +3008,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 15.6; MACOSX_DEPLOYMENT_TARGET = 11.5; - MARKETING_VERSION = 5.4.0; + MARKETING_VERSION = 5.5.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -3059,7 +3059,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application: Setapp Limited (MEHY5QF425)"; CODE_SIGN_STYLE = Manual; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 42; + CURRENT_PROJECT_VERSION = 43; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = MEHY5QF425; ENABLE_HARDENED_RUNTIME = YES; @@ -3075,7 +3075,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 15.6; MACOSX_DEPLOYMENT_TARGET = 11.5; - MARKETING_VERSION = 5.4.0; + MARKETING_VERSION = 5.5.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; diff --git a/Setapp.podspec b/Setapp.podspec index 20adac0..3808b01 100644 --- a/Setapp.podspec +++ b/Setapp.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Setapp' - s.version = '5.4.0' + s.version = '5.5.0' s.summary = 'Setapp Framework' diff --git a/Setapp.xcframework/Info.plist b/Setapp.xcframework/Info.plist index f607f4a..acd792f 100644 --- a/Setapp.xcframework/Info.plist +++ b/Setapp.xcframework/Info.plist @@ -10,18 +10,15 @@ HeadersPath Headers LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath libSetapp.a SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator BinaryPath @@ -48,15 +45,16 @@ HeadersPath Headers LibraryIdentifier - ios-arm64 + macos-arm64_x86_64 LibraryPath libSetapp.a SupportedArchitectures arm64 + x86_64 SupportedPlatform - ios + macos BinaryPath @@ -64,7 +62,7 @@ HeadersPath Headers LibraryIdentifier - macos-arm64_x86_64 + ios-arm64_x86_64-simulator LibraryPath libSetapp.a SupportedArchitectures @@ -73,7 +71,9 @@ x86_64 SupportedPlatform - macos + ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/Setapp.xcframework/_CodeSignature/CodeDirectory b/Setapp.xcframework/_CodeSignature/CodeDirectory index c213a59..9c8e946 100644 Binary files a/Setapp.xcframework/_CodeSignature/CodeDirectory and b/Setapp.xcframework/_CodeSignature/CodeDirectory differ diff --git a/Setapp.xcframework/_CodeSignature/CodeResources b/Setapp.xcframework/_CodeSignature/CodeResources index f2cafbe..d3a9416 100644 --- a/Setapp.xcframework/_CodeSignature/CodeResources +++ b/Setapp.xcframework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ ios-arm64/Headers/Setapp-Swift.h - JaTpjcQaCcI9+Ff/EdB3jKv4iMA= + Tko/5ll6XJCKGn3r8k3A2k8NvBQ= ios-arm64/Headers/Setapp.h @@ -14,7 +14,7 @@ ios-arm64/Headers/Setapp/Setapp-Swift.h - JaTpjcQaCcI9+Ff/EdB3jKv4iMA= + Tko/5ll6XJCKGn3r8k3A2k8NvBQ= ios-arm64/Headers/Setapp/Setapp.h @@ -26,27 +26,27 @@ ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc - /ZbKN5fedO7xf4MKN703wGg+9Is= + ayFDtzvKJGJicslekjGdl12YFz0= ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface - wQFyr7ax8pmqNBAXQ3FFRIzBoOc= + Isjos++B2baWNtIMEQEPf887QBk= ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftdoc - AGA9plUDJyvj+SxstEuw0CdVG4k= + 0jchZr6I9vthFox7vzyD7jgVZeY= ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftinterface - 2sR7mHns9QcTgaU1hRUESvj5qoE= + RcJNs1pd62a3h83ErUnKtBt67t0= ios-arm64/libSetapp.a - SOo2CWmpaJkmurpGkskIYu5ozuE= + xFh2LtcYqfE8EXSLb54Q7JmSkt8= ios-arm64_x86_64-maccatalyst/Headers/Setapp-Swift.h - WPxe0GAqhKKRGY475RbbkpPxWNQ= + WUNz/tsiXp7K7Id/iSfen4Q6yFk= ios-arm64_x86_64-maccatalyst/Headers/Setapp.h @@ -54,7 +54,7 @@ ios-arm64_x86_64-maccatalyst/Headers/Setapp/Setapp-Swift.h - WPxe0GAqhKKRGY475RbbkpPxWNQ= + WUNz/tsiXp7K7Id/iSfen4Q6yFk= ios-arm64_x86_64-maccatalyst/Headers/Setapp/Setapp.h @@ -66,43 +66,43 @@ ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc - ceRLI6/wxBevmztOROJzfqTENkc= + vl/Wl8h44mSBI7zYOTxq4zMjEWY= ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface - U2d0nhLcYFMUXY6zEhD1nG2kCaM= + raSJPGmnvBEJSgdY42SZu1LoHMo= ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc - iRLw14pLW4uRv657KacUqZ3zp4Q= + J9r6nMdpS3esXcNzKZ4A+9tzvG0= ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface - XIQ0dbZ0e6psqbNacVrm2/HstVg= + sPCahud6A6jzKRqsySUCvLiKlPM= ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc - C/PKDuermCHCsk12hfHh6IRL8rE= + Ca+BKnuYpRX63S33NrB7ozd47hc= ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface - Q0r3HuUeZcx5zbePxCAIMEBxbOM= + SZbQNRfteyhHdFjI8S2GcrY7/yg= ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc - uHh7ncqXVlbhPOdJbQzDuQiLrcU= + 1Y47Gt3nVtJ2PejxS6jRBQsuSFU= ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface - o6UzSYP4oZXiem6N4UI7/k0ySxE= + ss0oZPfbl7UD1uN1ZI0hevhHbkg= ios-arm64_x86_64-maccatalyst/libSetapp.a - zy+DIGYJg1Zt8G5Zk+i+tPXg3R0= + f5ACEIBZNQDOMazSPiSP/M72lNQ= ios-arm64_x86_64-simulator/Headers/Setapp-Swift.h - REDx7+C9qCyYC/3ynsnJ7tBQNWI= + QP1vAy50yAwSRlzVcmCV9irUQaw= ios-arm64_x86_64-simulator/Headers/Setapp.h @@ -110,7 +110,7 @@ ios-arm64_x86_64-simulator/Headers/Setapp/Setapp-Swift.h - REDx7+C9qCyYC/3ynsnJ7tBQNWI= + QP1vAy50yAwSRlzVcmCV9irUQaw= ios-arm64_x86_64-simulator/Headers/Setapp/Setapp.h @@ -122,43 +122,43 @@ ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc - lbTOOYQvMDDwFHQbSxP71mvTz6c= + 3eXTK/dbnuDvxo+8jLJgsP1llEw= ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface - jxbyVVTByN+T4zkxXgryANso5d8= + KIBA9an50mIfZHpCawvH+vNeSkc= ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - qmp5WC/lbatTJQkE5zSLP7Co8AY= + 8XjbJPUvALOlvMrIO/fXFBSDLoA= ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - ROneUPpu94/W6xm7cz7N8VixMTU= + Miq4HedBWcJxrxFUpDaS8yoY+Gg= ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc - z9frCoUNCUJvDtDjrmDwhyb5AYU= + XN+4ZN2ABMCpeIh7mD3FWTZkTe4= ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface - zVg1Jb0//QvLUr7abAsI7LVBz9I= + C91ywGgjB+WfnRMZSmQLohaGcPs= ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - PmtPWBeTK694vXNFxcTHy14whw8= + 6lYsRCJ59E83T0fFLm5mbz7d+YQ= ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - XCThDWepphj3KAPnyKZd/z48WVQ= + GKTZ5TcSFHhoq841qgtiwTd4msk= ios-arm64_x86_64-simulator/libSetapp.a - rDEaFJaA20anRLFQ9Mtouhjxrlc= + +5LgoSmpVqxrX3wWxiJCa2u11os= macos-arm64_x86_64/Headers/Setapp-Swift.h - cUWokLIv0d7aFoGivH6G/P8XUIk= + 5Z7GmkhhONZg1IgN9ddDngmxOwc= macos-arm64_x86_64/Headers/Setapp.h @@ -166,7 +166,7 @@ macos-arm64_x86_64/Headers/Setapp/Setapp-Swift.h - cUWokLIv0d7aFoGivH6G/P8XUIk= + 5Z7GmkhhONZg1IgN9ddDngmxOwc= macos-arm64_x86_64/Headers/Setapp/Setapp.h @@ -178,39 +178,39 @@ macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc - smBiliFAoOb3mfasuqBbJ9IAP8g= + 4ofLLC6xKTOHRV0lBiryDRXsB8s= macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface - rHBWw3dgXvlY3tl1zfz5W7jCr3g= + rVTc1Cq3nnyZmQ3aO3Js9TRmN7g= macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc - UTTmigXNm+0jfONO60rIsRtSzpI= + gbfJleH1aWhhzKL48vZAugE371g= macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface - tNpw6T9iLaFewQ0fLLG8pWGphDY= + Kd1h/i63dACEIilr+0uPx0NFj5U= macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftdoc - f/DLVenWF8NAjTaLZXZy7oJcc14= + +uimfgkxIe8y18gVUrNZgRZJ764= macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftinterface - yZbRLSPJYWeVu/kR/toUKEDC67M= + npTGcFFSSn55KeWgvEDC/2DjH0k= macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftdoc - k2DOJjl5fatAsF4sU9Yxl75mMGc= + VWnYutdPHdn6AwyrbTga7lm3Wzw= macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftinterface - m9gWHVep8bSc3od5kM9wbgKNF8A= + St3j52kHSIEw3nQGzwS/8b3A+2s= macos-arm64_x86_64/libSetapp.a - NocY24/+0AisA3o75z2Su0wwuEA= + 7Kj3cOJiL7qXxagATysrDzIwsTk= files2 @@ -219,7 +219,7 @@ hash2 - H5jqfZt21m6sR2hFZA9Sg2w5USMEBpPbzkGiQtqRrhw= + HKdYge4in5IDVSXF1GYI6t7CR8c8N6Iow7vx8ILJkAw= ios-arm64/Headers/Setapp.h @@ -233,7 +233,7 @@ hash2 - H5jqfZt21m6sR2hFZA9Sg2w5USMEBpPbzkGiQtqRrhw= + HKdYge4in5IDVSXF1GYI6t7CR8c8N6Iow7vx8ILJkAw= ios-arm64/Headers/Setapp/Setapp.h @@ -254,42 +254,42 @@ hash2 - b4uql/qSTW55Bc3lCMkMmqfVWqwWiajBAzjIMDnr/IU= + tIGtM/dej213hIpxENwk8DUD12y+v7SJfveoSmMx128= ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface hash2 - Q8RMfp3ZwzLiG3eZMZcqX7zq/HObQ0UOuHrpUQqOxGo= + X5kOJaetUt0fGOfmuEy/C6DsbNuukl+VXzmf1MRKGtw= ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftdoc hash2 - e8tkKLGV+TbrgU8g+8YsRnN3fIKK7/CmWqPONmnsXQw= + /UUEvNT52laGKPlRv6hYRkGptq4WB5Ce4zzpPq5+LJc= ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftinterface hash2 - EYiS5tjcmuo/2NA/juy+CSEamWKxcvDWHBy/0XIqei8= + iYsqXTTMd701B9hONlCBNq404b0qN9JW7KTfF0GNEYE= ios-arm64/libSetapp.a hash2 - CQeDmpjgMH0nkK0r8AmceA+az2aKlZprtOI7GASn3Fc= + A+OZv3Qc5Gv9tPAK5NfSA/Vm7AefZ8IlGKJyrBHBX1c= ios-arm64_x86_64-maccatalyst/Headers/Setapp-Swift.h hash2 - tm7GmEWpL+NYYl3Y+Moi/UPyFo4I93mBUqC3KK0IvPs= + Qg0vSyjaVgx/2iBTEBSKGDX/CljjjTua2EpHpqaLUK4= ios-arm64_x86_64-maccatalyst/Headers/Setapp.h @@ -303,7 +303,7 @@ hash2 - tm7GmEWpL+NYYl3Y+Moi/UPyFo4I93mBUqC3KK0IvPs= + Qg0vSyjaVgx/2iBTEBSKGDX/CljjjTua2EpHpqaLUK4= ios-arm64_x86_64-maccatalyst/Headers/Setapp/Setapp.h @@ -324,70 +324,70 @@ hash2 - MwRz44Cn8MYkmEHEUEqgSN8FesIJNl8UKm4aSJvUOfc= + WrQhloapmEhn1uOxL+GgqS066B1b3+/Pp4EwmMQwUjc= ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface hash2 - n/IGyhtagGL8cyq4WMKtoqW6OsD7P3ejPb/crUGQAsE= + PGu8gZOZlW/pfItEsYjM+BkibsmMXYiwIYWKU1Y6AnY= ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc hash2 - A4xPK5ap6QE37JBfJTTDdh21TeeU7osmG5Util1d1CA= + 1iV+QRXQ+sDwb9+ZPxPqRMkw40r81QmxaXDDFU3/qd8= ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface hash2 - Hzq1dwY1APElrL29SFrOx4bNmvrIxjbQAr832Mehcxo= + ps9Zvriz1mx+m4pvtm3F39ibixlCnrFqfSowGPM3vCA= ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc hash2 - 1TWeW/kyPfEaulSjlw4Un99uwTmO7X9c/Ym80ZMVTr8= + QXye//Tlu+4+Ds03b5sif0mEuqY68XmtmAKs35ZhDtY= ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface hash2 - pj9sIYEE1QYXfM+DgdJII63NTXjzHyjmvagaH5+ffFk= + zdsS456jricWdMMKQzU6S/95qoWZvkGcwO37l9P53B8= ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc hash2 - RopmlxTQKaA4r2OWWWO2QY/Ep1dgTQnGKIiQKkc17mI= + VJX+zNEs3KYsZ0g+ZxQfweAwGsUCBG6J2own8r+Dm6I= ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface hash2 - /gtj0rBe3hSegEqaV1ZVDieSA88tOltSXyg2+pwDkCk= + lL6FnTrNotcyUQhxr+DV9j7jfU6semmMc4ssch4b6tc= ios-arm64_x86_64-maccatalyst/libSetapp.a hash2 - dQtAYuhjgrLj1ylq/XV+AoL94L6SzlCvaYvff9Ta3Ak= + B4mK+nmwlJtli78QasU53LJ9m+25G+Mrflemc12jXOY= ios-arm64_x86_64-simulator/Headers/Setapp-Swift.h hash2 - RVx0JA6apgVuCnjcUAGfJWTUKFlJNaWOUUymCp5wiiY= + wmDeUOmDfjzGoUkvxKiQ0dmBt1tphezKVQcpHCBTuZY= ios-arm64_x86_64-simulator/Headers/Setapp.h @@ -401,7 +401,7 @@ hash2 - RVx0JA6apgVuCnjcUAGfJWTUKFlJNaWOUUymCp5wiiY= + wmDeUOmDfjzGoUkvxKiQ0dmBt1tphezKVQcpHCBTuZY= ios-arm64_x86_64-simulator/Headers/Setapp/Setapp.h @@ -422,70 +422,70 @@ hash2 - qCq2WQ1GeqcJD2Co+h+vO6My7KXP5PfGrKUxcGwIAmI= + ybvkp/8dkE4Sho+nsVvHDyPVu7SZwPdsi+ozMZ72h94= ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - es5QVADKb5XPU6Ux7CP/iI78zA1Kjak1OJqxP8rY2Yw= + kGnfai8T1FFVo14Zfk9uEvEcrqlZK1gj3RNDebgcE6g= ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - W4ztql3VNLAWjDSYc3nI6Upo51iijvIaNIwXwbMiVQo= + b/vzyH/D8ShcjbCUY+1ZipSDPTDdLslifI8fmgMOFIw= ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - 3Iz/XKIkM5k44/ma2K9S5TAqEQMvXlUnaHFk9hnb6z8= + kcKdJ9kjbDh2Lw2cF9PcmkwFr6tHr4bZvBeXhk09o+w= ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - 7dgZjhG0QBPxnht8b3ku19aqb2iUtp4hhDSBqqR4Lnw= + bP+pULX2QQq/8IHC391+QAJ0HOmGuJERx3EsQz9bIa8= ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - AatVzJ50d247nPipc5CT6Kf9nGxAgpL0Jg9eVHmWoVY= + L6i9Ar8x4+ducWcZySizRqtbt0qPRJnEY6FiyfcErIY= ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - NdWtIj+AjNwQDfW0vbOeytUXK6ZgqyD0yfRwubz4KtI= + CxfxmeWkYspLd/SVbazI+s5g3lOpaEKtAPpBzQOCe/Q= ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - UAA7ZIRNOMrpzyi3qCndNypVFY9kI82jOIiQSnMKs8I= + GaKhJljm59SEw6LYRhVzN+XuXhC8HS57XIQlUoZn5Qg= ios-arm64_x86_64-simulator/libSetapp.a hash2 - uJ36U9AVO4e2xaheXJ/9AuBB2Rx/HeziOs0Urt8iMfk= + NqHwfWeGJONFOjIrQmDNZHp98ALXdV9f4Tnw/vyO4Ek= macos-arm64_x86_64/Headers/Setapp-Swift.h hash2 - vPGRXRctyePMhwF7uFpYJMVpUi+Y4gApwUqiOdpo+9o= + vpFSvpV8oEBrS/dN8DVHxHBBZxWa0QNnt206Y1F26PY= macos-arm64_x86_64/Headers/Setapp.h @@ -499,7 +499,7 @@ hash2 - vPGRXRctyePMhwF7uFpYJMVpUi+Y4gApwUqiOdpo+9o= + vpFSvpV8oEBrS/dN8DVHxHBBZxWa0QNnt206Y1F26PY= macos-arm64_x86_64/Headers/Setapp/Setapp.h @@ -520,63 +520,63 @@ hash2 - +VtZKCb7ROR0zO1yd5kNjdZhaTo2//JVyoRQGMyC2x4= + qmbRsZTi3Mwl7yfZ73VLWmFlXv1kx0wCT8VXOiXvTLA= macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface hash2 - w4B+iQ2R3grd+fjTsjFXwVSGhHYVFPjjEPP5XwC+C9g= + LUbFAOeNKYEJGTTpCzoBAsuXSlMVdERhVQYLz61e0kw= macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc hash2 - r6e7QE6EZC66+ThxNsbXwMnR6cxQIclzuvLK+7KKbhY= + j9F3goceGnY7WZ+abjA/826MAaJR7t0nl34HUiuCQ0k= macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface hash2 - /FvZuh15GSaSUpMmblEQUyqZG4ALuBfDZ5QrFKzSxWY= + kPnnqqutByj+aaZS+WncZ6cXU4iISRa+swm+3VKUAjs= macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftdoc hash2 - RHK0R6jxhwg4LdYIzLh4w5gGO9hdKBks8J/KUKakOAU= + 9h2RFZUy8ArF6OCMD5lcXb78IyT6MP3uePBj1wA2RzM= macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftinterface hash2 - 4adcZX/TlvaIlGlSqZUqN593H98bL1BEDX+aMkjyC44= + Wg3cmnWpVQGMt+f5+ioIUoSS3ETTP5H1Us3O9lHIz+c= macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftdoc hash2 - PqTgriMWigw74gFG5dVmH944HzqBetOfcYhnOeXbtXM= + ofIdvb6CdYURPiwQTLEWf4zqfufMcpMYEM9BEgpIQ9g= macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftinterface hash2 - WjpOseeqp7ZhpsQMcGhz2ZyjIcHlk1q9d1Zl2PPNBZ8= + QKHDyo9QnskAxXJJZ83NyKTSpkgF4vu+Y6Tt5Q/ZIzU= macos-arm64_x86_64/libSetapp.a hash2 - i0zDUVpRIEPmWspArjajmRj+ODi9p4tKsNgYQDKUG2g= + qlFSQRdTpm0jRXgAgHojGhF7zKZyk/Uoaq43hefQHUQ= diff --git a/Setapp.xcframework/_CodeSignature/CodeSignature b/Setapp.xcframework/_CodeSignature/CodeSignature index 2c674c5..88ee067 100644 Binary files a/Setapp.xcframework/_CodeSignature/CodeSignature and b/Setapp.xcframework/_CodeSignature/CodeSignature differ diff --git a/Setapp.xcframework/ios-arm64/Headers/Setapp-Swift.h b/Setapp.xcframework/ios-arm64/Headers/Setapp-Swift.h index af7651d..097df68 100644 --- a/Setapp.xcframework/ios-arm64/Headers/Setapp-Swift.h +++ b/Setapp.xcframework/ios-arm64/Headers/Setapp-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push diff --git a/Setapp.xcframework/ios-arm64/Headers/Setapp/Setapp-Swift.h b/Setapp.xcframework/ios-arm64/Headers/Setapp/Setapp-Swift.h index af7651d..097df68 100644 --- a/Setapp.xcframework/ios-arm64/Headers/Setapp/Setapp-Swift.h +++ b/Setapp.xcframework/ios-arm64/Headers/Setapp/Setapp-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push diff --git a/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc b/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc index d987a13..859e50f 100644 Binary files a/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc and b/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface b/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface index ed492f6..72b141d 100644 --- a/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface +++ b/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target arm64-apple-ios15.6 -enable-objc-interop -autolink-force-load -enable-library-evolution -static -swift-version 6 -O -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -module-name Setapp -// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 public import Foundation @_exported public import SetappAI public import Swift @@ -238,6 +238,13 @@ extension Setapp.SetappManager { @available(swift, obsoleted: 0.1) @objc(viewControllerForSetappSubscription:orError:) final public func viewController(for setappSubscription: Setapp.SetappSubscription?, or error: Foundation.NSError?) -> UIKit.UIViewController? } +public struct SetappPendingUpdate : Swift.Equatable, Swift.Sendable { + public let version: Swift.String + public let buildNumber: Swift.String? + public let releaseNotes: Swift.String? + public init(version: Swift.String, buildNumber: Swift.String? = .none, releaseNotes: Swift.String? = .none) + public static func == (a: Setapp.SetappPendingUpdate, b: Setapp.SetappPendingUpdate) -> Swift.Bool +} extension Setapp.SetappLogLevel : Swift.Hashable {} extension Setapp.SetappLogLevel : Swift.RawRepresentable {} extension Setapp.SetappError.ErrorCode : Swift.Hashable {} diff --git a/Setapp.xcframework/ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftdoc b/Setapp.xcframework/ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftdoc index 52c38f8..3dc45ac 100644 Binary files a/Setapp.xcframework/ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftdoc and b/Setapp.xcframework/ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftinterface b/Setapp.xcframework/ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftinterface index a99f104..d133709 100644 --- a/Setapp.xcframework/ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftinterface +++ b/Setapp.xcframework/ios-arm64/SetappAI.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-upcoming-feature ExistentialAny:migrate -enable-upcoming-feature MemberImportVisibility:migrate -enable-upcoming-feature NonisolatedNonsendingByDefault:migrate -enable-experimental-feature DebugDescriptionMacro -module-name SetappAI -package-name setappai -// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import Foundation import Swift import _Concurrency diff --git a/Setapp.xcframework/ios-arm64/libSetapp.a b/Setapp.xcframework/ios-arm64/libSetapp.a index 9c802bd..6a8faee 100644 Binary files a/Setapp.xcframework/ios-arm64/libSetapp.a and b/Setapp.xcframework/ios-arm64/libSetapp.a differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Headers/Setapp-Swift.h b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Headers/Setapp-Swift.h index 29b8464..8dacdbe 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Headers/Setapp-Swift.h +++ b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Headers/Setapp-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -674,6 +674,46 @@ SWIFT_PROTOCOL("_TtP6Setapp24XPCServerAppPurchaseType_") - (void)provideAppPurchaseTypeWithCallback:(void (^ _Nonnull)(NSNumber * _Nullable, NSError * _Nullable))callback; @end +/// Protocol describing remote object capable of applying a pending update to the calling app. +SWIFT_PROTOCOL("_TtP6Setapp25XPCServerAppUpdateApplier_") +@protocol XPCServerAppUpdateApplier +/// Applies the pending update to the calling app’s running copy: downloads the new version, +/// quits the calling app, installs, and relaunches it. +/// The callback can only deliver errors that happen before the app is terminated — no +/// pending update to apply, a download failure, and so on. On the success path the calling +/// process is quit mid-call, the XPC connection is invalidated and no reply ever arrives: +/// the app simply relaunches as the new version. If the install fails after the app was +/// already quit, the Agent relaunches the previous version and the update stays pending. +/// The reply stays outstanding for the whole download window, so a connection-level failure +/// reported by the proxy’s error handler is an indeterminate outcome — the Agent may still +/// complete the update. +/// \param callback A callback to call when applying failed before the termination point. +/// Takes one parameter: +/// error - An optional NSError object describing why the update was not applied. +/// +- (void)applyPendingUpdateWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +@end + +/// Protocol describing remote object capable of checking for a pending update of the calling app. +SWIFT_PROTOCOL("_TtP6Setapp22XPCServerAppUpdateInfo_") +@protocol XPCServerAppUpdateInfo +/// Checks whether Setapp has a version newer than the calling app’s running copy available +/// to install. +/// The check is scoped to the calling bundle and answers from the Agent’s current catalog +/// state — it never forces a catalog refresh. +/// \param callback A callback to call with the check result. +/// Takes five parameters: +/// updateAvailable - true when a newer version is available to install. +/// version - An optional NSString with the pending marketing version. +/// buildNumber - An optional NSString with the pending build number. +/// releaseNotes - An optional NSString with the Markdown source of the pending +/// version’s release notes. +/// error - An optional NSError object if the check itself failed. nil alongside +/// updateAvailable == false is a clean “no update”, not an error. +/// +- (void)fetchPendingUpdateInfoWithCallback:(void (^ _Nonnull)(BOOL, NSString * _Nullable, NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback; +@end + /// Protocol describing remote object capable of checking if connection with /// Setapp XPC service is established. SWIFT_PROTOCOL("_TtP6Setapp26XPCServerConnectionChecker_") @@ -830,7 +870,7 @@ SWIFT_PROTOCOL("_TtP6Setapp21XPCServerProvisioning_") /// United protocol describing remote object representing Setapp XPC service (Setapp Agent). SWIFT_PROTOCOL("_TtP6Setapp17XPCServerProtocol_") -@protocol XPCServerProtocol +@protocol XPCServerProtocol @end /// Protocol describing remote object capable of providing an access token for autologin on the web. @@ -856,7 +896,7 @@ SWIFT_PROTOCOL("_TtP6Setapp26XPCServerWebAutologinToken_") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -1530,6 +1570,46 @@ SWIFT_PROTOCOL("_TtP6Setapp24XPCServerAppPurchaseType_") - (void)provideAppPurchaseTypeWithCallback:(void (^ _Nonnull)(NSNumber * _Nullable, NSError * _Nullable))callback; @end +/// Protocol describing remote object capable of applying a pending update to the calling app. +SWIFT_PROTOCOL("_TtP6Setapp25XPCServerAppUpdateApplier_") +@protocol XPCServerAppUpdateApplier +/// Applies the pending update to the calling app’s running copy: downloads the new version, +/// quits the calling app, installs, and relaunches it. +/// The callback can only deliver errors that happen before the app is terminated — no +/// pending update to apply, a download failure, and so on. On the success path the calling +/// process is quit mid-call, the XPC connection is invalidated and no reply ever arrives: +/// the app simply relaunches as the new version. If the install fails after the app was +/// already quit, the Agent relaunches the previous version and the update stays pending. +/// The reply stays outstanding for the whole download window, so a connection-level failure +/// reported by the proxy’s error handler is an indeterminate outcome — the Agent may still +/// complete the update. +/// \param callback A callback to call when applying failed before the termination point. +/// Takes one parameter: +/// error - An optional NSError object describing why the update was not applied. +/// +- (void)applyPendingUpdateWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +@end + +/// Protocol describing remote object capable of checking for a pending update of the calling app. +SWIFT_PROTOCOL("_TtP6Setapp22XPCServerAppUpdateInfo_") +@protocol XPCServerAppUpdateInfo +/// Checks whether Setapp has a version newer than the calling app’s running copy available +/// to install. +/// The check is scoped to the calling bundle and answers from the Agent’s current catalog +/// state — it never forces a catalog refresh. +/// \param callback A callback to call with the check result. +/// Takes five parameters: +/// updateAvailable - true when a newer version is available to install. +/// version - An optional NSString with the pending marketing version. +/// buildNumber - An optional NSString with the pending build number. +/// releaseNotes - An optional NSString with the Markdown source of the pending +/// version’s release notes. +/// error - An optional NSError object if the check itself failed. nil alongside +/// updateAvailable == false is a clean “no update”, not an error. +/// +- (void)fetchPendingUpdateInfoWithCallback:(void (^ _Nonnull)(BOOL, NSString * _Nullable, NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback; +@end + /// Protocol describing remote object capable of checking if connection with /// Setapp XPC service is established. SWIFT_PROTOCOL("_TtP6Setapp26XPCServerConnectionChecker_") @@ -1686,7 +1766,7 @@ SWIFT_PROTOCOL("_TtP6Setapp21XPCServerProvisioning_") /// United protocol describing remote object representing Setapp XPC service (Setapp Agent). SWIFT_PROTOCOL("_TtP6Setapp17XPCServerProtocol_") -@protocol XPCServerProtocol +@protocol XPCServerProtocol @end /// Protocol describing remote object capable of providing an access token for autologin on the web. diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Headers/Setapp/Setapp-Swift.h b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Headers/Setapp/Setapp-Swift.h index 29b8464..8dacdbe 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Headers/Setapp/Setapp-Swift.h +++ b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Headers/Setapp/Setapp-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -674,6 +674,46 @@ SWIFT_PROTOCOL("_TtP6Setapp24XPCServerAppPurchaseType_") - (void)provideAppPurchaseTypeWithCallback:(void (^ _Nonnull)(NSNumber * _Nullable, NSError * _Nullable))callback; @end +/// Protocol describing remote object capable of applying a pending update to the calling app. +SWIFT_PROTOCOL("_TtP6Setapp25XPCServerAppUpdateApplier_") +@protocol XPCServerAppUpdateApplier +/// Applies the pending update to the calling app’s running copy: downloads the new version, +/// quits the calling app, installs, and relaunches it. +/// The callback can only deliver errors that happen before the app is terminated — no +/// pending update to apply, a download failure, and so on. On the success path the calling +/// process is quit mid-call, the XPC connection is invalidated and no reply ever arrives: +/// the app simply relaunches as the new version. If the install fails after the app was +/// already quit, the Agent relaunches the previous version and the update stays pending. +/// The reply stays outstanding for the whole download window, so a connection-level failure +/// reported by the proxy’s error handler is an indeterminate outcome — the Agent may still +/// complete the update. +/// \param callback A callback to call when applying failed before the termination point. +/// Takes one parameter: +/// error - An optional NSError object describing why the update was not applied. +/// +- (void)applyPendingUpdateWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +@end + +/// Protocol describing remote object capable of checking for a pending update of the calling app. +SWIFT_PROTOCOL("_TtP6Setapp22XPCServerAppUpdateInfo_") +@protocol XPCServerAppUpdateInfo +/// Checks whether Setapp has a version newer than the calling app’s running copy available +/// to install. +/// The check is scoped to the calling bundle and answers from the Agent’s current catalog +/// state — it never forces a catalog refresh. +/// \param callback A callback to call with the check result. +/// Takes five parameters: +/// updateAvailable - true when a newer version is available to install. +/// version - An optional NSString with the pending marketing version. +/// buildNumber - An optional NSString with the pending build number. +/// releaseNotes - An optional NSString with the Markdown source of the pending +/// version’s release notes. +/// error - An optional NSError object if the check itself failed. nil alongside +/// updateAvailable == false is a clean “no update”, not an error. +/// +- (void)fetchPendingUpdateInfoWithCallback:(void (^ _Nonnull)(BOOL, NSString * _Nullable, NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback; +@end + /// Protocol describing remote object capable of checking if connection with /// Setapp XPC service is established. SWIFT_PROTOCOL("_TtP6Setapp26XPCServerConnectionChecker_") @@ -830,7 +870,7 @@ SWIFT_PROTOCOL("_TtP6Setapp21XPCServerProvisioning_") /// United protocol describing remote object representing Setapp XPC service (Setapp Agent). SWIFT_PROTOCOL("_TtP6Setapp17XPCServerProtocol_") -@protocol XPCServerProtocol +@protocol XPCServerProtocol @end /// Protocol describing remote object capable of providing an access token for autologin on the web. @@ -856,7 +896,7 @@ SWIFT_PROTOCOL("_TtP6Setapp26XPCServerWebAutologinToken_") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -1530,6 +1570,46 @@ SWIFT_PROTOCOL("_TtP6Setapp24XPCServerAppPurchaseType_") - (void)provideAppPurchaseTypeWithCallback:(void (^ _Nonnull)(NSNumber * _Nullable, NSError * _Nullable))callback; @end +/// Protocol describing remote object capable of applying a pending update to the calling app. +SWIFT_PROTOCOL("_TtP6Setapp25XPCServerAppUpdateApplier_") +@protocol XPCServerAppUpdateApplier +/// Applies the pending update to the calling app’s running copy: downloads the new version, +/// quits the calling app, installs, and relaunches it. +/// The callback can only deliver errors that happen before the app is terminated — no +/// pending update to apply, a download failure, and so on. On the success path the calling +/// process is quit mid-call, the XPC connection is invalidated and no reply ever arrives: +/// the app simply relaunches as the new version. If the install fails after the app was +/// already quit, the Agent relaunches the previous version and the update stays pending. +/// The reply stays outstanding for the whole download window, so a connection-level failure +/// reported by the proxy’s error handler is an indeterminate outcome — the Agent may still +/// complete the update. +/// \param callback A callback to call when applying failed before the termination point. +/// Takes one parameter: +/// error - An optional NSError object describing why the update was not applied. +/// +- (void)applyPendingUpdateWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +@end + +/// Protocol describing remote object capable of checking for a pending update of the calling app. +SWIFT_PROTOCOL("_TtP6Setapp22XPCServerAppUpdateInfo_") +@protocol XPCServerAppUpdateInfo +/// Checks whether Setapp has a version newer than the calling app’s running copy available +/// to install. +/// The check is scoped to the calling bundle and answers from the Agent’s current catalog +/// state — it never forces a catalog refresh. +/// \param callback A callback to call with the check result. +/// Takes five parameters: +/// updateAvailable - true when a newer version is available to install. +/// version - An optional NSString with the pending marketing version. +/// buildNumber - An optional NSString with the pending build number. +/// releaseNotes - An optional NSString with the Markdown source of the pending +/// version’s release notes. +/// error - An optional NSError object if the check itself failed. nil alongside +/// updateAvailable == false is a clean “no update”, not an error. +/// +- (void)fetchPendingUpdateInfoWithCallback:(void (^ _Nonnull)(BOOL, NSString * _Nullable, NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback; +@end + /// Protocol describing remote object capable of checking if connection with /// Setapp XPC service is established. SWIFT_PROTOCOL("_TtP6Setapp26XPCServerConnectionChecker_") @@ -1686,7 +1766,7 @@ SWIFT_PROTOCOL("_TtP6Setapp21XPCServerProvisioning_") /// United protocol describing remote object representing Setapp XPC service (Setapp Agent). SWIFT_PROTOCOL("_TtP6Setapp17XPCServerProtocol_") -@protocol XPCServerProtocol +@protocol XPCServerProtocol @end /// Protocol describing remote object capable of providing an access token for autologin on the web. diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc index 5736952..863abd9 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface index 65fffb3..00b0181 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target arm64-apple-ios16.0-macabi -enable-objc-interop -autolink-force-load -enable-library-evolution -static -swift-version 6 -O -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -module-name Setapp -// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 public import Foundation @_exported public import SetappAI public import Swift @@ -16,6 +16,8 @@ public import _SwiftConcurrencyShims final public func requestAuthorizationCode(clientID: Swift.String, completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) @objc(openURLWithAuth:) final public func openWithAuth(url: Foundation.URL) final public func requestPurchaseType(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) + final public func requestPendingUpdate(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) + final public func applyPendingUpdate(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) final public var ai: any SetappAI.SetappAIProtocol { get } @@ -141,6 +143,13 @@ extension Setapp.SetappLogLevel : Swift.CaseIterable { } @objc deinit } +public struct SetappPendingUpdate : Swift.Equatable, Swift.Sendable { + public let version: Swift.String + public let buildNumber: Swift.String? + public let releaseNotes: Swift.String? + public init(version: Swift.String, buildNumber: Swift.String? = .none, releaseNotes: Swift.String? = .none) + public static func == (a: Setapp.SetappPendingUpdate, b: Setapp.SetappPendingUpdate) -> Swift.Bool +} extension Setapp.SetappAppPurchaseType : Swift.Equatable {} extension Setapp.SetappAppPurchaseType : Swift.Hashable {} extension Setapp.SetappAppPurchaseType : Swift.RawRepresentable {} diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc index 8bb7af6..8c176f7 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index cfec61a..f9f5bc9 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target x86_64-apple-ios16.0-macabi -enable-objc-interop -autolink-force-load -enable-library-evolution -static -swift-version 6 -O -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -module-name Setapp -// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 public import Foundation @_exported public import SetappAI public import Swift @@ -16,6 +16,8 @@ public import _SwiftConcurrencyShims final public func requestAuthorizationCode(clientID: Swift.String, completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) @objc(openURLWithAuth:) final public func openWithAuth(url: Foundation.URL) final public func requestPurchaseType(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) + final public func requestPendingUpdate(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) + final public func applyPendingUpdate(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) final public var ai: any SetappAI.SetappAIProtocol { get } @@ -141,6 +143,13 @@ extension Setapp.SetappLogLevel : Swift.CaseIterable { } @objc deinit } +public struct SetappPendingUpdate : Swift.Equatable, Swift.Sendable { + public let version: Swift.String + public let buildNumber: Swift.String? + public let releaseNotes: Swift.String? + public init(version: Swift.String, buildNumber: Swift.String? = .none, releaseNotes: Swift.String? = .none) + public static func == (a: Setapp.SetappPendingUpdate, b: Setapp.SetappPendingUpdate) -> Swift.Bool +} extension Setapp.SetappAppPurchaseType : Swift.Equatable {} extension Setapp.SetappAppPurchaseType : Swift.Hashable {} extension Setapp.SetappAppPurchaseType : Swift.RawRepresentable {} diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc index 84eac61..b899632 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface index f3e6501..be4febe 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target arm64-apple-ios15.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-upcoming-feature ExistentialAny:migrate -enable-upcoming-feature MemberImportVisibility:migrate -enable-upcoming-feature NonisolatedNonsendingByDefault:migrate -enable-experimental-feature DebugDescriptionMacro -module-name SetappAI -package-name setappai -// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import Foundation import Swift import _Concurrency diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc index 31e2ecd..266c6e6 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index d6a5d7c..429f985 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/SetappAI.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target x86_64-apple-ios15.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-upcoming-feature ExistentialAny:migrate -enable-upcoming-feature MemberImportVisibility:migrate -enable-upcoming-feature NonisolatedNonsendingByDefault:migrate -enable-experimental-feature DebugDescriptionMacro -module-name SetappAI -package-name setappai -// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import Foundation import Swift import _Concurrency diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/libSetapp.a b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/libSetapp.a index 1a04ced..a484cee 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/libSetapp.a and b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/libSetapp.a differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Headers/Setapp-Swift.h b/Setapp.xcframework/ios-arm64_x86_64-simulator/Headers/Setapp-Swift.h index 8973b0b..158a178 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-simulator/Headers/Setapp-Swift.h +++ b/Setapp.xcframework/ios-arm64_x86_64-simulator/Headers/Setapp-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -792,7 +792,7 @@ SWIFT_CLASS("_TtC6Setapp18WebServicesManager") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Headers/Setapp/Setapp-Swift.h b/Setapp.xcframework/ios-arm64_x86_64-simulator/Headers/Setapp/Setapp-Swift.h index 8973b0b..158a178 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-simulator/Headers/Setapp/Setapp-Swift.h +++ b/Setapp.xcframework/ios-arm64_x86_64-simulator/Headers/Setapp/Setapp-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -792,7 +792,7 @@ SWIFT_CLASS("_TtC6Setapp18WebServicesManager") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 9ff37ed..b50ecc2 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 250ac88..6fff2cf 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target arm64-apple-ios15.6-simulator -enable-objc-interop -autolink-force-load -enable-library-evolution -static -swift-version 6 -O -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -module-name Setapp -// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 public import Foundation @_exported public import SetappAI public import Swift @@ -238,6 +238,13 @@ extension Setapp.SetappManager { @available(swift, obsoleted: 0.1) @objc(viewControllerForSetappSubscription:orError:) final public func viewController(for setappSubscription: Setapp.SetappSubscription?, or error: Foundation.NSError?) -> UIKit.UIViewController? } +public struct SetappPendingUpdate : Swift.Equatable, Swift.Sendable { + public let version: Swift.String + public let buildNumber: Swift.String? + public let releaseNotes: Swift.String? + public init(version: Swift.String, buildNumber: Swift.String? = .none, releaseNotes: Swift.String? = .none) + public static func == (a: Setapp.SetappPendingUpdate, b: Setapp.SetappPendingUpdate) -> Swift.Bool +} extension Setapp.SetappLogLevel : Swift.Hashable {} extension Setapp.SetappLogLevel : Swift.RawRepresentable {} extension Setapp.SetappError.ErrorCode : Swift.Hashable {} diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index f846e1c..f658a9e 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 1764e5b..de8adf1 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target x86_64-apple-ios15.6-simulator -enable-objc-interop -autolink-force-load -enable-library-evolution -static -swift-version 6 -O -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -module-name Setapp -// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 public import Foundation @_exported public import SetappAI public import Swift @@ -238,6 +238,13 @@ extension Setapp.SetappManager { @available(swift, obsoleted: 0.1) @objc(viewControllerForSetappSubscription:orError:) final public func viewController(for setappSubscription: Setapp.SetappSubscription?, or error: Foundation.NSError?) -> UIKit.UIViewController? } +public struct SetappPendingUpdate : Swift.Equatable, Swift.Sendable { + public let version: Swift.String + public let buildNumber: Swift.String? + public let releaseNotes: Swift.String? + public init(version: Swift.String, buildNumber: Swift.String? = .none, releaseNotes: Swift.String? = .none) + public static func == (a: Setapp.SetappPendingUpdate, b: Setapp.SetappPendingUpdate) -> Swift.Bool +} extension Setapp.SetappLogLevel : Swift.Hashable {} extension Setapp.SetappLogLevel : Swift.RawRepresentable {} extension Setapp.SetappError.ErrorCode : Swift.Hashable {} diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc index d523a4f..a8eb511 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 611477d..501bc79 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-upcoming-feature ExistentialAny:migrate -enable-upcoming-feature MemberImportVisibility:migrate -enable-upcoming-feature NonisolatedNonsendingByDefault:migrate -enable-experimental-feature DebugDescriptionMacro -module-name SetappAI -package-name setappai -// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import Foundation import Swift import _Concurrency diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index fffbb19..9c8b1c2 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 15ea30b..896c10c 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-simulator/SetappAI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-upcoming-feature ExistentialAny:migrate -enable-upcoming-feature MemberImportVisibility:migrate -enable-upcoming-feature NonisolatedNonsendingByDefault:migrate -enable-experimental-feature DebugDescriptionMacro -module-name SetappAI -package-name setappai -// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import Foundation import Swift import _Concurrency diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/libSetapp.a b/Setapp.xcframework/ios-arm64_x86_64-simulator/libSetapp.a index 270cc83..00f6cba 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-simulator/libSetapp.a and b/Setapp.xcframework/ios-arm64_x86_64-simulator/libSetapp.a differ diff --git a/Setapp.xcframework/macos-arm64_x86_64/Headers/Setapp-Swift.h b/Setapp.xcframework/macos-arm64_x86_64/Headers/Setapp-Swift.h index 403bd65..6e54317 100644 --- a/Setapp.xcframework/macos-arm64_x86_64/Headers/Setapp-Swift.h +++ b/Setapp.xcframework/macos-arm64_x86_64/Headers/Setapp-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -616,6 +616,46 @@ SWIFT_PROTOCOL("_TtP6Setapp24XPCServerAppPurchaseType_") - (void)provideAppPurchaseTypeWithCallback:(void (^ _Nonnull)(NSNumber * _Nullable, NSError * _Nullable))callback; @end +/// Protocol describing remote object capable of applying a pending update to the calling app. +SWIFT_PROTOCOL("_TtP6Setapp25XPCServerAppUpdateApplier_") +@protocol XPCServerAppUpdateApplier +/// Applies the pending update to the calling app’s running copy: downloads the new version, +/// quits the calling app, installs, and relaunches it. +/// The callback can only deliver errors that happen before the app is terminated — no +/// pending update to apply, a download failure, and so on. On the success path the calling +/// process is quit mid-call, the XPC connection is invalidated and no reply ever arrives: +/// the app simply relaunches as the new version. If the install fails after the app was +/// already quit, the Agent relaunches the previous version and the update stays pending. +/// The reply stays outstanding for the whole download window, so a connection-level failure +/// reported by the proxy’s error handler is an indeterminate outcome — the Agent may still +/// complete the update. +/// \param callback A callback to call when applying failed before the termination point. +/// Takes one parameter: +/// error - An optional NSError object describing why the update was not applied. +/// +- (void)applyPendingUpdateWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +@end + +/// Protocol describing remote object capable of checking for a pending update of the calling app. +SWIFT_PROTOCOL("_TtP6Setapp22XPCServerAppUpdateInfo_") +@protocol XPCServerAppUpdateInfo +/// Checks whether Setapp has a version newer than the calling app’s running copy available +/// to install. +/// The check is scoped to the calling bundle and answers from the Agent’s current catalog +/// state — it never forces a catalog refresh. +/// \param callback A callback to call with the check result. +/// Takes five parameters: +/// updateAvailable - true when a newer version is available to install. +/// version - An optional NSString with the pending marketing version. +/// buildNumber - An optional NSString with the pending build number. +/// releaseNotes - An optional NSString with the Markdown source of the pending +/// version’s release notes. +/// error - An optional NSError object if the check itself failed. nil alongside +/// updateAvailable == false is a clean “no update”, not an error. +/// +- (void)fetchPendingUpdateInfoWithCallback:(void (^ _Nonnull)(BOOL, NSString * _Nullable, NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback; +@end + /// Protocol describing remote object capable of checking if connection with /// Setapp XPC service is established. SWIFT_PROTOCOL("_TtP6Setapp26XPCServerConnectionChecker_") @@ -773,7 +813,7 @@ SWIFT_PROTOCOL("_TtP6Setapp21XPCServerProvisioning_") /// United protocol describing remote object representing Setapp XPC service (Setapp Agent). SWIFT_PROTOCOL("_TtP6Setapp17XPCServerProtocol_") -@protocol XPCServerProtocol +@protocol XPCServerProtocol @end /// Protocol describing remote object capable of providing an access token for autologin on the web. @@ -799,7 +839,7 @@ SWIFT_PROTOCOL("_TtP6Setapp26XPCServerWebAutologinToken_") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -1415,6 +1455,46 @@ SWIFT_PROTOCOL("_TtP6Setapp24XPCServerAppPurchaseType_") - (void)provideAppPurchaseTypeWithCallback:(void (^ _Nonnull)(NSNumber * _Nullable, NSError * _Nullable))callback; @end +/// Protocol describing remote object capable of applying a pending update to the calling app. +SWIFT_PROTOCOL("_TtP6Setapp25XPCServerAppUpdateApplier_") +@protocol XPCServerAppUpdateApplier +/// Applies the pending update to the calling app’s running copy: downloads the new version, +/// quits the calling app, installs, and relaunches it. +/// The callback can only deliver errors that happen before the app is terminated — no +/// pending update to apply, a download failure, and so on. On the success path the calling +/// process is quit mid-call, the XPC connection is invalidated and no reply ever arrives: +/// the app simply relaunches as the new version. If the install fails after the app was +/// already quit, the Agent relaunches the previous version and the update stays pending. +/// The reply stays outstanding for the whole download window, so a connection-level failure +/// reported by the proxy’s error handler is an indeterminate outcome — the Agent may still +/// complete the update. +/// \param callback A callback to call when applying failed before the termination point. +/// Takes one parameter: +/// error - An optional NSError object describing why the update was not applied. +/// +- (void)applyPendingUpdateWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +@end + +/// Protocol describing remote object capable of checking for a pending update of the calling app. +SWIFT_PROTOCOL("_TtP6Setapp22XPCServerAppUpdateInfo_") +@protocol XPCServerAppUpdateInfo +/// Checks whether Setapp has a version newer than the calling app’s running copy available +/// to install. +/// The check is scoped to the calling bundle and answers from the Agent’s current catalog +/// state — it never forces a catalog refresh. +/// \param callback A callback to call with the check result. +/// Takes five parameters: +/// updateAvailable - true when a newer version is available to install. +/// version - An optional NSString with the pending marketing version. +/// buildNumber - An optional NSString with the pending build number. +/// releaseNotes - An optional NSString with the Markdown source of the pending +/// version’s release notes. +/// error - An optional NSError object if the check itself failed. nil alongside +/// updateAvailable == false is a clean “no update”, not an error. +/// +- (void)fetchPendingUpdateInfoWithCallback:(void (^ _Nonnull)(BOOL, NSString * _Nullable, NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback; +@end + /// Protocol describing remote object capable of checking if connection with /// Setapp XPC service is established. SWIFT_PROTOCOL("_TtP6Setapp26XPCServerConnectionChecker_") @@ -1572,7 +1652,7 @@ SWIFT_PROTOCOL("_TtP6Setapp21XPCServerProvisioning_") /// United protocol describing remote object representing Setapp XPC service (Setapp Agent). SWIFT_PROTOCOL("_TtP6Setapp17XPCServerProtocol_") -@protocol XPCServerProtocol +@protocol XPCServerProtocol @end /// Protocol describing remote object capable of providing an access token for autologin on the web. diff --git a/Setapp.xcframework/macos-arm64_x86_64/Headers/Setapp/Setapp-Swift.h b/Setapp.xcframework/macos-arm64_x86_64/Headers/Setapp/Setapp-Swift.h index 403bd65..6e54317 100644 --- a/Setapp.xcframework/macos-arm64_x86_64/Headers/Setapp/Setapp-Swift.h +++ b/Setapp.xcframework/macos-arm64_x86_64/Headers/Setapp/Setapp-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -616,6 +616,46 @@ SWIFT_PROTOCOL("_TtP6Setapp24XPCServerAppPurchaseType_") - (void)provideAppPurchaseTypeWithCallback:(void (^ _Nonnull)(NSNumber * _Nullable, NSError * _Nullable))callback; @end +/// Protocol describing remote object capable of applying a pending update to the calling app. +SWIFT_PROTOCOL("_TtP6Setapp25XPCServerAppUpdateApplier_") +@protocol XPCServerAppUpdateApplier +/// Applies the pending update to the calling app’s running copy: downloads the new version, +/// quits the calling app, installs, and relaunches it. +/// The callback can only deliver errors that happen before the app is terminated — no +/// pending update to apply, a download failure, and so on. On the success path the calling +/// process is quit mid-call, the XPC connection is invalidated and no reply ever arrives: +/// the app simply relaunches as the new version. If the install fails after the app was +/// already quit, the Agent relaunches the previous version and the update stays pending. +/// The reply stays outstanding for the whole download window, so a connection-level failure +/// reported by the proxy’s error handler is an indeterminate outcome — the Agent may still +/// complete the update. +/// \param callback A callback to call when applying failed before the termination point. +/// Takes one parameter: +/// error - An optional NSError object describing why the update was not applied. +/// +- (void)applyPendingUpdateWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +@end + +/// Protocol describing remote object capable of checking for a pending update of the calling app. +SWIFT_PROTOCOL("_TtP6Setapp22XPCServerAppUpdateInfo_") +@protocol XPCServerAppUpdateInfo +/// Checks whether Setapp has a version newer than the calling app’s running copy available +/// to install. +/// The check is scoped to the calling bundle and answers from the Agent’s current catalog +/// state — it never forces a catalog refresh. +/// \param callback A callback to call with the check result. +/// Takes five parameters: +/// updateAvailable - true when a newer version is available to install. +/// version - An optional NSString with the pending marketing version. +/// buildNumber - An optional NSString with the pending build number. +/// releaseNotes - An optional NSString with the Markdown source of the pending +/// version’s release notes. +/// error - An optional NSError object if the check itself failed. nil alongside +/// updateAvailable == false is a clean “no update”, not an error. +/// +- (void)fetchPendingUpdateInfoWithCallback:(void (^ _Nonnull)(BOOL, NSString * _Nullable, NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback; +@end + /// Protocol describing remote object capable of checking if connection with /// Setapp XPC service is established. SWIFT_PROTOCOL("_TtP6Setapp26XPCServerConnectionChecker_") @@ -773,7 +813,7 @@ SWIFT_PROTOCOL("_TtP6Setapp21XPCServerProvisioning_") /// United protocol describing remote object representing Setapp XPC service (Setapp Agent). SWIFT_PROTOCOL("_TtP6Setapp17XPCServerProtocol_") -@protocol XPCServerProtocol +@protocol XPCServerProtocol @end /// Protocol describing remote object capable of providing an access token for autologin on the web. @@ -799,7 +839,7 @@ SWIFT_PROTOCOL("_TtP6Setapp26XPCServerWebAutologinToken_") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef SETAPP_SWIFT_H #define SETAPP_SWIFT_H #pragma clang diagnostic push @@ -1415,6 +1455,46 @@ SWIFT_PROTOCOL("_TtP6Setapp24XPCServerAppPurchaseType_") - (void)provideAppPurchaseTypeWithCallback:(void (^ _Nonnull)(NSNumber * _Nullable, NSError * _Nullable))callback; @end +/// Protocol describing remote object capable of applying a pending update to the calling app. +SWIFT_PROTOCOL("_TtP6Setapp25XPCServerAppUpdateApplier_") +@protocol XPCServerAppUpdateApplier +/// Applies the pending update to the calling app’s running copy: downloads the new version, +/// quits the calling app, installs, and relaunches it. +/// The callback can only deliver errors that happen before the app is terminated — no +/// pending update to apply, a download failure, and so on. On the success path the calling +/// process is quit mid-call, the XPC connection is invalidated and no reply ever arrives: +/// the app simply relaunches as the new version. If the install fails after the app was +/// already quit, the Agent relaunches the previous version and the update stays pending. +/// The reply stays outstanding for the whole download window, so a connection-level failure +/// reported by the proxy’s error handler is an indeterminate outcome — the Agent may still +/// complete the update. +/// \param callback A callback to call when applying failed before the termination point. +/// Takes one parameter: +/// error - An optional NSError object describing why the update was not applied. +/// +- (void)applyPendingUpdateWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +@end + +/// Protocol describing remote object capable of checking for a pending update of the calling app. +SWIFT_PROTOCOL("_TtP6Setapp22XPCServerAppUpdateInfo_") +@protocol XPCServerAppUpdateInfo +/// Checks whether Setapp has a version newer than the calling app’s running copy available +/// to install. +/// The check is scoped to the calling bundle and answers from the Agent’s current catalog +/// state — it never forces a catalog refresh. +/// \param callback A callback to call with the check result. +/// Takes five parameters: +/// updateAvailable - true when a newer version is available to install. +/// version - An optional NSString with the pending marketing version. +/// buildNumber - An optional NSString with the pending build number. +/// releaseNotes - An optional NSString with the Markdown source of the pending +/// version’s release notes. +/// error - An optional NSError object if the check itself failed. nil alongside +/// updateAvailable == false is a clean “no update”, not an error. +/// +- (void)fetchPendingUpdateInfoWithCallback:(void (^ _Nonnull)(BOOL, NSString * _Nullable, NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback; +@end + /// Protocol describing remote object capable of checking if connection with /// Setapp XPC service is established. SWIFT_PROTOCOL("_TtP6Setapp26XPCServerConnectionChecker_") @@ -1572,7 +1652,7 @@ SWIFT_PROTOCOL("_TtP6Setapp21XPCServerProvisioning_") /// United protocol describing remote object representing Setapp XPC service (Setapp Agent). SWIFT_PROTOCOL("_TtP6Setapp17XPCServerProtocol_") -@protocol XPCServerProtocol +@protocol XPCServerProtocol @end /// Protocol describing remote object capable of providing an access token for autologin on the web. diff --git a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc index ae9a89d..1109669 100644 Binary files a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc and b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc differ diff --git a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface index 18fd6c4..6203629 100644 --- a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface +++ b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target arm64-apple-macos11.5 -enable-objc-interop -autolink-force-load -enable-library-evolution -static -swift-version 6 -O -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -module-name Setapp -// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 public import Foundation @_exported public import SetappAI public import Swift @@ -15,6 +15,8 @@ public import _SwiftConcurrencyShims final public func requestAuthorizationCode(clientID: Swift.String, completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) @objc(openURLWithAuth:) final public func openWithAuth(url: Foundation.URL) final public func requestPurchaseType(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) + final public func requestPendingUpdate(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) + final public func applyPendingUpdate(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) final public var ai: any SetappAI.SetappAIProtocol { get } @@ -135,6 +137,13 @@ extension Setapp.SetappManager { } @objc deinit } +public struct SetappPendingUpdate : Swift.Equatable, Swift.Sendable { + public let version: Swift.String + public let buildNumber: Swift.String? + public let releaseNotes: Swift.String? + public init(version: Swift.String, buildNumber: Swift.String? = .none, releaseNotes: Swift.String? = .none) + public static func == (a: Setapp.SetappPendingUpdate, b: Setapp.SetappPendingUpdate) -> Swift.Bool +} extension Setapp.SetappAppPurchaseType : Swift.Equatable {} extension Setapp.SetappAppPurchaseType : Swift.Hashable {} extension Setapp.SetappAppPurchaseType : Swift.RawRepresentable {} diff --git a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc index dedd614..1862f0f 100644 Binary files a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc and b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc differ diff --git a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface index 450b3db..224c5e7 100644 --- a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface +++ b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target x86_64-apple-macos11.5 -enable-objc-interop -autolink-force-load -enable-library-evolution -static -swift-version 6 -O -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -module-name Setapp -// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -strict-memory-safety -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 public import Foundation @_exported public import SetappAI public import Swift @@ -15,6 +15,8 @@ public import _SwiftConcurrencyShims final public func requestAuthorizationCode(clientID: Swift.String, completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) @objc(openURLWithAuth:) final public func openWithAuth(url: Foundation.URL) final public func requestPurchaseType(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) + final public func requestPendingUpdate(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) + final public func applyPendingUpdate(completionHandler: @escaping @Sendable (Swift.Result) -> Swift.Void) final public var ai: any SetappAI.SetappAIProtocol { get } @@ -135,6 +137,13 @@ extension Setapp.SetappManager { } @objc deinit } +public struct SetappPendingUpdate : Swift.Equatable, Swift.Sendable { + public let version: Swift.String + public let buildNumber: Swift.String? + public let releaseNotes: Swift.String? + public init(version: Swift.String, buildNumber: Swift.String? = .none, releaseNotes: Swift.String? = .none) + public static func == (a: Setapp.SetappPendingUpdate, b: Setapp.SetappPendingUpdate) -> Swift.Bool +} extension Setapp.SetappAppPurchaseType : Swift.Equatable {} extension Setapp.SetappAppPurchaseType : Swift.Hashable {} extension Setapp.SetappAppPurchaseType : Swift.RawRepresentable {} diff --git a/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftdoc b/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftdoc index 9a943a5..4fa6c30 100644 Binary files a/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftdoc and b/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftdoc differ diff --git a/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftinterface b/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftinterface index d93940a..42b6ddb 100644 --- a/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftinterface +++ b/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/arm64-apple-macos.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target arm64-apple-macos11.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-upcoming-feature ExistentialAny:migrate -enable-upcoming-feature MemberImportVisibility:migrate -enable-upcoming-feature NonisolatedNonsendingByDefault:migrate -enable-experimental-feature DebugDescriptionMacro -module-name SetappAI -package-name setappai -// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import Foundation import Swift import _Concurrency diff --git a/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftdoc b/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftdoc index 221ca30..70d9176 100644 Binary files a/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftdoc and b/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftdoc differ diff --git a/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftinterface b/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftinterface index 1290348..929fb0c 100644 --- a/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftinterface +++ b/Setapp.xcframework/macos-arm64_x86_64/SetappAI.swiftmodule/x86_64-apple-macos.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) +// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) // swift-module-flags: -target x86_64-apple-macos11.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-upcoming-feature ExistentialAny:migrate -enable-upcoming-feature MemberImportVisibility:migrate -enable-upcoming-feature NonisolatedNonsendingByDefault:migrate -enable-experimental-feature DebugDescriptionMacro -module-name SetappAI -package-name setappai -// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 +// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import Foundation import Swift import _Concurrency diff --git a/Setapp.xcframework/macos-arm64_x86_64/libSetapp.a b/Setapp.xcframework/macos-arm64_x86_64/libSetapp.a index 39b976e..a4f53ea 100644 Binary files a/Setapp.xcframework/macos-arm64_x86_64/libSetapp.a and b/Setapp.xcframework/macos-arm64_x86_64/libSetapp.a differ diff --git a/SetappFramework-Resources.bundle/Assets.car b/SetappFramework-Resources.bundle/Assets.car index 69b2194..237baec 100644 Binary files a/SetappFramework-Resources.bundle/Assets.car and b/SetappFramework-Resources.bundle/Assets.car differ diff --git a/SetappFramework-Resources.bundle/Info.plist b/SetappFramework-Resources.bundle/Info.plist index 9bce659..783ee4d 100644 --- a/SetappFramework-Resources.bundle/Info.plist +++ b/SetappFramework-Resources.bundle/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 25D125 + 25F71 CFBundleDevelopmentRegion en CFBundleIdentifier @@ -15,29 +15,29 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 5.4.0 + 5.5.0 CFBundleSupportedPlatforms iPhoneOS CFBundleVersion - 202609110428 + 202609161641 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 23E237 + 23F81a DTPlatformName iphoneos DTPlatformVersion - 26.4 + 26.5 DTSDKBuild - 23E237 + 23F81a DTSDKName - iphoneos26.4 + iphoneos26.5 DTXcode - 2640 + 2660 DTXcodeBuild - 17E192 + 17F113 MinimumOSVersion 15.6 NSHumanReadableCopyright diff --git a/Sources/SetappResources/Resources/Bundles/SetappFramework-Resources.bundle/Assets.car b/Sources/SetappResources/Resources/Bundles/SetappFramework-Resources.bundle/Assets.car index 69b2194..237baec 100644 Binary files a/Sources/SetappResources/Resources/Bundles/SetappFramework-Resources.bundle/Assets.car and b/Sources/SetappResources/Resources/Bundles/SetappFramework-Resources.bundle/Assets.car differ diff --git a/Sources/SetappResources/Resources/Bundles/SetappFramework-Resources.bundle/Info.plist b/Sources/SetappResources/Resources/Bundles/SetappFramework-Resources.bundle/Info.plist index 9bce659..783ee4d 100644 --- a/Sources/SetappResources/Resources/Bundles/SetappFramework-Resources.bundle/Info.plist +++ b/Sources/SetappResources/Resources/Bundles/SetappFramework-Resources.bundle/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 25D125 + 25F71 CFBundleDevelopmentRegion en CFBundleIdentifier @@ -15,29 +15,29 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 5.4.0 + 5.5.0 CFBundleSupportedPlatforms iPhoneOS CFBundleVersion - 202609110428 + 202609161641 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 23E237 + 23F81a DTPlatformName iphoneos DTPlatformVersion - 26.4 + 26.5 DTSDKBuild - 23E237 + 23F81a DTSDKName - iphoneos26.4 + iphoneos26.5 DTXcode - 2640 + 2660 DTXcodeBuild - 17E192 + 17F113 MinimumOSVersion 15.6 NSHumanReadableCopyright diff --git a/package.json b/package.json index 0a09534..cc33e6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@setapp/framework-wrapper", - "version": "5.4.0", + "version": "5.5.0", "description": "Setapp Framework Node.js wrapper", "main": "./nodejs/dist/lib/setapp.js", "scripts": {