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

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

Open
reflexing opened this issue Jun 25, 2024 · 1 comment

Comments

@reflexing
Copy link

reflexing commented Jun 25, 2024

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.

@google-oss-bot
Copy link

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

@reflexing reflexing 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 Jun 25, 2024
@argzdev argzdev removed the new to be triaged label Jun 25, 2024
@reflexing reflexing 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 Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants