Generate .ipa file in Xcode 7.2 - swift

I had created an iOS application successfully. Now I want to generate an executable file (.ipa).
I know the following steps:
Product
archive
save ipa file
But my archive is disabled. Any ideas?

1.You need to connect to a real device.
2.Build not for emulator, build for real device.
3.Now you can see "archive"

Related

How to build signed Phonegap2.9 project for iOS

This is a project which use phonegap 2.9 for iPhone app. Now I use phonegap's build tool to build an .app file, But this .app file is not signed. What I want to know is:
Can I use phonegap's build tool to build a signed .app file?
More about my project:
I have to use command line to build my project.
I have tried to use xcodebuild with param CODE_SIGN_IDENTITY to build it, but is failed with <Cordova/CDVViewController.h> file not found message.
I need you help. Thansk a lot!
To publish the in apple store at first you need to build an ipa file.
To build ipa file you need to archive the project.
Archive can be found here:
Project>Archive. (Be sure to choose iOS device in Run option).
To carry out all these task you will need provision file from your developer account.
For more detail you can go through these links:
How to get ipa file from Xcode to run an iPhone app in real device?
Deploy .ipa file in App store generated by Phonegap?
Publish Phonegap Build App at Apple's App Store - Experiences?

Xcode can't build ipa file for iOS app. Instead builds .pkg

I want to export my iOS app as an ipa file for Testflight. For some reason only on this project there is no option to build an .ipa file. Instead I can only export it as a Mac OS X application. It runs fine on the simulator and on the real device.
I already tried recreating the Ad-Hoc Provisioning profile, but it didn't change anything.
Would be great if someone knows how to fix that.
Thanks in advance!
I use TestFlight a lot and I do this:
Take the .app and put it in a folder called "Payload", compress that folder to a .zip file, then change the extension of the file from .zip to .ipa (you will have Payload.ipa), and your file is ready for TestFlight.
This is the way I do it and it works.
I finally found a solution for this problem: I used the "Validate Settings"-button underneath the build settings. The only property Xcode changed for me was the deployment target from iOS 4 to iOS 5.

How can I run IPA file on non-jail break iphone

I am using IPA file for testing purposes ,but some times it gives following error "Signer not valid error" is it due to non jail break? or i have to use UDID
The UDID of the device must be included in the .mobileprovision file associated with the app.
You can add devices through the Apple Developer Portal, and then download the .mobileprovision file. Double-click on the downloaded file to notify Xcode about it, and then Build And Archive the project again. The ipa generated from that build will now work on all of the devices you added.

Format of applications submitted through Application Loader?

When I am using Application Loader to upload the app binary to the Apple do I submit a .zip file of my whole application or the .ipa file. I am confused about this process.
For iOS applications you just need to submit a zipped .app, the same .app generated by Xcode is enough, no need to put it into an IPA before archiving it.
For Mac OS X applications (Mac App Store), you need to submit the PKG generated by Xcode's Organizer Share/Save To Disk… command.
Alternatively, you can use the Build And Archive command and submit via the Xcode Organizer window… as another user points out.
If you have Xcode 3.2.5 then you can verify and upload your application through Organizer.
1.) Xcode -> Run -> Build and Archive
2.) Xcode -> Organizer -> Your Application (under Archives) -> Verify / Submit
Your app must already be setup and in waiting for upload mode in iTunes Connect.
I was able to create the archive in XCode 4, export as .ipa and upload that using Application Loader.
You have to submit a .zip file containing your Release build (the .app file inside the build/Release-iphoneos/ folder).
There are several options.
One that worked for me is to use the Finder to find and select the .app bundle, then use the Finder menu item to Compress this .app bundle. You can then select the resulting compressed file in the Application loader when your app is marked "Waiting for upload" in iTunes Connect.

I dont know how I can save project to ipa

Thank you
I learned a lot from this site
I have a question
I finished the application is running
webview
But I remain one step keeping the program
And send it to the iPhone to try it on two ipa
I want to save formulas ipa
Thank you
You can't just save an app as an IPA. Only if you submit it to the app store with a proper developer's license will they then distribute it in the store in that format
Running "Build and Archive" from the Build menu in Xcode will create an ipa file.
Stepwise Procedure to create an IPA file,
1.First of all,choose your device as IOS Device in Scheme near Breakpoint tab in Xcode.
2.In Xcode menu,Product->Clean and build your application.
3.If the provisioning certificate is not valid,it will lead to build failed with an error.If so you have to change it to a valid certificate through your project->build settings.Else if build succeeded just leave this step.
4.Then select Product->archive,it will create an archive file in Organiser->archives and open it up for you after archive finished.
5.choose share tab in Organiser followed by contents->.ipa and Identity->choose your valid distribution certificate and click next.
6.within a minute it will ask name for your IPA file to save.Give a name and save it in Desktop.
7.Open iTunes and drag and drop your IPA file in Library->Apps.
8.Now connect and select your Device in itunes->choose apps tab under it and sync your app ipa to the Device.It will install your IPA file to the device.
9.Thats all.Now you can run your App IPA file in your device.