fix IOS framework
Merge pull request #3062 from alalek:fix_ios_framework