Publishing update of the app to App store - iphone

I have to push an update of app (I got the source code from the client and done some minor changes). I asked client for Apple dev login credentials but he is not willing to give me(it's obvious) however he asked me what info do I need from him. I know that I have to use the same distribution profile for creating the IPA. What else do I need from him in order to build the binary? e.g. Distribution Key in Keychain access etc.
Thanks

As your client don't want to provide Apple dev login credentials so it's not possible form your side. Because when you will going to submit your app you need to login to iTunes Connect.
So better I'll suggest you to submit you code to client and give him instructions (from installing xCode to uploading app) to upload your app as a new version.

Related

Creating distribution IPA without giving access to an Apple Developer account

My client is asking me to send an IPA build which can be sent to the Apple App store without giving me any access to the apple developer account, as he wants to submit the build himself.
As far as I know and researched, I need the account to set up the build, certificates, profiles, I cannot do this without having developer access to the Apple Developer account. If he would provide me with the certificates etc, even with those xCode would ask for the developer password of the account for validation.
I notified him of this, but they insist that this can be done.
Am I missing something? Basically he wants to do a submit of the IPA through Application Loader without giving me any access to Apple developer account.
Note: the app was developed with a different account.

xcode app submission error: "no eligible software found, make sure this software is owned by your developer organization"

I'm getting the stated error when trying to upload an app submission to itunes connect on an organization I am a member of, but who's itunes connect username is different than my my apple developer ID.
The problem is I have a single Apple Developer ID I use for all my IOS development across multiple organizations. my.name#gmail.com That id has been added to multiple organizations in the IOS Member Center. On Itunes Connect however, it does not let you add an existing Apple ID (or existing Itunes Connect user on a different organization) as a new user to an organization.
So if I'm a member of 3 organizations, each one uses a different Itunes Connect email, usually the email for that org, not my main gmail Apple ID.
When trying to upload using XCode, I get this error since they don't match. How can I work around this? I fixed it for one organization only by using my co-worker's ID which matched for his appleID+itunes user. However I'd like to be able to do it on my own.
I tried adding individual org emails as xcode emails, however none of them are Apple Developer accounts, and Xcode refuses to use them.
How can I upload my app to a new org I'm a member of on Itunes connect??
EDIT
I tried using the Application Loader tool from Xcode menu, and I get a different kind of error shown below. I tried with App Store Build and Ad Hoc build. This is a development build only at this point which I hope to use for internal testing via Itunes Connect Testflight, so we're not using Release/AppStore provisioning profiles yet, nor have we even created them yet.
EDIT 2
Apple docs say:
"A single Apple ID can be associated with multiple Member Center teams. Using the same Apple ID, you can enroll as an individual and join other teams. However, you can only be associated with a single iTunes Connect team. Consequently, developers should create another Apple ID for different individual or company accounts that they want to manage separately in iTunes Connect."
This is true for itunes connect. But how does one then submit builds to these other itunes connect accounts, from xcode?
I was able to sort this out and thought I'd share for others looking for answers. Because I have a single apple developer id and multiple iTunes Connect ids, that is the core of the problem. Xcode would not let me put and use a non-developer account id into the user preferences. The solution was to use the Application Loader tool.
An Overview of necessary steps, which I use for every deployment now:
Make sure your Release build is using a Distribution provisioning profile and not just a development one. Don't use "Automatic" either, even if it sometimes works. I use an App Store profile, even for test flight releases via ITC. Create the provisioning profile on apple's ios center manually, call it something obvious like "[APP_NAME] App Store Distribution". Then in the Xcode build settings, set the release profile to this name. Secondly, make sure the Code Signing developer is the one on this profile, it doesn't always toggle default to that.
Archive your app as usual to generate the build.
Do not "submit" app from organizer, instead do an export, export to file.
When prompted, choose "App Store Submission" instead of "Ad hoc", otherwise it will fail.
In Xcode open Xcode->Open Developer Tool->Application Loader
From here you can add/select any of your itunes connect users independent of Xcode.
Choose "deliver your app" to submit, and choose the exported build file.
This should get the upload to itunes connect. If you are using TestFlight in ITC and it is setup, this will result in a new TestFlight push.
When creating a new app for each organization I work with, I always setup the new Distribution profile immediately, don't start using "Automatic" or let Xcode "Fix it...", as these may work once, but will likely cause issues or failed releases later. Always name your profiles to include the app name, distribution and App Store, as once you start doing this a lot it is easy to confuse them if you're just naming them non descriptively like "MyApp's profile".
"No eligible software" suggests that either the appID doesn't exist or it exists on the wrong developer account (perhaps Xcode auto created).
Check the team you're using normally (if it's wrong, XC might have done something useful but in the wrong account). Start with Xcode Preferences > Accounts then details of the preferred and current teams in question. After that, check in the devcenter (making sure you're logged in as the team you're trying to submit under) - check your appIDs and see if the app you're expecting to see there actually is.
Also make sure the iTunes Connect account you're using to upload has the "technical" role (per https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/UsingiTunesConnect/UsingiTunesConnect.html)
In my case the problem was I didn't realized that "Application Loader" has a login!
So I just select Window menu / Sign In as.. And enter the same developer account I used to create the "certificate and provision files", that I used to compile the app.
Please match the bundle Id from itunesConnect & Xcode.
I was getting same error & solved with bundleID.
Change your Application Loader user account to application's signed user account.

