Skip to content

[FR] Please, let iOS Resolver run pod install on platforms, other than macOS, too #693

Open
@reflexing

Description

@reflexing

Feature proposal

  • EDM4U Component: iOS Resolver

Please, let iOS Resolver run pod install not only on macOS. CocoaPods can be installed on Linux too.

We are enabling Continous Integration for our projects, based on Game CI guidelines (https://game.ci/docs/gitlab/getting-started).

While dockerized macOS is quite unsupported, we use Linux Docker runners to build XCode project in Unity for iOS target, then compile and package them using fastlane on macOS shell runner.
I think this is a very common setup among Game CI users.

And there is very popular ads SDK AppLovin MAX Unity Plugin, whose installation and runtime working on iOS heavily depend on it's Postprocessing scripts.

They run them only if the pods were installed before: https://github.com/AppLovin/AppLovin-MAX-Unity-Plugin/blob/fcffcfb21b5f13b3476d626d34a221ad3c7d499a/DemoApp/Assets/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinPostProcessiOS.cs#L249

The problem is, EDM don't even try to run pod install on platforms other than macOS (

, cocoapodsToolsInstallPresent == false in
if (!CocoapodsIntegrationEnabled || !cocoapodsToolsInstallPresent) {
)

So, when we build Unity project on macOS, everything is OK, pods are installed by iOS Resolver in Unity, then AppLovinPostProcessiOS do it's XCode project changes.
But when we build Unity project on Linux Docker Game CI runner, who does have installed CocoaPods, iOS Resolver doesn't install pods, and AppLovinPostProcessiOS doesn't run.

Please, let iOS Resolver run pods install on platforms, other than macOS, too.

Activity

google-oss-bot

google-oss-bot commented on Jun 25, 2024

@google-oss-bot

This issue does not seem to follow the issue template. Make sure you provide all the required information.

changed the title [-][FR] Please, let iOS Resolver run `pods install` on platforms, other than macOS, too[/-] [+]FR: Please, let iOS Resolver run `pod install` on platforms, other than macOS, too[/+] on Jun 25, 2024
changed the title [-]FR: Please, let iOS Resolver run `pod install` on platforms, other than macOS, too[/-] [+][FR] Please, let iOS Resolver run `pod install` on platforms, other than macOS, too[/+] on Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @reflexing@google-oss-bot@argzdev

        Issue actions

          [FR] Please, let iOS Resolver run `pod install` on platforms, other than macOS, too · Issue #693 · googlesamples/unity-jar-resolver