Rich-text Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Optimizely iOS SDK 1.5.0 Bug
Becca 06-13-16

Optimizely iOS SDK 1.5.0 Bug
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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.
Solved! Go to Solution.
Re: Optimizely iOS SDK 1.5.0 Bug
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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!
Re: Optimizely iOS SDK 1.5.0 Bug
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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.

Re: Optimizely iOS SDK 1.5.0 Bug
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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.
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
Ted