My manager had a Apple developer account, and he added me in his account as a Developer role. Now i have to give him an IPA file. Is it possible for me to generate an IPA file by just signing in with my Apple ID(not a developer account) in Xcode 7..??
I have tried this, but its showing me as FREE role in Preference instead of developer role. Also export button is not enabled after archive is done.
Yes, In xcode 7 above there is no opting for export ipa. But we can do some other ways to generate iPa file.
Follow the below steps:
Select product --> Archive option
And right click on WifiList and select Show in Finder
It will open folder and then right click on folder option "Show Package Contents"
Now you can on file then you can drag and drop on iTunes.
Drag and drop desktop.
I hope, It will help you.
I want to send an app I wrote to a friend but I can't find answers on how to extract the .app file in XCode 7 or 8. Is there a way to do this?
Once the app is able to run. Choose the "Archive" option from the "Product" menu in xcode. When it's done, open the Organizer window and click the "Archive" tab. Click the build you want (should be the top one) and then click the "Export" button on the right side. You will probably want Ad Hoc deployment or Development Deployment. This will export an IPA file to your hard drive. You can mail it to your friend who can load it with iTunes.
It's easier if you have a dev account, you can register other test devices. Look here for details when you have no dev account;
Test iOS app on device without apple developer program or jailbreak
For Xcode 8.x
Click on Window tab -> Organizer
Right click the archive you need to get the .app file from (do not right click on the Name text as that will edit the text)
Show in Finder
Right click on the .xcarchive file that is selected -> Show Package Contents -> Products -> Applications
There's your file
You can hit command+i to make sure it's a .app file if the extension is hidden!
When I upload to Application Loader I receive the following message:
ERROR ITMS-90174: "Missing Provisioning Profile - iOS Apps must contain a provisioning profile in a file named embedded.mobileprovision."
I have this contained in my app folder. When I compress no matter how obvious I make the provisioning profile, I receive this error trying to upload my app for Apple.
If you are using Ionic / Cordova like I am see this announcement...
https://github.com/apache/cordova-ios/issues/407
It's just one setting, then re-run your Archive to Submit to the Apple Store like normal.
Go to "File" > "Project Settings..."
then select "Legacy Build System"
To upload a archive to AppStoreConnect I had to change the default build system in xcode10 within "File > Project / Workspace Settings" and change it to the Legacy Build system.
This worked for me
Access https://developer.apple.com/account
1 - Certificates, IDs & Profiles
2 - Provisioning Profiles
3 - Distribution
4 - Add Button
5 - Distribution -> App Store -> Continue
6 - Choose Apple Id -> Continue
7 - Select certificates -> Continue
8 - Set Profile Name -> Continue
9 - Download
10 - In Xcode -> Product -> Archive, In Re-sign "App Name" make option Manually manage signing -> choose the Distribution certificate and import your provisioning profile downloaded on step 9.
Sorry for my English, I'm from Brazil
If you submit your build to the AppStore in an IPA archive format (example: Game.ipa), make sure that the Payload folder is at the root of the archive, otherwise you'll get the error: Missing Provisioning Profile - - Apps must contain a provisioning profile in a file named embedded.mobileprovision.
in .plist add
Application requires iPhone environment , Yes !
I tested this , really worked !
I've faced same problem and solved by following below points.
For our clarification, please re-download your distribution provisional profile.
Please make sure you are generating ipa by setting "Generic iOS Device" in xcode.
Clean and build your project.
Place your product file in "Payload" folder and compress this folder and change .zip to .ipa
Now upload your ipa. It worked for me.
Hope this helps.
For those that are using the command line to build, and were using the flag (UseModernBuildSystem=0) to avoid this problem, seems that since the release of package cordova-ios 5.0.0, it's no longer needed. So if you update your Ionic / Cordova App dependency, will work normally.
I can confirm your solution works. To summarize the hacks so far:
1. While building, we need to do (if using ionic) ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
2. When you open it in Xcode, you can continue using "Automatic Sign" for the project, but when you upload the archive to App Store (for TestFlight or App Store) , you need to select "manually manage signing". When you select manual signing you will see there is no associated provisioning profile (huh...) so select one, and the right distribution profile.
I've managed to upload and distribute successfullly.
To locate the embedded provisioning profile in the app binary:
In Xcode, select your project in the project navigator.
Click the disclosure triangle next to the project to reveal the contents.
Click the disclosure triangle next to Products to reveal the binary.
Control-click the binary file, and choose “Show in Finder” from the shortcut menu to go to the Xcode build location in the Finder.
In the Finder, Control-click the binary file, and choose Show Package Contents from the shortcut menu.
For iOS apps, a provisioning profile called embedded.mobileprovision appears in the Finder window.
For Mac apps, the embedded file is called embedded.provisionprofile.
To verify the entitlements of the embedded provisioning profile
Launch Terminal (located in /Applications/Utilities), and enter this text (do not press Return):
security cms -D -i
In the Finder, drag the provisioning profile in the app binary to Terminal.
Press Return.
This command outputs a property list in XML format.
If you don't have an embedded.mobileprovision file, that seems to be the problem and you probably did not build the app properly for app store distribution.
I redid the 'Upload to App XStore..." and it worked the second time.
I downloaded the latest Xcode 6.1 and with having my client's provisioning profile/certificate, I tried to build IPA file for them (for ad-hoc deployment) but in the new Xcode 6.1 when you start archiving, it tries to connect to my apple developer account and since my client's App Id doesn't exist, it says:
Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues: An App ID with identifier 'com.myclient.something' is not available. Please enter a different string.
I used to do the same thing in Xcode 5.1.1 and I could archive and create the IPA file for my client with their provisioning profile. DO you know guys how can I build the IPA file for their in-house distribution in Xcode 6.1?
Thanks in advance,
Cam
Locate your .xcarchive file. Right click on it and select Show Package Contents. In the Products/Application folder you will find your app. Drag it onto the iTunes. iTunes will add it to the Applications tab. Go to the Applications tab in iTunes. Right click on your app and select Show In Finder. There you have your .ipa file
I've added my iOS app to iTunes Connect and is currently trying to upload the binary using Application Loader. In the iTunes Connect Developer Guide is seems that they are uploading a zip file. Should I just make a zip of my complete project or what are they excepting?
You should upload the binary through Xcode.
It's a good idea to do a clean build first (Clean All Targets), and I usually delete my Build/ directory as well. Then do Build/Build and Archive. Make sure you have a device connected when you do this, and that the app is not in debug mode. Then open the Xcode organizer and select the binary to upload. That's all there is to it. You do not have to zip the files manually.
Here is step by step procedure to submit directly from xcode,
Just goto edit scheme > Archive > select Release.
Change your profiles to distribution (ios app store).
Select ios Device.
Goto Product> Archive
After completion goto Organizer
Select the Archive and click Distribute
Select Submit to iOS AppStore
Login
Select app, it will be showing app that has ready for upload status
Select profile.
Here you go.
Cheers
You should zip your *.app file.