Shahbaz Ali
07/09/2025, 6:10 AMPodfile
as follows:
pod 'Google-Mobile-Ads-SDK'
The pods are being installed successfully, and integration appears fine.
On the Android side, AdMob ads are working perfectly.
However, when I try to build the iOS app through Xcode, I encounter the following error:
Multiple commands produce '/Users/User_Name/Library/Developer/Xcode/DerivedData/iosApp-.../Build/Products/Debug-iphoneos/YourApp.app'
Here’s what I’ve tried so far:
• Cleaned project/invalidate caches in Android Studio
• Deleted DerivedData
folder in Xcode
• Ran pod deintegrate
and pod install
again
• Verified there are no duplicate entries for output paths or targets
But the issue still persists.
Has anyone faced a similar problem with Compose Multiplatform and CocoaPods (AdMob)?
Any advice or workaround would be greatly appreciated. Thanks in advance!tapchicoma
07/09/2025, 10:18 AMKonstantin Adamov
07/14/2025, 4:23 PMKonstantin Adamov
07/14/2025, 4:47 PMtapchicoma
07/14/2025, 5:37 PMAndrey Yastrebov
07/14/2025, 5:39 PMKonstantin Adamov
07/14/2025, 5:45 PMAndrey Yastrebov
07/15/2025, 10:54 AMAG
07/18/2025, 12:50 PMProduct Name
was missing from iosApp (KMP wizard didn't add that param and the name was .app
in project.pbxproj
), it can be fixed from Xcode -> Build Settings -> Product Name, after that everything was ok.Konstantin Adamov
07/18/2025, 5:38 PM