[DF-5356] curl build script and read foe iOS and MacOS