iOS XCode & Code Signing

I am currently about to start work on an iOS app for somebody but they have there own Apple Developer account which they would like to us. How do I go about setting my MAC up so that I can use their account to build, develop and test their app on my Devices?
I am assuming that I will need to create a separate user account on my MAC. I have done this but when I try to install the certificates that they have created I get errors such as "Valid signing identity not found".
Why could Apple not make this process simple, I am always having to refer back to the documentation and still get confused just to start creating a new app!
You do not have to create a new user account on your Mac for this, but I know some developers prefer to have separate accounts when they are working with more than one developer account, for ease of development & distribution provisioning profiles.
If your client adds you (by Apple ID --> email address) as a team member to their account (assuming their account belongs to a company and not an individual) then you can start the development process by requesting and later receiving a signed development certificate. You'll then also need the required provisioning profile(s) to develop/distribute builds of the app.
No, you won't need to create separate account. Xcode provide the facility to use several provisioning profile and certificate at the same time.
For more information check this thread - Multiple Certificates/Provisioning Profiles in one Xcode organizer?
First of all you don't need to create new account on your Mac to develop iOS application. In Xcode 4 it become very easy to start developing and signing application. All you need to do is go to Organizer (most right button on Xcode toolbar). In Provisioning Profiles section you can see Refresh button on the botoom of the screen. When you click it ask you about your developer account information such as account name and password. Then it tries to install all profiles and certificates to your Mac automatically. Then you could select your profile and sign your app. If automatically install fails, check yourself that you download all you need for this.
Create keys on your mac and submit to Apple.
Download your certificate and WWDR certificate. Two!!!!
Add your device to the devices section and create Development certificate (Distribution as well ). Download it manually or via refresh in Xcode Organizer.
Hope it helps. Sergey!
Once you have your Apple Developer Account Credentials, You can follow gist I have created:
Apple's Code Signing Process

Error Submitting My App to the App Store

I have setup my App Buddle ID in the Provisioning Portal. (I am NOT using any wildcards in the name.) I have been able to successfully generate provisioning certificates and have run my app on my device and have even distributed via Ad-Hoc already. However, when I then go into iTunes Connect, (or using the Application Loader), I click on "Manage Your Applications" and then I add my company name and hit Next... and then I get the message "You have no eligible Bundle IDs for iOS apps. To register one click here." The "here" links back over to the Provisioning Portal where I see my Bundle ID. It's like the Portal and iTunes Connect aren't in sync. This has been going on for about two weeks now. Several others have reported this error but none of the suggested solutions I have read work for me. It's a free app so I don't need a paid contract or anything. iTunes Connect shows that all is good on the contract and banking side of things.
I have been unable to get any resolution on this from Apple. (I've called the Developer Support line and posted on the Apple Developer Forum. TWICE!) Any help would be GREATLY appreciated.
Thank you!
Before you create an app on iTunesConnect, you must create an AppId on the Provisioning Portal. Note that if you have already used an AppId (even if you deleted the app), you won't be able to use the same AppId again.
Try creating another AppId and using it to create your app on iTunesConnect.

invalid binary error in iTunes connect

I am trying to upload my app on appstore. Whenever I submit the app successfully,it shows Invalid binary in iTunes connect.
I tried various ways suggested to avoid this error in the other posts.
like I checked all icon images.
I created entire app again.
Revoked and recreated certificates and provisioning profiles.
Still its giving me same error. it does not give any error while building app or while submitting app. only after submitting it shows invalid binary. can any one help me in this?
does creating new id at iTunes connect will work? but i do not want to change the name of the app. whenever i try to delete app from iTunes connect it gives me warning that this app name can not be used in future for any application.
Finally it worked!
I revoked all certificates, and created new. then Recreated new app id and provisioning. created new app id in iTunes store and uploaded application. and now it is showing me Waiting for Review status.
If you have several distribution certificates, check whether you are selecting the same distribution certificate when submitting the app and the certification which you have used to build the application. This might cause to your problem.
The same happened to me, no errors in the validation nor submission and no resolution center.
But later i have found that they have sent an email to the account owner's email, and registered developer
The email I received from Apple had clear language in it corresponding to the change I needed to make. I was submitting a build with an Apple Watch app written in Swift. I had to target 7.0 because I was using Swift. I made this change and the binary was accepted and approved within hours.