I'm using Xcode 4.2 and Three20 to create app that can be run on all iOS.
When I run the app on iPhone 3G having iOS 3.0,
I see a crash with the following message in the Debug Console:
dyld: Symbol not found: _OBJC_CLASS_$_UIPopoverController
Referenced from: /var/mobile/Applications/7AB01877-55F2-4A5F-A835-FF7849D6E285/Xcode4M.app/Xcode4M
Expected in: /System/Library/Frameworks/UIKit.framework/UIKit
I followed this this SO and fix the crash. Now I receive another crash with this message:
dyld: Symbol not found: _OBJC_CLASS_$_UISplitViewController
Referenced from: /var/mobile/Applications/7AB01877-55F2-4A5F-A835-FF7849D6E285/Xcode4M.app/Xcode4M
Expected in: /System/Library/Frameworks/UIKit.framework/UIKit
I tried to fix this crash with the same method, but not succeeded.
Do you know how to fix this?
Edit: (Add problematic code)
File: TTSplitViewController
@interface TTSplitViewController : UISplitViewController
<UISplitViewControllerDelegate, TTNavigatorRootContainer> {
@private
TTNavigator* _leftNavigator;
TTNavigator* _rightNavigator;
UIBarButtonItem* _splitViewButton;
id _popoverSplitController;
}