fixed podspec and should work on both ios and os x