iOS मीडिएशन के रनटाइम की गड़बड़ियां ठीक करना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अगर आपको ऐप्लिकेशन लॉन्च करने के बाद डाइनैमिक लिंकर से जुड़ी गड़बड़ियां दिखती हैं, तो आपको रनटाइम से जुड़ी ये गड़बड़ियां दिख सकती हैं:
dylib
dynamic framework
Library not loaded
no such file
इन गड़बड़ियों को ठीक करने के लिए, इन फ़्रेमवर्क को स्टैटिक तौर पर लिंक करें. इस गाइड में, iOS के लिए Unity ऐप्लिकेशन बनाने और इन फ़्रेमवर्क को लिंक करने का तरीका बताया गया है.
ज़रूरी शर्तें
जारी रखने से पहले, शुरू करें को पूरा करें.
फ़्रेमवर्क को स्टैटिक तौर पर लिंक करना
यहां दी गई टेबल में, डाइनैमिक फ़्रेमवर्क वाले विज्ञापन स्रोतों और अडैप्टर के उस कम से कम वर्शन की सूची दी गई है जो स्टैटिक लिंकिंग को अपने-आप मैनेज करता है. फ़्रेमवर्क को स्टैटिक तौर पर लिंक करने के लिए, अपने अडैप्टर को इस वर्शन या इसके बाद के वर्शन पर अपडेट करें:
विज्ञापन स्रोत |
अपने-आप स्टैटिक लिंक होने की सुविधा के लिए ज़रूरी कम से कम वर्शन |
AppLovin |
8.1.1 |
InMobi |
4.7.1 |
maio |
3.0.0 |
अडैप्टर के पुराने वर्शन का इस्तेमाल करने के लिए, यह तरीका अपनाएं. इस वर्शन में स्टैटिक लिंकिंग अपने-आप कॉन्फ़िगर नहीं होती:
नीचे दिए गए कॉन्टेंट के साथ Assets/GoogleMobileAds/Editor/iOSDynamicDependencies.xml
फ़ाइल बनाएं:
<dependencies>
<iosPods>
<!-- AppLovin adapter dependencies. -->
<iosPod name="AppLovinSDK" addToAllTargets="true"/>
<!-- InMobi adapter dependencies. -->
<iosPod name="InMobiSDK" addToAllTargets="true"/>
<!-- maio adapter dependencies. -->
<iosPod name="MaioSDK-v2" addToAllTargets="true"/>
</iosPods>
</dependencies>
अपने ऐप्लिकेशन पर लागू होने वाले विज्ञापन सोर्स के लिए, सिर्फ़ <iosPod>
एलिमेंट रखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[],[],null,["# Resolve iOS mediation runtime errors\n\nIf you encounter dynamic linker errors after app launch, you might encounter\nthe following runtime errors:\n\n- `dylib`\n- `dynamic framework`\n- `Library not loaded`\n- `no such file`\n\nTo resolve these errors, link these frameworks statically. This guide covers how\nto build the Unity application for iOS and link these frameworks.\n\nPrerequisites\n-------------\n\nBefore continuing, complete [Get started](/ad-manager/mobile-ads-sdk/unity/quick-start).\n\nLink frameworks statically\n--------------------------\n\nThe following table lists ad sources with dynamic frameworks and the minimum\nadapter version that automatically handles static linking. To link frameworks\nstatically, update your adapters to the following minimum version or higher:\n\n| Ad source | Minimum version for automatic static linking |\n|-----------|----------------------------------------------------------------------------|\n| AppLovin | [8.1.1](/ad-manager/mobile-ads-sdk/unity/mediation/applovin#version-8.1.1) |\n| InMobi | [4.7.1](/ad-manager/mobile-ads-sdk/unity/mediation/inmobi#version-4.7.1) |\n| maio | [3.0.0](/ad-manager/mobile-ads-sdk/unity/mediation/maio#version-3.0.0) |\n\n### Manually configure static linking\n\nTo use an older adapter version that doesn't automatically configure static\nlinking, do the following:\n\n1. Create an `Assets/GoogleMobileAds/Editor/iOSDynamicDependencies.xml` file\n with the following content:\n\n \u003cdependencies\u003e\n \u003ciosPods\u003e\n \u003c!-- AppLovin adapter dependencies. --\u003e\n \u003ciosPod name=\"AppLovinSDK\" addToAllTargets=\"true\"/\u003e\n \u003c!-- InMobi adapter dependencies. --\u003e\n \u003ciosPod name=\"InMobiSDK\" addToAllTargets=\"true\"/\u003e\n \u003c!-- maio adapter dependencies. --\u003e\n \u003ciosPod name=\"MaioSDK-v2\" addToAllTargets=\"true\"/\u003e\n \u003c/iosPods\u003e\n \u003c/dependencies\u003e\n\n2. Keep only the `\u003ciosPod\u003e` elements for ad sources that apply to your app."]]