I've created a Ad Hoc distribution profile with a couple of devices. If I want to add a couple of devices to the profile, I have to create a new profile and a build in XCODE for my app with the assigned profile.
Is there a way to make this easier? A way to make the management of the devices more simple? Without rebuilding and redistributing the app.
I hope someone can help.
You can't change the list of devices an ad-hoc app will work on without at least re-signing with xcode and redistributing the app. Sorry! I suppose Apple feel it opens up non-appstore distribution methods if you can add devices to an app already out there.
In fact you can!!
You don't have to recompile your project again. You don't even have to open XCode.
All you have to do is create a new mobileprovision file and distribute it with the existing app.
Your end users have to download and install the new mobileprovision file and app, by this order.
Here is a step-by-step.
Hugo MaurĂcio
Related
I have been developing Mac App Store and iOS apps for several years now. I don't event want to know how many hours, days or weeks (?) I spend by solving provisioning problems...
One of my Mac apps targets OS X 10.7+. While everything works fine in genereal, after the last update some users reported problems when using the app on 10.7. Other OS X version work fine.
In the past, I simply cloned the project from my developing computer (iMac) to my MacBook running the specific OS X version. I then opened the project in Xcode, ran it and check what the problem was. This is far to easy for Apple, since this not possible any more.
The project only compiles (due to several reasons) in Xcode 7+ only. Xcode 7 runs on 10.10+, thus testing on 10.7 is not possible.
I have been trying to build/export the app to test it on my MacBook the whole day without any success. The app simply does not start on 10.7 on my MacBook. Of course the MacBook is a registered devices, included in my provisioning profiles, etc.
This is my workflow:
Removed all App Store specific entitlements from the app in Xcode/Target/Capabilities
Created new wildcard certificates and provisioning profiles that does not include any App Store specific entitlements
Selected the new profiles in Xcode/Target/Build Settings/Code Signing
Run Product/Archive
In Organizer select the Archive and click on Export
Here I tried several different combination (signing, no signing, etc.). No matter if I choose Export a Developer-Signed Application or Export as a Mac Application the result is always the same.
When I copy the created App file to my MacBook und start it nothing happens. The icon flashes once and this is all. Only the Console gives I hint about the Problem:
killed com.mycompany.myapp because its use of the com.apple.developer.team-identifier entitlement is not allowed.
Great... As explained I removed all entitlement from the app and from the profiles. Where the hack does this entitlement come from and how do I get rid of it?
Is there no way to test the App with all its features (== all entitlement) on another device?
I should have answered my own question earlier. Back in January I was somehow able to get the app running on my other Mac. Now I had to solve the same problem and it took some time to dig out the correct solution again.
So, maybe this will help others to solve the same problem. At least it will help my future-me to remember what has to be done :-)
Archive the app just as you would prepare the app to be submitted to the App Store.
Switch to the Organizer and select the just created archive
Select Export... instead of Upload to App Store...
Select Export a Developer ID-signed Application(second option). DO NOT select Export a Development-signed Application (third option). Actually I have no idea what's the difference is, but only the first one works...)
Click Next and the Organzier will fetch provisioning information from your dev account. DO NOT select the fetched provisioning profile but select Use local signing assets from the dropdown box instead
Click Choose and Export in the next step.
Done
Good luck and happy app signing...
When I try to validate my build using xcode 6 GM release I am getting this error.
Error : itunes store operation failed no eligible software found. Make sure this software is owned by your developer organization.
Can anybody here suggest some solution?
Probably you're using a different AppleID for iTunes Connect than for Developer Portal. You can use such a workaround:
Export archive in Organizer (Save for iOS App Store Deployment) and then use Application Loader (Xcode > Open Developer Tools > Application Loader) to upload it to iTunes Connect. It allows you to input credentials
Try using application loader. I had the same issue with Xcode and using the loader worked for me.
I had this same issue and it resolved by making sure it logged in with the correct account.
When the modal dialog asks to select a "Development Team to use for provisioning"
Choose "View Accounts..." make sure the correct account shows in the "Apple IDs" list.
If the Apple ID is not there, use the plus sign to add a new Apple ID account.
Close the Accounts screen.
On the "Development Team to use for provisioning" use the drop down to select the account you just added, select Choose and then Validate and it will work.
I had this problem too and as some commenters point out, the reason was the different Apple ID used on itunesconnect vs. xCode.
I was able to solve it on xCode adding my itunesconnect Apple ID on xCode preferences and making sure it is selected during validation. The right team was not enough for me, it has to be the right team on right account.
I'd recommend ensuring that the account in question has been invited as both the apple developer and iTunesConnect account. This should resolve the problem. You may have to go into Preference in Xcode and re-add the account.
That happened to me with many projects , so just try to re choose your provisioning profile and code signing identity in the build settings for your project
Try using Xcode6. Xcode6.1 GM seed's iOS SDK version is now beta 8.1. You can't submit a beta binary to iTunes Store.
I'm developing iOS apps and I'd like to share my apps with TestFlight testers. This is not the problem and works fine (via email). However, when I'm uploading a new build, I'd like to have in-app updates.
The SDK describes this as being possible, but I don't see anything from an update in my app.
I closed the app from "Multitasking".
I added the SDK to my project and in the AppDelegate my TeamToken, Checkpoints, etc. work fine.
Any ideas?
On testflight, have you enabled the force upgrade? (Your Application -> Build -> Build information -> Forced upgrades)
Also please make sure that the activity report is showing your session when you start your app.
following this link
Testing Workflow with Xcode's Archive feature
I am trying to build and test an iOS app archive.
The application, previously built and developed on iOS devices by means of Xcode, has a Core Data DB that has been filled during development and put in iCloud few months ago.
I would like to develop the archive by keeping the existing DB, however as it is stated in the instruction this seems not possible:
3) Delete any builds of the app from your device
and if I am not wrong, deleting the app by device means also delete sqlite file.
I know there's iCloud, but I am not sure the whole sqlite transaction log files are still available.
Do you have any solution or workaround for that ?
It is possible to preserve the data of an app separately from the app itself by using Xcode Organizer.
On the devices tab on the left under your device there are several categories. Among Screenshots and Device Logs there is also Applications. The on the main window you can select your application and below Upload and Download actions for application data are available.
So you can save your data any time and later restore it for testing purposes.
So I made my first iphone application; I want to test for memory leaks and the general feel and design of the user interface, so how do I put it on my iphone?
There is documentation on the developer portal which guides you through provisioning a phone for development purposes. Using Xcode you can set your target to the device after you follow the steps in the dev portal (really simple, but I'd like you to read them from there to ensure you are actually in the program) then you will be able to build and run or build and debug and it will install the app to your phone, where it will run and you can debug it there, attach instruments, etc.
EDIT: Link as requested.