1. PROJECT中Build Settings中配置Code Signing Identity 選擇對應的應用程序的profie
2.TARGETS中Build Settings中配置Code Signing Identity 選擇對應的應用程序的profie
3.調試設備中選擇ios Device Xcode菜單中Product->Edit Scheme
4.Edit Scheme界面Archive欄 Build Configration選擇Release,並且勾選Reveal Archive in Organizer
5.然後Xcode菜單中Product->Archive 就能生成Archive 文件