can't product archive xcode code example Example: xcode archive disabled Change the active scheme Device from Simulator to Generic IOS Device