Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Problem integrating AEP via CooaPods with Objective-C project

Avatar

Level 1

Hi --

I am attempting to integrate the AEP SDK into an objective-c project via cocoapods. 

 

Here is the Podfile

source 'https://github.com/CocoaPods/Specs.git'

 

 

platform :ios, '13.0'

use_frameworks!

 

target 'aep-prototype' do

    pod 'AEPCore'

    pod 'AEPAnalytics'

    pod 'AEPMedia'

end

I am unable to import any of the AEP SDK modules. I've tried both #import and @Import and various naming schemes with no success. For example, how would I import AEPAnalytics? I have tried 

#import <AEPAnalytics/Analytics.h> and XCode is unable to find it. Auto-complete shows "AEPAnalytics-umbrella.h" but that doesn't work either.

 

Thanks

Randy Weinstein

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor