fix ios encDemo build
Merge pull request #601 from volvet/fix-ios-build

fix ios encDemo build