Redefinition of module 'AEPMobileServices' | Community
Skip to main content
Level 2
December 9, 2021
Solved

Redefinition of module 'AEPMobileServices'

  • December 9, 2021
  • 1 reply
  • 4698 views

Hi,

We are trying to add the AEPMobileService.xcframework along with bunch of other frameworks to our xcode project. We are not using any dependancy manager to add frameworks in the project, we are adding them manually.
As soon as we add the frameworks and try to build the app we get the error: Redefinition of module 'AEPMobileServices'

We are using xcode 12.4 and our project is mix of swift and objective-C

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 cdhoffmann

@nimashajain I am still struglling with the issue, I have veriefied my intigration again as per @cdhoffmann 's suggestion but not able to fix the issue yet. Can i get some more help to fix it?


@satmat For further help debugging please reach out to customer support here: http://helpx.adobe.com/marketing-cloud/contact-support.html

 

Thank you.

1 reply

Adobe Employee
December 9, 2021

Hi,

You can try downloading the XCFramework manually from https://github.com/Adobe-Marketing-Cloud/acp-sdks/tree/master/iOS/AEPMobileServices/AEPMobileServices.xcframework. Let us know if you still face issues.

SatMatAuthor
Level 2
December 10, 2021

Hi Spoorthi,

I tried that and now I am getting error Redefinition of module 'ACPMobileServices', Please help.

Also it confuses me that what frameworks i should use ACP or AEP, I want to add the swift frameworks so I have added AEPframeworks. Help me if i am doing anything wrong

Adobe Employee
December 13, 2021

Hi. Could you upload a screenshot of the following:
1. The full error message from Xcode

2. The initialization code in your AppDelegate a long with the imports

 

Thank you.