-
Notifications
You must be signed in to change notification settings - Fork 35
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
XCode project fails to be exported in Unity with recommended ExternalDependencyManager settings when using Firebase libraries #290
Comments
Hi @YevhenParfonov , you may need to add |
Hello, santoshbagadi!
Thanks, |
Hello, we have similar issues here. When disabling
When enabling |
I manage to get it working by running |
We have updated our plugin (v6.4.3) to be able to work with the default EDM settings. |
MAX Plugin Version
5.11.4 (Unity)
Unity Version
2021.3.20
Device/Platform Info
Unity Editor, during exporting XCode project
Current Behavior
Hello!
I've got a project where i use Applovin SDK and some Firebase modules. Following the iOS integration documentation, i've got a problem with documented settings of ExternalDependencyManager.
As it's stated in docs i should disable two options in dependency manager:
Add use_frameworks! to Podfile
Always add the main target to Podfile
If doing so, the XCode project wont be exported telling me that:
During my research, i've found this issue: #252
In the end, there is a suggestion to add the Unity postprocessor which will append the
use_modular_headers!
line to the exported project podfile.After doing so i've managed to export the XCode project. But new problem appears - if i try to compile it, it gives me this error:
After some experiments (and info from this issue), i've decided to try to turn on the
Add use_frameworks! to Podfile
option in DependencyManager and removed the postprocessor that adds theuse_modular_headers!
line.After doing so i was able to export the XCode project and compile it successfully and launch the app without any crash. Inspecting the builtin Applovin manager debugger i can see that all mediation networks are active and some ads are displaying.
So I wanted to ask if enabling this
Add use_frameworks! to Podfile
option in DependencyManager could lead to some hidden unexpected problems in the application later?PS
Btw, if i enable both the
Add use_frameworks! to Podfile
andAlways add the main target to Podfile
options, i could export the XCode project and compile it, but it crashes on startup with these error:Regards,
Yevhen
Expected Behavior
I should be able to export valid and working XCode project using the settings of iOS DependencyManager stated in documentation.
How to Reproduce
Add use_frameworks! to Podfile
Always add the main target to Podfile
5.1) Optionally: mb other mediation parters also influence the problem
- AdColony
- BidMachine
- ChartBoost
- Criteo
- CSJ
- Facebook
- AdMob (20.3.0.0 Android and 10.12.0.0 iOS)
- InMobi
- ironSource
- LINE
- Mintegral
- MobileFuse
- Nend
- Smaato
- Tencent
- Pangle
- Unity Ads
- Verve
- Liftoff
Additional Info
No response
The text was updated successfully, but these errors were encountered: