"Archive" is greyed out?
I would like to archive my application, but the Archive option is greyed out. What could cause this?
You have to select the device in the schemes menu in the top left where you used to select between simulator/device. It won't let you archive a build for the simulator.
Or you may find that if the iOS device is already selected the archive box isn't selected when you choose “Edit Schemes” => “Build”.
see the picture. but I have to type enough chars to post the picture.:)
As the other answers state, you need to select an active scheme to something that is not a simulator, ie a device that's connected to your mac.
If you have no device connected to the mac then selecting "Generic IOS Device" works also.
链接地址: http://www.djcxy.com/p/35374.html上一篇: 在Xcode 4中重命名项目
下一篇: “档案”是灰色的?