add sdimage coccoapod, optimized code

.