adjust / ios_sdk

This is the iOS SDK of
http://www.adjust.com
Other
611 stars 284 forks source link

Integration the SDK via cocoapods #358

Open Beniamiiin opened 5 years ago

Beniamiiin commented 5 years ago

My application has two targets. Main app target and iMessage app target. I want to integrate the SDK to both targets. I tried to add ADJUST_IM to iMessage app target, but it doesn't help. What am I do incorrectly?

uerceg commented 5 years ago

Hi @Beniamiiin

Which error you are facing in this scenario?

Beniamiiin commented 5 years ago

@uerceg Hi. The SDK doesn't see ADJUST_IM macros when I start iMessage application.

uerceg commented 5 years ago

Interesting. Where did you set ADJUST_IM=1 preprocessor macro? Did you try adding it to Adjust target in Pods project?

Beniamiiin commented 5 years ago

Interesting. Where did you set ADJUST_IM=1 preprocessor macro? Did you try adding it to Adjust target in Pods project?

@uerceg I tried to add to my iMessage target, it didn't help. Also, I tried to add to Adjust target in Pods and it didn't work too. Because in this case, ADJUST_IM=1 macro execute in both targets - in main app target and in iMessage app target.