Skip to content

AppLovinAdapter Fails to Build for Simulator (Missing libAdapter.a Output, ScanDependencies Error) #500

@avadesh-kumar

Description

@avadesh-kumar

Hi Ads SDK team,

We are currently unable to build the AppLovin mediation adapter for iOS from source for the simulator target, using the official mediation repository. The issue persists even after following all standard procedures and applying known workarounds.

🧪 Observations:
• Device (iphoneos) build works correctly — libAdapter.a is produced and functional.
• Simulator (iphonesimulator) build fails consistently, preventing us from generating a valid .xcframework.

❌ Build Error:
ScanDependencies /Users/avadesh.kumar/Library/Developer/Xcode/DerivedData/AppLovinAdapter-gumiqitjrdgoklfftaftsjpyeqrz/Build/Intermediates.noindex/iphonesimulator/AppLovinAdapter.build/Debug-iphonesimulator/Adapter.build/Objects-normal/arm64/GADMAdapterAppLovinExtras.o /Users/avadesh.kumar/Downloads/googleads-mobile-ios-mediation-main\ 2/adapters/AppLovin/AppLovinAdapter/GADMAdapterAppLovinExtras.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Adapter' from project 'AppLovinAdapter')
(24 failures)
fatal error: lipo: can't open input file: /Users/avadesh.kumar/Library/Developer/Xcode/DerivedData/AppLovinAdapter-gumiqitjrdgoklfftaftsjpyeqrz/Build/Products/Debug-iphonesimulator/libAdapter.a (No such file or directory)

✅ Steps Already Tried:
1. Clean builds + DerivedData and ModuleCache clearing
2. Testing on Xcode 15.3, 16.0, and 16.2
3. Building from both latest and older snapshots of the mediation repo
4. Using patched AppLovinSDK-Swift.h to allow simulator architectures (x86_64, arm64)
5. Adding ENABLE_PRECOMPILE_MODULES=NO and ensuring CLANG_ENABLE_MODULES=YES
6. Successfully built MetaAdapter and other networks in the same project/environment

ℹ Mediation Adapter: AppLovinAdapter
Source: https://github.com/googleads/googleads-mobile-ios-mediation (latest + archived versions tested)
AppLovin SDK: v13.3.1
GoogleMobileAds SDK: v12.6.0
Build Tool: Xcode 16.2
Hardware: Apple Silicon (M4 Max), macOS Sequoia 15.5
Other Adapters: MetaAdapter builds successfully for both simulator and device from the same mediation repo

Attaching the full Xcode logs: XcodeLogsBuildingFramework.txt

Please let us know if there’s an internal known issue, or if official support for simulator builds is currently limited for AppLovin.

Thanks
Avadesh Kumar

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions