Fixing possible iOS problems

When linking statically, register prims complains as a linker error,
And the two new frameworks were required in the PROJ file