use int rather NSInteger
fixing error convetion in podspec