make AssetsManager work on iOS
Merge pull request #2186 from minggo/test-before-release

make AssetsManager work on iOS