Distributing for App Store using beta versions of Xcode - xcode

When I try to distribute an app I get this error:
Xcode attempted to locate or generate matching signing assets and
failed to do so because of the following issues.
No matching provisioning profiles found for "Application/TheApp.app"
None of the valid provisioning profiles allowed the specified
entitlements: application-identifier, beta-reports-active,
keychain-access-groups.
I don't really understand what that error means. Any help?

You can't submit an app to App Store with beta software, you have to wait GM release.
From Apple
New apps and app updates submitted to the App Store must be built with
release versions of Xcode 5. Do not submit apps built with beta
software, as beta versions are for development and testing only.
Xcode 6 beta, iOS 8 beta, and OS X Yosemite Developer Preview are
pre-release software. Your use is subject to and licensed only under
the terms and conditions of the iOS Developer Program License
Agreement ("iOS PLA"), including any applicable consent to collect
diagnostic data set forth therein. If you have not agreed to the iOS
PLA, you are not permitted to use this software.
9 Sep. 2014
You may now use Xcode 6 GM seed to submit apps to the App Store and Mac App Store.

I have the same error till I revoke and request new iPhone Distribution certificate from Apple.
Go to developer.apple.com, open Certificates.
If you have 2 or less certificates for Distribution you can create new one. But if you have 3 you need to revoke one and then create new one.
Go to Provision Profiles and select your profile. Change old certificate to just created certificate. Download provision profile.
Now build your app.

Obviously I think you can, starting now ;)
I just received the mail from :
To prepare your apps for the App Store, download and build with the iOS 8 and Xcode 6 GM seeds from the iOS Dev Center. With these latest seeds, Swift is now final and you can submit your iOS apps written with Swift to the App Store.

If you are not using a beta version of Xcode, and you have regenerated all your certificates, and you are doing everything you should and it is still not happening; this is what worked for me:
1. Backup your code, 2. delete your project, 3. recreate the project anew, 4. add your code back in and voila successful build for validation and submission to the App Store.

I found a hack, you can replace the build version number in the system to cheat to the system.
System/Library/CoreServices/SystemVersion.plist
Replace the build version of the beta for the last release version, in my case for 10.15.5 is 19G73

Related

not able to add .ipa file in iphone device

i have generated the .ipa file and trying to add in any iphone device but its not adding.
the error is showing like:- couldnot install(in xcode).
i tried with apple configurator 2:- in this scenario app is installing a bit just assume
75% and after that the app icon is getting grayed out and clicking on that app is giving
popup as :- could not install please try later.
somewhere i saw that you have to allow from your device to trust this app, location is like :- settings > general > profile&management > you will find your profile here for new app installing.i didn't get any profile there.
FYI
i am using free developer account and created the xamarin app from windows and building it through mac, the xcode version is 9.4 beta and i also tried to override with xcode version 11.3.
i am not getting whether i am missing something or messed up with xcode versioning.
i am using free developer account and created the xamarin app from windows and building it through mac...
If using a free apple developer account , you can not install a .ipa file to iOS Device .This is limited by Apple.
About IPA Support in Xamarin.iOS , you will see there are two uses as follow :
Ad Hoc Testing — An iOS application can be deployed to up to 100 users (identified by specific iOS device UUIDs) for Alpha and Beta testing purposes. See our Provisioning an iOS Device for Development documentation for detailed information on adding test iOS devices to your Apple developer account, and the Ad-Hoc guide, for more information on how to distribute in this way.
In House / Enterprise Deployment — An iOS application can be deployed internally, within a company, which requires membership of Apple's Developer Enterprise program. More information on In House Distribution is detailed in the In House Distribution guide.
In either case, an IPA package (a special type of zip file) must be created and digitally signed with the correct Distribution Provisioning Profile.
If using a free provisioning , there is a Limitation as follow :
Access to iTunes Connect is limited and therefore services such as publishing to the App Store and TestFlight are unavailable to developers provisioning their applications freely. An Apple Developer Account (Enterprise or Personal) is required to distribute via Ad Hoc and In-House means.
Therefore , if need to add .ipa file in iphone device , you should use a paid Apple Developer Program account.

