Skip to content

[Xcode 27] in_app_purchase_storekit StoreKit 2 native tests fail on the iOS 27 simulator #194285

Closed
flutter/packages
#13279

Description

@okorohelijah

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

  1. added
    platform-iosiOS applications specifically
    packageflutter/packages repository. See also p: labels.
    P2Important issues not at the top of the work list
    team-iosOwned by iOS platform team
    on Oct 13, 2026
  2. added
    P1High-priority issues at the top of the work list
    triaged-iosTriaged by iOS platform team
    and removed
    P2Important issues not at the top of the work list
    on Oct 14, 2026
  3. github-actions commented on Nov 10, 2026

    @github-actions

    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 -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions