RevenueCat / purchases-capacitor

Capacitor in-app purchases and subscriptions made easy.
MIT License
139 stars 14 forks source link

[ios] error: Signing for "RevenueCat-RevenueCat" requires a development team #298

Open FahmiChaar opened 1 month ago

FahmiChaar commented 1 month ago

Hi,

Description: When trying to run an Ionic app in the device with Capacitor ionic cap run ios, I encounter the following error:

/ios/App/Pods/Pods.xcodeproj: error: Signing for "PurchasesHybridCommon-PurchasesHybridCommon" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'PurchasesHybridCommon-PurchasesHybridCommon' from project 'Pods')
error: Signing for "RevenueCat-RevenueCat" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'RevenueCat-RevenueCat' from project 'Pods')
[capacitor]         ** BUILD FAILED **

image

Steps to Reproduce:

  1. Create a new Ionic project with Capacitor.
  2. npm i @revenuecat/purchases-capacitor@next
  3. ionic cap run ios

Expected Behavior: The app should run successfully without requiring manual intervention for setting the development team.

Actual Behavior: The build process fails with the error message mentioned above, indicating that a development team needs to be selected for signing the "PurchasesHybridCommon-PurchasesHybridCommon" target.

Additional Information:

Ionic:

   Ionic CLI                     : 7.2.0
   Ionic Framework               : @ionic/angular 6.2.1
   @angular-devkit/build-angular : 14.1.1
   @angular-devkit/schematics    : 14.1.1
   @angular/cli                  : 14.1.1
   @ionic/angular-toolkit        : 6.1.0

Capacitor:

   Capacitor CLI      : 6.1.0
   @capacitor/android : 6.1.0
   @capacitor/core    : 6.1.0
   @capacitor/ios     : 6.1.0
RCGitBot commented 1 month ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

WesleyClarkRC commented 1 month ago

Hi! Just to clarify for us, do you already have a team set in "Signing & Capabilities" in Xcode or are you still getting this error even with it set? We have seen other developers encounter this issue before in which this was the way to resolve it.

FahmiChaar commented 1 month ago

Hi, yes, I have a team set in Sign In & Capabilities, and I still get this error. The only solution I found to build the app is by deleting the extra pod files mentioned in the error.

FahmiChaar commented 1 month ago

Hi, same error with version 8.0.0