Convert targetType from NSString to GTObjectType.