Skip to main content
Question

Cannot display Paywall on Unity iOS

  • June 20, 2026
  • 4 replies
  • 22 views

Forum|alt.badge.img+1

I’m using the RevenueCatUI package in Unity to display the paywall created in the RC dashboard, which works perfectly on Android, but when I build for iOS, I get the following error when calling the method to present the paywall:

`RevenueCatUI/resource_bundle_accessor.swift:44: Fatal error: unable to find bundle named RevenueCat_RevenueCatUI`

I’m using RevenueCat 5.76.0. 

Any ideas?

4 replies

Forum|alt.badge.img+3
  • June 20, 2026

Hey there!

Could you check these steps?

  1. In Xcode, select the UnityFramework target.
  2. Go to Build Phases.
  3. Check Copy Bundle Resources.
  4. Add RevenueCat_RevenueCatUI.bundle if missing.
  5. Also check the main app target if UnityFramework does not work.
  6. Clean build folder, delete DerivedData, rebuild.

Forum|alt.badge.img+1
  • Author
  • New Member
  • June 22, 2026

Hi,

Thanks for your response.

I checked in Copy Bundle Resources, and there are only two things in there (PrivacyInfo.xcprivacy and GoogleService-Info.plist). When I try to add, no .bundle files come up, only RevenueCatUI.m. This file is already included in Compile Sources. In Link Binary with Libraries, I can see “PurchasesHybridCommon” and “PurchasesHybridCommonUI” but no other RevenueCat packages. I’m using SPM.

Doing a finder search in the project folder shows no bundle files at all.


Forum|alt.badge.img+1
  • Author
  • New Member
  • June 22, 2026

I have resolved this now. The version of the RevenueCat SDK was set to 5.79.0 < 6.0.0, but the PurchasesHybridCommon package version (18.11.0) required 5.76.0, so it wasn’t resolving correctly. After changing the range to allow this version and rebuilding, it started working.


Forum|alt.badge.img+1
  • Author
  • New Member
  • June 23, 2026

!-->

Here is a full guide to how I got this to work. I’m pretty sure this is a bug in the RevenueCat Unity SDK, because this happens on a clean build with the latest Unity packages.

Build from Unity as normal. The build will succeed, but app will crash when trying to display the Paywall. In order to get this to work, first check whether the package is present in XCode using Project > Unity-iPhone > Package Dependencies

RevenueCat is not in the list

  1. Click the + button.
  2. If you cannot see purchases-ios-spm in the packages window, search for https://github.com/RevenueCat/purchases-ios-spm
  3. Select purchases-ios-spm, then Add to Project > Unity-iPhone
  4. Click Add to Project
  5. Make sure to set RevenueCat and RevenueCatUI to Unity-iPhone instead of None
  6. Let the packages resolve.
  7. Run from XCode, check the Paywall now launches

RevenueCat is in the list

  1. Check that the version range is 5.76.0 < 6.0.0 and correct it if not.
  2. In either case, use File > Packages > Reset Package Caches and then File > Packages > Resolve Package Versions to resolve the correct versions.
  3. If that fails, try removing the RevenueCat package completely and adding it again.

Checking installation

  1. Select Unity-iPhone in the project navigator
  2. Select Unity-iPhone under TARGETS, then Build Phases
  3. Open Link Binary with Libraries
  4. Check that RevenueCat and RevenueCatUI are present