Integrate
Last updated
Was this helpful?
Last updated
Was this helpful?
Version 2.7.2
Release Date : 2025/04/03
2025년 4월 24일부터 앱 스토어 커넥트에 업로드하는 앱은 Xcode 16 이상 버전을 사용하여 빌드해야 합니다.
ADX iOS SDK 2.7.1 버전부터, iOS 앱 프로젝트의 info.plist 파일에 "AppLovinSdkKey" 키가 포함되어 있으면 앱 실행 후 아래의 에러 메시지가 Xcode 콘솔에 출력되고 비정상 종료가 발생하므로 제거해야 합니다. [AppLovinSdk] ERROR [ALSdk] Invalid initialization process: please remove the AppLovinSdkKey entry from your Info.plist and set your SDK key with the ALSdkInitializationConfiguration object. Then initialize the SDK as soon as possible with -[ALSdk initializeWithConfiguration:completionHandler:] before accessing any SDK fields or APIs.
1) 프로젝트의 Podfile
을 열고 아래 내용을 추가합니다.
2) 아래 명령어를 사용하여 라이브러리를 설치하고, 파일 확장자가 .xcworkspace
파일을 찾아 열기합니다.
1) 프로젝트의 Bulid Settings에서 Enable Bitcode
를 No
로 변경합니다.
2) XCode > Build Settings > Ohter Linker Flags 에서 "-all-load" 또는 "-force_load" 플래그를 사용하여 빌드 할 경우, 심볼 중복 (Symbol Duplicate)가 발생할 수 있습니다. 이 경우 "-ObjC" 플래그로 변경하십시오.
3) 빌드 타겟 선택 후 > Build Settings > Framework Search Paths 에서 "$(inherited)" 값이 추가 되어 있는지 확인하고 추가되어 있지 않다면 관련 라이브러리를 찾을 수 없다는 빌드 에러가 발생할 수 있으므로 반드시 추가해주십시오.
Info.plist
파일에 GADApplicationIdentifier
키와 발급된 AdMob APP ID를 추가합니다.
GADApplicationIdentifier
를 추가하지 않으면 다음 메시지가 Xcode 콘솔에 표시되며 앱이 비정상 종료됩니다.
The Google Mobile Ads SDK was initialized incorrectly.
<key>GADApplicationIdentifier</key> <string>ADMOB_APP_ID</string>
iOS 14+ 이상 지원하는 경우 를 적용해야 IDFA (Identifier for Advertisers) 식별자를 얻을 수 있습니다. 자세한 방법은 아래 링크를 참고해주십시오.