# Unity: build iOS podfile dependencies ###### tags: `unity` `ios` `pod` `dependency` 1. Install EDM4U (External Dependency Manager) [1] 2. Add SomePlugin.xml in path `SomePluginFolder/Editor/` SomePlugin.xml Example ``` <?xml version="1.0" encoding="UTF-8"?> <dependencies> <androidPackages> <androidPackage spec="com.android.support:support-annotations:28.0.0" /> <androidPackage spec="com.facebook.android:audience-network-sdk:5.10.1" /> </androidPackages> <iosPods> <iosPod name="FBAudienceNetwork" version="~> 5.10.0" /> <iosPod name="Helpshift" version="7.7.1-withCampaigns"> <sources> <source> https://github.com/CocoaPods/Specs </source> </sources> </iosPod> <iosPod name="SQLCipher" version="4.2"> <sources> <source> https://github.com/CocoaPods/Specs </source> </sources> </iosPod> </iosPods> </dependencies> ``` 3. Build 4. Check Podfile in the output folder ``` source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' target 'Unity-iPhone' do pod 'FBAudienceNetwork', '~> 5.10.0' end ``` github example repo: https://github.com/bigyo-fourdesire/testPodfile Ref: 1. googlesamples/unity-jar-resolver: https://github.com/googlesamples/unity-jar-resolver 2. [How to manage your native iOS and Android dependencies in Unity like Firebase](https://medium.com/firebase-developers/how-to-manage-your-native-ios-and-android-dependencies-in-unity-like-firebase-921659843aef) by Patrick Martin @ Medium