[expo-in-app-purchases] v8.2.1 /node_modules/expo-in-app-purchases/ios/EXInAppPurchases/EXInAppPurchasesModule.m:447:1: Non-void function does not return a value in all control paths

Please provide the following:

  1. SDK Version: 38.0.0
  2. Platforms(Android/iOS/web/all): iOS

This didn’t happen until I updated xcode 11.7 → 12.0

Steps I did:

  1. yarn add expo-in-app-purchases
  2. npx pod-install
  3. yarn ios --device
  4. error occurred

Any help would be great. Thank you.

2 Likes

I am pretty sure Xcode should not be trying to compile stuff in node_modules :thinking:

But when I downgrade xcode back to 11.7, it works fine.

Looks like this has now been raised as an issue with expo - [expo-in-app-purchases] Module does not compile under xCode 12 · Issue #10245 · expo/expo · GitHub

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