14

How to build and archive or archive only iOS application? I want to archive to .ipa file but cannot select "Product>Archive" or "Product>Build for>Build for Archive" menu (is disabled). I am using Xcode 4.1 on OS Lion. Have any special configuration to building with archive option I don't known?

Thanks in advance.

albertamg
  • 28,492
  • 6
  • 64
  • 71
anhduongt
  • 1,119
  • 2
  • 12
  • 17

1 Answers1

30

Please select device from target then simulator as -

enter image description here

saadnib
  • 11,145
  • 2
  • 33
  • 54