Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io
    All React Native and Expo fixes
    React Native and Expo
    November 19, 2026
    3 min read

    iOS build fails: “value of type 'AppTransaction' has no member 'appTransactionID'”

    This build error means a library uses AppTransaction.appTransactionID (or originalPlatform), which only exist in the iOS 18.4 SDK that ships with Xcode 16.3 and later. The machine building your app has an older Xcode. Build with Xcode 16.3+: on EAS, pin a newer build image in eas.json. Or move the library to a release that compiles on older Xcode.

    Symptom

    An iOS build stops while compiling a pod, typically an in-app purchase library:

    ExpoIapModule.swift:297:65: value of type 'AppTransaction' has no member 'appTransactionID'
    
    • On EAS Build it fails in the Xcode step with Exit status: 65.
    • Variants: 'Transaction' has no member 'appTransactionID', or has no member 'originalPlatform'.
    • The same project may build on your Mac and fail on CI, or the reverse.

    Why it happens

    Apple added appTransactionID and originalPlatform to StoreKit in the iOS 18.4 SDK. Xcode 16.3 was the first Xcode with that SDK. appTransactionID is back-deployed to iOS 16, so it works on older devices, but the compiler still has to know about it. An Xcode with the iOS 18.2 SDK or earlier doesn't, whatever your deployment target or #available checks say.

    During 2025, several in-app purchase libraries started reading these properties without a compile-time guard: react-native-iap, expo-iap, and the shared Apple module behind flutter_inapp_purchase. Each later shipped a fix.

    Cause How to tell
    Build machine on Xcode 16.2 or earlier xcrun --sdk iphoneos --show-sdk-version prints below 18.4
    EAS default image for Expo SDK 52 (Xcode 16.2) No image in eas.json, Expo SDK 52
    Library version without a compile-time guard The failing file belongs to an IAP package you recently upgraded

    Confirm it

    1. Local: check the SDK the build uses.
    xcrun --sdk iphoneos --show-sdk-version
    

    Anything below 18.4 explains the error.

    1. EAS: open the failed build, expand the first steps, and read the image name and Xcode version. Expo SDK 52's default image is macos-sequoia-15.3-xcode-16.2.
    2. Find the library that uses the property:
    grep -rln "appTransactionID\|originalPlatform" node_modules/*/ios node_modules/@*/*/ios 2>/dev/null
    

    Fix

    1. Build with Xcode 16.3 or later. On EAS, pin an image in eas.json:
    {
      "build": {
        "production": {
          "ios": { "image": "macos-sequoia-15.5-xcode-16.4" }
        }
      }
    }
    

    Then rebuild with eas build --platform ios --clear-cache. Locally, install Xcode 16.3+ and select it with sudo xcode-select -s /Applications/Xcode.app.

    1. Or upgrade the library to a release that compiles on older Xcode:
      • expo-iap 2.8.4 or later (guards the code at compile time).
      • react-native-iap 13.0.2 or later added an availability check. If you're still on Xcode 16.2, upgrade Xcode too, because issues kept being reported until people did.
      • flutter_inapp_purchase 6.8.1 or later.
    2. Last resort: pin the library to the version before the change (react-native-iap 12.16.2, for example) until you can move Xcode.

    Prefer step 1. App Store submissions need a recent Xcode anyway, so an old build image will block you again soon.

    Stop it coming back

    • Pin the EAS image explicitly in eas.json, so a library upgrade and a toolchain change never land at the same time unnoticed.
    • Read the release notes of in-app purchase libraries for minimum Xcode before upgrading.
    • Run one iOS CI build on every dependency update, not only at release time.

    If you use BillDog

    BillDog's iOS SDK doesn't use appTransactionID or originalPlatform. It reads AppTransaction.shared only behind an iOS 16 availability check, and ships to CocoaPods and Swift Package Manager as a prebuilt framework. So BillDog isn't the source of this error: the grep above points to the library that is. This was checked against the source of the published iOS SDK 1.1.1-beta.5.

    Related

    Sources

    Did this fix it?

    Frequently asked questions

    Do I need to raise my app's minimum iOS version?

    No. The deployment target isn't the problem. The build fails because the compiler's iOS SDK is too old to know the property. A newer Xcode fixes it without changing which iOS versions your app supports.

    Why does it build locally but fail on EAS?

    EAS picks a build image from your Expo SDK version unless you set one. Expo SDK 52's default image has Xcode 16.2, which is too old, while your Mac may have Xcode 16.3 or later. Pin a newer image in eas.json.

    Should I use the latest EAS image?

    Not blindly. latest moves to the newest Xcode, which can bring requirements an older Expo SDK doesn't meet. Pin a specific image with Xcode 16.3 or 16.4 instead.

    We use cookies and process your data to provide our services. By continuing, you agree to our Terms and Privacy Policy.