Repository navigation
Description
in_app_purchase_storekit's native tests fail when run on the iOS 27.0 simulator with Xcode 27 (27a266a), so Mac_arm64 ios_platform_tests fails at native test for this package:
https://ci.chromium.org/b/8668086845504323249 (staging.shadow led replay, shard 3; log: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8668086845504323249/+/u/Run_package_tests/native_test/stdout)
The example app launches fine (it already has a scene manifest) and the StoreKit 1 tests pass, but InAppPurchase2PluginTests reports Executed 28 tests, with 16 tests skipped and 9 failures and then the run crashes:
RunnerTests/StoreKit2TranslatorTests.swift:69: Fatal error: Unexpectedly found nil while unwrapping an Optional value
Failing methods: testGetProducts, testGetDiscountedProducts (XCTAssertNotNil failed), testGetProductsWithStoreKitError, testFinishTransactionSucceedsWhenAlreadyFinished, testIsWinBackOfferEligibleNotEligible, testIsWinBackOfferEligibleNonSubscription, plus timeouts on the async waits. The log has
<SKPaymentQueue: 0x…>: Error in remote proxy while checking server queue: StoreKit.StoreKitServiceError(error: StoreKit.StoreKitServiceError.ErrorType.system(StoreKit.StoreKitInternalError.noAccount), environment: Optional("Sandbox"), …
so it looks like the StoreKit Testing configuration (Configuration.storekit) is not returning products on the iOS 27 simulator — every failure is downstream of Product.products(for:) coming back empty, and the translator test force-unwraps the first product. Not reproduced on iOS 26.2 (the same tests pass on the current bots). The earlier Xcode 27 runs behind #194019 never reached native test, so this is the first datapoint for this package.
Related: #194019
Activity
[image_picker_ios] Require Flutter 3.47 / iOS 15 and drop deprecated …
[various] Update iOS example apps to the 15.0 deployment target (#13223)
[in_app_purchase_storekit} Fix more test flakes (flutter#13279)
github-actions commentedon Nov 10, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.