Rich-text Reply

Optimizely iOS SDK 1.5.0 Bug

Becca 06-13-16
Accepted Solution

Optimizely iOS SDK 1.5.0 Bug

Hello,

 

There seems to be a bug in the latest version of the iOS SDK that's causing a warning: "Umbrella header for module 'Optimizely' does not include header 'OptimizelyDimension.h'"

 

With release builds set to fail on warning, this will prevent builds from being created.  Is there a ticket open for this issue?  Any ETA on a fix?

 

Thanks.

Level 1

mauerbac 06-14-16
 

Re: Optimizely iOS SDK 1.5.0 Bug

Hello Becca,

 

Dimensions have been deprecated in favor of attributes -- You should import the OptimizelyAttribute.h instead. If you want to remove the warning, you can add #import OptimizelyDimension.h to the Optimizely.h file, but this is a known warning that we generate because the Dimension class is deprecated. 

 

Hope this helps!

Optimizely
Becca 06-15-16
 

Re: Optimizely iOS SDK 1.5.0 Bug

Hi @mauerbac - I'm not importing or using OptimizelyDimension.h directly though. I'm just doing #import <Optimizely/Optimizely.h> to use the handleOpenURL method.
Level 1
tedroddy 06-15-16
 

Re: Optimizely iOS SDK 1.5.0 Bug

Becca,

This is a bug that we intend to fix in the next release. Even if you aren't importing or using OptimizelyDimension.h direct, the warning occurs because we are not importing it in our headers. The workaround Matt suggested should work for you in the meantime until we fix this in the next release. Importing OptimizelyDimension.h within the Optimizely.h file should eliminate the warning.
Best,
Ted
Optimizely