Xamarin.iOS - Using IPhoneSimulator's Keychain with a free iOS Development certificate

I have troubles with saving an account credentials inside an IPhoneSimulator's Keychain. I cannot use AccountSaver.Create().Save(credentials, "app") without Entitlements.plist. However when I add it to my project, compilation error shows up:
Could not find any available provisioning profiles for iOS.
I've added iOS Development certifcate to my account on Mac and tried to create a free provisioning profile but failed due to a lack of IPhone device.
Suprisingly, when I tried to build dummy project with added Keychain to Entitlements inside Xcode on my Mac and run it on a simulator no compilation errors occured.
My questions are: Do I have to make Apple Developer Account to test my Xamarin.iOS app inside IPhoneSimulator or is it possible without it and I'm doing something wrong? If so, what should I do to be able to compile my app?
I use Visual Studio 2017 on Windows 8 connected to a Mac Agent (Mac Mini).
P.S.: Most posts states, that simulator doesn't need provisioning profile, but according to this thread:
Starting with Xamarin.iOS 8.10, if the Entitlements.plist file is set at all for the iPhoneSimulator build configuration, then codesigning is required and thus an iOS code signing certificate is required to be installed in your keychain. ~ Xamarin Forum
Some time has passed since I asked this question, but I think it deserves an answer not only in the comments.
As #wottle wrote it is required to be enrolled i Apple Developer Program in order to have access to Keychain.
I sugest also to use Xamarin.Essentials' SecureStore instead of AccountSaver.
We have a bunch of Apple Store applications that had their Apple Distribution profiles expired. The issue was gone once we regenerated the Apple Distribution Certificate and created a new Distribution Profile for the impacted Applications.

Account not able to sign in Xcode?

I am new for developing the IOS application. so I have used xcode version 7.3.1 so I am not able to build the IOS 10 version. so xcode 7.3.1 not supported. so I trying to update but it can't able to update because mac has lower version. so I decided to install xip format. then I installed it, I have tried to build the app in xcode 8.0. then I have deleted the apple id which was already added in xcode 7.3.1. so both version affected it not showing account in xcode. after that I trying to add the account in xcode both version. it getting below given error, please any one help to slove the problem..
Make sure you can login to apple developer: Apple Developer Login
If that is not working, it means it's an issue with either your login credentials, or (more unlikely) there is an issue with Apple's servers and you simply must try later.
Try creating a new apple id as a test to see if it's an issue with the apple id, or an issue with your Xcode or computer's setup.
In my case error occurred because of VPN connection.

One Xcode with 2 developers?

My Xcode used to be registered under my own developer program .
There is a company with their own developer program , that used to upload apps
from their own mac .
I would like to upload a build from my mac and my Xcode, using their developer program.
Do i need to create a new certificate to my Xcode/mac from the beginning for that ?
Can i just download their certificates and provisioning , drag to my Xcode and just upload a build to their program ?
If you have the right combination of certificate, provisioning profile, and bundle id, you can build the app from any Mac using any Xcode (assuming it supports the necessary SDK and device versions).
It would be cleaner to have your developer ID included in their team so that Xcode can manage profile changes and get updates but it's not necessary.
(Note: you use Keychain Access for certificates, not Xcode.)

Is it possible to upload an iOS app to App Store for internal testing from Xcode 7 beta?

Is it possible to upload an app archive to the App Store in Xcode 7 beta for internal testing with Test Flight?
Has anyone been able to do that?
Note: I am asking about submission for prerelease internal testing with Test Flight. I am well aware that releasing the app to the public is not possible from beta versions of Xcode.
Update
I was able to use Xcode 7 beta and upload binary to the App Store's prerelease section. After that I was able to open it from the Test Flight. Code Signing identity was: iOS Developer. Provisioning profile was "Automatic". Both values were set for Debug and Release.
Yes, you should be able to upload your application via beta Xcode 7. But, the problem is to have potential bugs and that's also why they name it beta. You should take this as a risk when you decide to upload your application via new Xcode. It's okay to go with this way if you are handling your personal application. For your client or business, it's the best to use a stable version.

Resources