Expo In-App Purchase IOS build crashed

  1. SDK Version: 44
  2. Platform: iOS
  3. expo-in-app-purchases

Hello!

I tried to upload my app to App Store Connect and builds are crashing.
I tried EAS, bare worfklow (added In-App Purchases capability), upgrade SDK, install pods manually.
It works good in simulator (local build) but when it uploaded in App Store Connect it crushes.

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  7

Last Exception Backtrace:
0   CoreFoundation                	0x1bd538288 __exceptionPreprocess + 220 (NSException.m:200)
1   libobjc.A.dylib               	0x1d6232744 objc_exception_throw + 60 (objc-exception.mm:565)
2   YOGAMOGA                      	0x10067aca8 0x100640000 + 240808
3   YOGAMOGA                      	0x10068eb68 0x100640000 + 322408
4   YOGAMOGA                      	0x10068e21c 0x100640000 + 320028
5   libdispatch.dylib             	0x1bd19de6c _dispatch_call_block_and_release + 32 (init.c:1517)
6   libdispatch.dylib             	0x1bd19fa30 _dispatch_client_callout + 20 (object.m:560)
7   libdispatch.dylib             	0x1bd1a7124 _dispatch_lane_serial_drain + 668 (inline_internal.h:2622)
8   libdispatch.dylib             	0x1bd1a7c80 _dispatch_lane_invoke + 392 (queue.c:3944)
9   libdispatch.dylib             	0x1bd1b2500 _dispatch_workloop_worker_thread + 648 (queue.c:6732)
10  libsystem_pthread.dylib       	0x22e6e00bc _pthread_wqthread + 288 (pthread.c:2599)
11  libsystem_pthread.dylib       	0x22e6dfe5c start_wqthread + 8

I used Sentry but it doesn’t send any issues (probably it fails to initialize, maybe the crash occurs before initialization)

My app.json:

{
  "expo": {
    "userInterfaceStyle": "light",
    "name": "YOGA MOGA",
    "description": "YOGA MOGA is first fully virtual yoga studio from Taiwan. All of our classes are delivered online. There are classes for both beginners and experienced practitioners. This application is designed for our members to easily book classes and communicate with our management team.",
    "slug": "yogamoga",
    "version": "1.2.4",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "usesIcloudStorage": true,
      "supportsTablet": false,
      "bundleIdentifier": "com.club.yogamoga",
      "infoPlist": {
        "NSCameraUsageDescription": "This app uses the camera to make your profile photo",
        "NSPhotoLibraryUsageDescription": "This app accesses the library to upload your profile photo"
      }
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/adaptive-icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "package": "com.club.yogamoga"
    },
    "web": {
      "favicon": "./assets/favicon.png"
    },
    "plugins": [
      [
        "expo-document-picker",
        {
          "appleTeamId": "BW93G8A72X",
          "iCloudContainerEnvironment": "Production"
        }
      ]
    ]
  }
}

Thanks for your attention!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.