Troubleshooting

Tips

  • If necessary, rename the project's main.m file to main.mm.

Error Messages

Unknown class SM3DARMapView in Interface Builder file.

SOLUTION:

Force the linker to load SM3DARMapView in the app delegate's application:didFinishLaunchingWithOptions: method.

- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
{    
    [SM3DARMapView class];

    // ...
}


'NSInvalidArgumentException', reason: '-[NSCFString md5HexHash]: unrecognized selector sent to instance

SOLUTION:

Add -all_load to the target's Other Linker Flags build setting.