update xcode project to build with framework

Signed-off-by: xiehuc <xiehuc@gmail.com>