iOS 미디에이션 런타임 오류 해결
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
앱 실행 후 동적 링커 오류가 발생하면 다음과 같은 런타임 오류가 발생할 수 있습니다.
dylib
dynamic framework
Library not loaded
no such file
이 오류를 해결하려면 이러한 프레임워크를 정적으로 연결하세요. 이 가이드에서는 iOS용 Unity 애플리케이션을 빌드하고 이러한 프레임워크를 연결하는 방법을 설명합니다.
기본 요건
계속하기 전에 시작하기를 전체적으로 읽어보세요.
프레임워크 정적 연결
다음 표에는 동적 프레임워크가 있는 광고 소스와, 정적 연결을 자동으로 처리하는 최소 어댑터 버전이 나와 있습니다. 프레임워크를 정적으로 연결하려면
어댑터를 다음과 같이 최소 버전 이상으로 업데이트하세요.
정적 연결이 자동으로 구성되지 않는 이전 버전의 어댑터를 사용하려면
다음 단계를 따르세요.
다음 콘텐츠로
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 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 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."]]