ios – Xcode construct fails with ‘SwiftVerifyEmittedModuleInterface failed with a nonzero exit code’ after including Google-Cellular-Adverts-SDK 11.10.0

0
13
ios – Xcode construct fails with ‘SwiftVerifyEmittedModuleInterface failed with a nonzero exit code’ after including Google-Cellular-Adverts-SDK 11.10.0


I am engaged on an iOS app utilizing CocoaPods for dependency administration. After including the next pod:

pod 'Google-Cellular-Adverts-SDK', '~> 11.10.0'

and operating pod set up, I get this error when attempting to construct my undertaking in Xcode:
Command SwiftVerifyEmittedModuleInterface failed with a nonzero exit code

What I’ve tried:

  1. Cleaned the undertaking (Cmd + Shift + Okay)
  2. Deleted DerivedData (rm -rf ~/Library/Developer/Xcode/DerivedData)
  3. Reinstalled pods (pod deintegrate && pod set up)
  4. Checked my Xcode model 16.2 (16C5032a)
  5. Tried rebuilding the undertaking
  6. Eliminated Google-Cellular-Adverts-SDK from the Podfile and reinstalled pods,
    however the error nonetheless persists.
  7. Set SWIFT_VERIFY_EMITTED_MODULE_INTERFACE and
    SWIFT_EMIT_MODULE_INTERFACE to NO in my post_install script, however the
    subject stays.

Atmosphere:

  • Xcode model: 16.2 (16C5032a)
  • macOS model: 15.2
  • Swift model: 6.0.3
  • Google-Cellular-Adverts-SDK model: 11.10.0

Right here is my podfile

# Uncomment the following line to outline a worldwide platform on your undertaking
platform :ios, '14.0'

goal 'Voice Recorder' do
  # Remark the following line in case you do not wish to use dynamic frameworks
  use_frameworks!

  # Pods for Voice Recorder
  pod 'lottie-ios'
  pod 'Firebase/Analytics'
  pod 'Firebase/Core'
  pod 'Firebase/Crashlytics'
  pod 'Firebase/RemoteConfig'
  pod 'TPInAppReceipt'
  pod 'Google-Cellular-Adverts-SDK', '~> 11.10.0'

finish

post_install do |installer|
  installer.pods_project.targets.every do |goal|
    goal.build_configurations.every do |config|
      config.build_settings['SWIFT_VERIFY_EMITTED_MODULE_INTERFACE'] = 'NO'
      config.build_settings['SWIFT_EMIT_MODULE_INTERFACE'] = 'NO'
    finish
  finish
finish

Has anybody encountered this subject earlier than, or is there one thing else I ought to strive? Any assist could be appreciated!

LEAVE A REPLY

Please enter your comment!
Please enter your name here