split podspec into arc/non-arc subspecs