Optimizely iOS SDK 1.5.0 Bug
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?
Solved! Go to Solution.
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!
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.