update podspec post_install hook to use library_representation