Michal Klimczak
11/29/2025, 9:57 AMMichal Klimczak
11/29/2025, 10:05 AM./gradlew :shared-cmp:embedAndSignAppleFrameworkForXcode . As part of that it runs :shared-cmp:podBuildGoogle-Maps-iOS-UtilsIosSimulator. Whenever it runs cleanly (so from scratch, with no cache of this task) it fails with an error that looks like this.
...
Showing Recent Messages
> Executing of 'xcodebuild -project Pods.xcodeproj -scheme Google-Maps-iOS-Utils -destination generic/platform=iOS Simulator -configuration Debug' failed with code 65 and message:
...
** BUILD FAILED **
The following build commands failed:
CreateBuildDescription
Building project Pods with scheme Google-Maps-iOS-Utils and configuration Debug
(2 failures)
It only happens:
A) for clean builds, e.g. if I gradle sync from android studio first it runs the pods and then cache is used
B) More importantly, only for Debug ios builds, Release work fine
C) Only when running it from xcode. All those commands (gradle and the underlying xcodebuild) work fine when run from command line or android studio or whatever. This inception might be confusing for xcode, I guess. Xcode -> gradle -> xcodebuild.
Anyway, is there a right way of running xcode projects with cmp maps via cocoapods? Anyone stumbled upon sth similar?