publish: Fixes for ios

generated from commit 1962e1688c70745050a36354e58c2cd44bf63c6e