fix apple packaging