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

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.

Related

Generate .ipa file in Xcode 7.2

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"

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?

Cannot install .ipa created from Xcode 4.5

I'm developing my application in xcode 4.5 and i want to create the .ipa file to transfer the project in to client's device. But unfortunately I can't install it in device. Giving a pop up says "Cannot install".
i have created the ipa and installed it from xcode 4.0.2. So i know the process. I thinks i have given correct provisionning profile too. Is there any reason or anyone can give me a tutorial on this in xcode 4.5?
Did you build the app with an ad-hoc distribution profile that includes the client's device UDID?
Alteratively, use Testflight which works extremely well for this sort of thing.
for replies. i found the solution in entitlements.plist file thr is a property called
get-task-allow. i had to set it to NO.
Tht wat happed with xcode 4.5.
Thank you
Assuming the ipa is correct, is the client's device running an OS supported by the ipa (check deployment target of your project)?
What do you see in the Xcode Organizer console for the device as you perform the install? There is likely an error message in the console that will give you a clue.
Are there any unsafe characters in the .ipa filename? I had a case once where iTunes was installing the app and changing the .ipa filename to be the app name. Well, the app name had a '/' in it, and that doesn't work so well in filenames. The console showed me the error as it occurred.
If you aren't installing with the device connected to Xcode, you can use the iPhone Configuration Utility to watch/record the console on a remote machine.

Where does the compiled .ipa reside when I compile and deploy the app for the iOS simulator from Xcode?

I'd like to be able to pass around the version of my iphone application that was compiled for the simulator. The idea here is to be able to give copies of the app to different vms where they would deploy the app to the iOS simulator and run some tests.
But after I compile the app for the iOS simulator, I can't find the darn *.ipa. Does anyone know where it resides?
There’s no .ipa—Xcode copies the .app bundle by itself into the simulator. You can check:
~/Library/Developer/Xcode/DerivedData/YourProject-<some garbage>/Build/Products/Debug-iphonesimulator/
(swap Debug for Release if you’re looking to distribute a release build, obviously), or, alternately, get the version that’s actually installed in the simulator from:
~/Library/Application Support/iPhone Simulator/<OS version>/Applications/<some UUID>/.
You can copy that app bundle into another simulator by creating an arbitrarily-named folder in the above Applications directory and placing the .app inside it.
You can see where it is putting your build products by looking on:
Xcode Menu-> Preferences-> Locations
Or if you have project Specific settings they will be found by looking on
Xcode Menu-> File-> Project Settings
I think it builds the ipas from the products in those locations and loads them into the simulator. So you might not find an actual .ipa there you find .app in these locations.
If you want an ipa. Do an Archive build.
Do an Ad Hoc distribution and save the resulting .ipa to your desktop.
have you already tried the following location???
Library/Developer/Xcode/DerivedData

Can't upload application from Application Loader

I finished work on an iPhone app in MonoDevelop and got a distribution provision from Apple. In the Release|iPhone build of MonoDevelop I set the 'Iphone App Bundle Signing' option to use the distribution user/provision and I built the app.
It created a .app in the bin/release folder. I tried uploading it using the application uploader but it wouldn't let me select the .app I had just built (it was greyed out)
Any ideas why that might happen?
I believe that the Application Loader only accepts zip files. Have you zipped up your app bundle?
Double Click 'Deliver your app', then you should be able to select the .ipa which is different than a template.
you have to create an .ipa file. take a look a this: MonoTouch Enterprise - Deployment