I realize this question comes up a lot, but there is no one solution that has seemed to work for anyone.
I am working on developing an app for iOS and recently had to transfer my app to another developer account. My first account was an individual account where I was "Agent," and now the new account (corporate I think) has me listed as "Agent."
I created the certificates like I have always done, downloaded them, and placed them in my keychain. Everything said it was in order. I then created the app ID and re-entered all of the devices into the devices column. I moved on to the provisioning profiles, and again everything worked well. I downloaded them and imported them into Xcode, and when I go under settings and look under the account, it all looks in order.
Then when I attempt to build in corona, it tells me "Certificate Not Installed." Even though I had created the certificate on that device.
A possibility is that having 2 apple dev accounts signed in at once was confusing, so I logged out of my other, and, not surprisingly lost my ability to build for those either. I could still not build for iOS.
I have tried restarting my computer several times, and deleting everything and starting from scratch. I have tried creating the certificates a variety of ways and billions of combinations. I even tried using my other computer - although it also had dev set up for my other account.
Am I missing something crucial here? I don't have another computer to start over on if that is what it takes, but I guess I could clear one...
I greatly appreciate any suggestions!!
More specifically, for Starter and Basic subscribers, on OS-X you will need to download a new latest public build (2014.2393a). For Pro and Enterprise subscribers, you will need 2014.2405 or later.
Starter and Basic subscribers may have to add something to their build.settings for now due to another change Apple instituted this week. See: http://coronalabs.com/blog/2014/08/21/ios-building-issue
After some more hours of digging, I finally found a solution. Apparently apple changed some things in their newest releases, specific to their provisioning profiles and something in Xcode.
Corona Forums had this thread that solved ALL of my problems: http://forums.coronalabs.com/topic/50226-certificate-not-installed-cant-build-for-ios/page-2#entry260678
To summarize the forum - you need to install a new build of corona that solves the problem: https://developer.coronalabs.com/downloads/coronasdk
I hope my struggles have helped someone :)
Related
So I haven't opened my Xcode project in a while and haven't even looked at any code in months. Now after banging my head through the wall, still no App money in my pockets, and losing my mind over some stupid apple program errors I remember why...
The full error is:
"App installation failed - A valid provisioning profile for this executable was not found"
Now I know this error has been posted here multiple times and each has a set of answers that miraculously has helped some people, some of which are the most insane answers that are for particular events such as one guy's device date was set in future...uhh
Anyway's, after 2 days of trying every single "Answer" for this error and over an hour on the phone and letting an unexperienced Apple supporter take over my screen and getting absolutely nowhere I need some serious professional help from who else but stack overflow geniuses, right? Also I'll mention Apple does its fair share of going to this forum when they are clueless. Ha! Who would of thought,oh ya, probably all of us.
Continuing on here... To me a lot of these answers are too complex when Its simple to me. Its saying my device doesn't have the provisioning profile, which checking in the Devices window and right clicking to show the device's provisioning profiles, there are none obviously. When of course there should be. Now there is a button to manually install the provisioning profile. NOW, ONLY IF THIS WORKED! it doesn't and that in itself is something also listed on here and for me directly responds to my error.. (Just Search: provisioning profiles won't install on device)
http://support.hockeyapp.net/kb/client-integration-ios-mac-os-x/known-issues-with-ios#manual-installation-of-provisioning-profiles
This above link is a site that is the only thing that is agreeing something else is wrong here and would also explain what I already was sensing. This project ran fine last I ran it when my device was on iOS 7. Also another device thats on iOS 6 gets the provisioning profiles. So clearly iOS 8 is bugged like it always has been and I don't know what to do about it cause Apple makes horrible buggy updates to products and doesn't let you downgrade.
So please, does anyone have any idea how to get around this?
Bonus Question: Why are we always "getting around" super simple errors that never get fixed by Apple?
I am doing an Update to my app. I added a Watch Extension and I had many errors regarding provisioning profiles and so on when trying to submit the binary. However, I somehow managed to get it to work and submitted my update. Today I was rejected because of some small issue. I quickly changed it and now I am trying since hours to resubmit, but now I am getting this error:
CFBundleIdentifier Collision - The Info.plist CFBundleIdentifier value
'com.mentalfaculty.Ensembles' of 'MyAppName.app/Ensembles.bundle'
is already in use by another application.
I don t really understand what is wrong. The thing is, I did just fixed a really small thing, besides this I didn t change anything, I used same provisioning profiles since some days ago when I was able to submit, so I really don t get the problem what has changed from my last submission. I also don t understand this error message: what other application?
"Ensembles" is a framework that does Core Data iCloud Sync. I am using it since two App versions before and never changed something. I just followed the install instructions, and I had to integrate that Ensembles project in my own project. So this framework is kinda a project within my project. It has it s own info.plist. Obviously that error has something to do with it, but since I am not really an expert in these things, I m afraid to change something.
So why was I able to submit two working and approved updates, was able to submit one update binary (that was rejected) and now getting this error all the time although I really didn t change anything and did the same steps when I was able to submit some days ago?
Would be really thankful for any help here !
Thanks !
I am the developer of Ensembles, and started hearing of this error a few days ago. It seems something has changed on Apple's servers, and even bundles that are just Resources, like Ensembles.bundle, must have a unique identifier. It is not clear if this is a new policy, or an overzealous script on their server.
In any case, the solution is reasonably straightforward: you can just go into Ensembles.bundle and change the bundle identifier to something unique of your own. Eg. com.mycompany.ensembles.bundle
Update
Apple seem to have resolved this issue server side.
Thanks Drew for your help again, already helped me with another Ensembles related question in another thread here! Your framework is really great, so easy to implement and it takes away all that iCloud integration pain right out the box. If you want to see your work in action, check my profile, there is a link to my app. Mentioned your work of course in its settings bundle.
Last night I ended up doing exactly that, changing the Bundle Identifier in the Ensembles framework. After that iTunes Connect accepted my built. I was just afraid of changing something there and screw all up, but at least from my tests on my devices, it still seems to work like before... Strange because I uploaded a built just 10 days ago without the need of changing the Bundle Identifier, so Apple must have changed something really recently.
So for others having that problem, what I did:
Ensembles iOS.xcodeproj - Ensembles Ressources iOS - Ensembles Ressources iOS-ibfo.plist
I changed the Bundle identifier from
com.mentalfaculty.${PRODUCT_NAME:rfc1034identifier}
to
com.mentalfaculty.MyCompanyName.${PRODUCT_NAME:rfc1034identifier}
Thanks !
Is there any ways to know what's wrong with someone's app. It is working on everyone else's device but this person.
The person tried removing the previous version and installing the new one, but it still does not work. I suspect that one of the files that I place in the documents folder might still be there... but the format of this file has changed since...
Apple has a technote about this named Debugging Deployed iOS Apps.
Also, if your tester syncs up their iPhone with a Macintosh or PC, iTunes also helpfully moves logs into predictable places where they can be retrieved from.
I am attempting to solve this logging of execution in TestFlight with the following simple approach...
In in-App Billing you really have to use TestFlight, so the problem is serious.
The "print("text") statements can be replaced in the code to calls to a func printTestFlight(text: String) which writes the strings to a database along with some identifier so you know the user.
This is quite simple and obvious, and to an extent it works.
If there are events which are logged by the os rather than teh user, then this approach misses those, notably the interesting ones around a crash. I'd be happy to hear from anyone who knows how to do thiso
When I try to achrvie the Xcode showing the message " Fetching list of teams from the Developer portal " . It always timed out. Can't fetch the team.
I Accounts it Showing Apple Id not having any Development Teams. I have added the Apple Id
I have just tried to make same and it's working properly for me. So, problem is not from Apple Side.
Please check your internet connection properly and try again.
Apple is facing some big problems for last two weeks and due to iTunesConnect Outage they are facing some problem in uploading the new application on AppStore. But here you can also check if your internet connection is good and make sure it is not low internet connectivity.
Here there is also some issue with Xcode 6.2 so better you delete the team and add them again and try to upload the application via Xcode.
In case you are still facing the same issue then better export the .ipa file and upload with "Application Loader" software from Apple.
It's because of low internet connectivity. If your internet connection is not proper then you cannot get an apple account through which you can make an IPA.
July 2015
I'm using XCode 6.4, and today, its been happily building Ad-Hoc .ipas for me all day, but now, on the same MacBook Pro, it's timing out every time on this same "Fetching list of teams from the developer portal" message.
Sometimes, it (eventually) returns a "The request timed out" message, sometimes I just get this...
And no, this isn't an internet problem...
This issue has been reported on several StackOverflow threads over the past few months. Usually it works, but sometimes it doesn't, and, in usual Xcode fashion, it gives no hint as to the cause/solution.
(How can the same company produce such a fantastic OS and hardware, yet their development environment is so consistantly bad, year after year...?)
Update
Sigh.
Out of desperation, I rebooted my MacBook, and now, it happily manages to load the list of teams.
(Just closing all Xcode instances wasn't enough to fix the issue.)
Welcome to the 1990s, folks.
I've tried everything that been said. Nothing works, what I do is try and cancel every moment that you know it will fail. Like a traffic that cant continue because of load of request.
When contacted by a customer who is experiencing a problem in your iOS app and making an update to fix it, is there a way to get the user to verify the fix privately before making the update available to everyone?
Background: I was contacted by a user who is seeing a weird rendering problem since installing the latest update. Unfortunately I have not been able to reproduce the problem -- the customer uses an old iPhone model that I don't have access to, and I've had no luck reproducing it with the same iOS version in the simulator. However I made an update that I have good reasons to believe will fix it (I undid the small changes to the rendering code that were in the last update and did an alternative implementation that completely bypasses the issue, if my guess of what the issue is about is correct). But I obviously don't have 100% confidence that it will fix the bug since I can't repro it.
So I've submitted the update to iTunesConnect and have asked the user to wait until Apple has approved it. If it turns out that the change doesn't fix this issue, it would all be such a waste for the customer (who will have waited for nothing), for all my other users (who will see an update for nothing) and for Apple (who will have reviewed an update for nothing).
This is what ad-hoc deployment is for - testing. You can manually deploy a build to the customer (you need to know his devices UDID) or you can use a service like TestFlight (free) which helps to automate and manage the ad-hoc process.