Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cannot build via Unity Cloud Build for iOS after installing Remote Config SDK #1215

Open
PhilBerDood opened this issue Mar 11, 2025 · 2 comments
Labels
api: remoteconfig needs-info Need information for the developer

Comments

@PhilBerDood
Copy link

PhilBerDood commented Mar 11, 2025

Description

When installing Analytics and Crashlytics, it builds fine. However, as soon as I just install Remote Config, Unity Cloud Build fails when trying to build an iOS build. The following error appears:

ERROR: iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project.

After the failure, "pod repo update" was executed and succeeded. "pod install" was then attempted again, and still failed. This may be due to a broken CocoaPods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions.

pod install output:

Analyzing dependencies
Adding spec repo trunk with CDN https://cdn.cocoapods.org/

CocoaPods 1.16.1 is available.
To update use: gem install cocoapods

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.16.1

[!] CocoaPods could not find compatible versions for pod "Firebase/RemoteConfig":
In Podfile:
Firebase/RemoteConfig (= 11.9.0)

Specs satisfying the Firebase/RemoteConfig (= 11.9.0) dependency were found, but they required a higher minimum deployment target.

There doesn't seem to be any difference in minimum deployment target between the three install SDK's so I'm just not sure why it's not working for RemoteConfig.

Reproducing the issue

No response

Firebase Unity SDK Version

12.7.0

Unity editor version

2022.3.0

Installation Method

.unitypackage

Problematic Firebase Component(s)

Remote Config

Other Firebase Component(s) in use

Analytics, Crashlytics

Additional SDKs you are using

No response

Targeted Platform(s)

Apple Platforms

Unity editor platform

Windows

Scripting Runtime

IL2CPP

Release Distribution Type

Pre-built SDK from https://firebase.google.com/download/unity

Relevant Log Output

If using CocoaPods for Apple platforms, the project's Podfile.lock

Expand Podfile.lock snippet
👀 Replace this line with the contents of your Podfile.lock!
@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@argzdev
Copy link

argzdev commented Mar 19, 2025

Hey @PhilBerDood, thanks for reaching out.

Currently I'm testing the Firebase Remote Config version 12.7.0 on iOS simulator 18.2 and seems to work normally. I'm unable to check if iOS 13 simulator would encounter a build/runtime issue since this requires a version lower than Sequoia 15.3.1 macOS.

That said, could you answer a few questions below, so we can investigate this further:

  1. Could you share with us what iOS version did you set for the minimum deployment target?
  2. Could share the content of your Podfile? (Please remove any (PII) Personally identifiable information.)
  3. You mentioned that the Unity Cloud Build fails for this build. Does building on the local machine also causes this issue?
  4. Any chance you can share an MCVE?

@argzdev argzdev added the needs-info Need information for the developer label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: remoteconfig needs-info Need information for the developer
Projects
None yet
Development

No branches or pull requests

3 participants