Removed unnecessary UIPopoverController hack that will cause exceptions in the future.
Removed obsolete build setting.
Fixed warning from NSAssert.