Underlying Objective-C module 'AEPServices' not found | Community
Skip to main content
New Participant
January 5, 2024
Solved

Underlying Objective-C module 'AEPServices' not found

  • January 5, 2024
  • 1 reply
  • 2752 views

Hello,
I'm trying to implement AEP Mobile SDK packages for react native but IOS build fails with :

  • underlying Objective-C module 'AEPServices' not found.
  • failed to verify module interface of 'AEPServices' due to the errors above; the textual interface may be broken by project issues or a compiler bug
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vrapcekrapce

Thanks for the quick reply,
I solved the issue adding following piece of code in the Podfile:

post_install do |installer| installer.pods_project.targets.each do |t| if t.name.start_with?("AEP") t.build_configurations.each do |bc| bc.build_settings['OTHER_SWIFT_FLAGS'] = '$(inherited) -no-verify-emitted-module-interface' end end end end

1 reply

Employee
January 6, 2024
vrapcekrapceAuthorAccepted solution
New Participant
January 8, 2024

Thanks for the quick reply,
I solved the issue adding following piece of code in the Podfile:

post_install do |installer| installer.pods_project.targets.each do |t| if t.name.start_with?("AEP") t.build_configurations.each do |bc| bc.build_settings['OTHER_SWIFT_FLAGS'] = '$(inherited) -no-verify-emitted-module-interface' end end end end