Xcode + Crashlytics: Trouble adding new UDID to existing profile - xcode8

Scenario
Xcode is managing my provisioning profiles and it's done well so far. I'm adding a UDID for a tester yet crashlytics continually complains about the app not having the correct UDID for the tester which is where it prompts me to take a file that lists the user's UDID which I already put it. For kicks I copy/pasted the id and developer.apple.com said the device already exists.
Steps I took:
log into developer.apple.com
go to certificates, identifiers & profiles
select devices > iPhone
click + sign and add name w UDID, save device
click provisioning files > development
click the profile I want then Edit
Devices: select all
"Download" then double click the profile which opens xcode
I repeated this process multiple times occasionally mixing up the selected devices (worked years ago). Also updated profiles via Xcode's preferences > account tab.
Build Steps
Product > Archive kicks open Crashlytics
Click Distribute on prompt
Prompt for incorrect / missing UDID
Question
How can I figure out what is going on here?
#Xcode8.2.1.8C1002
** EDIT **
I've found that Xcode is using the auto generated iOS Team Provisioning Profile instead of the one I originally created in the web portal. Seeing as how the auto profile inherits from the web one I created, I'm going to try to get the auto generated profile to recreate itself hopefully pulling in the new UDID.
Xcode > Preferences
Accounts
Select Apple ID (top left)
Select Team (bottom right)
click View Details (bottom right)
One by one, right click and delete all provisioning profiles
Click "Download All Profiles" (bottom left)
You may need to wait and click "Download All Profiles" a few more times with 5-10 second intervals.
I'm in NY so once QA wakes up I'll verify if this worked or not.

This was ultimately fixed by following this chain:
Been getting ld: library not found for -lBolts while using xcworkspace
The Problem
This all hinged around an old FacebookSDK. When updating to the new FBSDK*Kit make sure you remove any old files resembling FacebookSDK otherwise you may run into this same issue.

Related

Where can I find my "PROJECT_SENDER_ID" (or project number) in Google Cloud Platform?

Some years ago it was at the Dashboard screen, but now I don't find it.
Does it became hidden because the new FCM?
The Sender ID needed from GCM/FCM is the same as the Project ID.
If you're accessing it from the Developers Console, just go to:
The more options (kebab) button on the top right corner.
Project Settings.
See Project Number

New Itunes connect Sep 2014 submission stuck at "Submit for Review" page

After I click Submit for Review
Itunes Connect bring me to this page and when I click Submit
It's stuck forever...
Update : 14 Sep 2014
now it does not stuck but become this
Make sure that the build you selected is not inactive. Once you upload your build you have to immediately choose it and submit it to the App Store. Otherwise, the build will become inactive and you won't be able to submit it. Make sure to change the build number before reuploading to avoid the redundant build error message. Hope this helps.
This does appear to be some sort of bug. Here's something that worked for me:
Go back into iTunes Connect --> --> 'Versions', and delete the build from this submission. You need to make a new one, unfortunately
Go into Xcode, click on your project, then click on your target and go to the tab 'General'
Increment the 'Build' number. For example, I went from 1.0.0.0 to 1.0.0.1, but for you it might be going from 534 to 535. It doesn't matter, just as long as it's different
Go 'Product' --> 'Archive'. Ensure that you have selected a real iPhone device as the build target, as opposed to one of the simulators
Follow the process as you did before ('Window' --> 'Organizer' --> Distribute, etc.) and resubmit in iTunes Connect.
Good luck!

How to remove a build from itunes connect?

I want to delete one of my app builds from new itunes connect site.
But I couldn't find a delete/remove button.
Any ideas?
UPDATE:
Time has changed, you can now remove (expire) TestFlight Builds as in this answer but you still cannot delete the build.
OLD:
I asked apple and here is their answer:
I understand you would like to remove a build from iTunes Connect as
shown in your screenshot.
Please be advised this is expected behavior as you can remove a build
from being the current build but you cannot delete it from iTunes
Connect. For more information, please refer to the iTunes Connect
Developer Guide:
https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/
So i just can't.
Wait! You can expire a build actually! :)
After 2017 Solution:
Still same at 2022
From the homepage, click My Apps, select your app.
Click the TestFlight tab.
In the sidebar, below Builds, click the platform (iOS or tvOS).
In the table on the right, in the Build column, click the app icon or build string for the build that is missing compliance information.
5.Click Expire Build.
Ta-da! Build expired at the App Store Connect.
Means:
Internal testers and external testers will no longer be able to install this build.
You can remove a build from being the current build
But, You cannot delete it from App Store Connect (iTunes Connect)
Required roles
Account Holder
Admin
App Manager
See Role permissions.
For more information please visit.
I had this problem. I'll share my ride on the learning curve.
First, I couldn't find how to reject the binary but remembered seeing it earlier today in the iTunesConnect App. So using the App I rejected the binary.
If you "mouse over" the rejected binary under the "Build" section you'll notice that a red circle icon with a - (i.e. a delete button) appears.
Tap on this and then hit the save button at the top of the screen. Submitted binary is now gone.
You should now get all the notifications for the app being in state "Prepare for Upload" (email, App notification etc).
Xcode organiser was still giving me "Redundant Binary".
After a bit of research I now understand the difference between "Version" & "Build".
Version is what iTunes displays and the user sees. Build is just the internal tracking number.
I had both at 2.3.0, I changed build to 2.3.0.1 and re-Archive.
Now it validates and I can upload the new binary and re-submit.
Hope that helps others!
Choose the build
The answer is that you Mouse over the icon for your build and at the end of the line you'll see a little colored minus in a circle. This removes the build and you can now click on the + sign and choose a new build for submitting.
It is an unbelievably complicated web page with tricks and gizmos to do the thing you want. I'm sure Steve never saw this page or tried to use it.
Surely it's better practice to design the screen so that you can see the options all the time, not to have the screen change depending on whether you have an app in review or not!
As I understand the new iTunesConnect philosophy :
you can upload some multiple "eligible" builds to iTunesConnect int the "pre release" tab
let some other testers test a specific build, via TestFlight (and declared as iTunesConnect users)
when you come to a stable version, select the correct build version, from the "Versions" tab to submit to the AppStore, the usual way.
To me, you can have like 150 build for a pre release, it doesn't matter.
in itunes connect:
AppStore >> iosAPP >> Build (scroll down)
click the red icon as seen in the picture
In our case, deletion was not possible due to already having an app that we were in pre-release. The fix was not to delete but rather to edit each section, including version number, that needed to change for the new candidate.
I'm able to remove and resubmit the app on the ItuneConnect currently.
I also faced the same trouble as you guys, but I realize something:
It needs to submit the current build to change the status from "ready to review" to "waiting for review" status
Then, click to kind "remove this build for submitting the new one"
-> App's status will change the "Developer rejected",
-> Then you can able to resubmit the new build normally. (I attacked the demonstration)
1: ---
2: ---
3: ---
Good luck!
Dang this is hard. Here is what I did to reject/delete/replace my ios build before it was released. The app was approved how ever I found found a bug I wanted to fix before releasing
I set release to "manual" and saved
I tried to create and app release
got an error message something like "you can only have one release at a time"
where the save button was there was not an option to cancel release
the version of the app is not marked "developer rejected" with a red dot
To replace the bad build I did the following
if you click on the "+ version or platform" to create a new version you will not be be able to create a new iOS version
you need to upload a new build
in your rejected app, select the new build
save
submit for review
For ios apps On the v1.0.10 App screen (rejected version) you moved down the form to the version number and clicked on the little red button next to it.
This allowed me to select v1.0.11 (the new corrected version) - I then edited the App screen changing the version number to v1.0.11 and completed the "what new notes". Then pressed the re-submit button, which it appeared to accept.
Then at 13.34 I got an email from Apple (referencing the original version v1.0.10) stating "Prepare for Upload" followed by another email at 13.37 referring to v1.0.11 (the new version) saying "Waiting For Review".
I used this link https://www.b4x.com/android/forum/threads/app-store-how-to-delete-an-earlier-build.110763/
Feb 2022 Correct answer. I spent an hour trying to figure out how to remove the OLD Build which had been rejected, and replace it with a newer one.
Remove the App from review. You cannot remove an old build if the App is still "In Review or a Rejected state".
AFTER STEP 1, Mouse Over/Hover over the row with the old build and a RED BUTTON appears on the right side of the row.
Click RED (-) Delete button.
After deletion the familiar UI that allows you to select a new build appears and you can select it.
Damn it Apple!! If it ain't broke, DONT FIX IT.

App Crashes with "Getting info from XYZ" when accessing settings pane. Limit of entries reached?

a user of my app reports that the app crashes when accessing the settings charm. The charm shows the text "Getting info from ". After A while the text changes to "Can't get settings for this app right now" and a little while later the app is terminated.
After several thousand downloads from the Store this is the first time, that such a problem is reported. During the development of the app I came accross a similar problem: When I tried to add more than 7 setting entries in OnCommandsRequested() the app showed the same problem and crashed with an exception:
The operation attempted to access data outside the valid range
(Exception from HRESULT: 0x8000000B)
Too many SettingsCommand items have been added to the Settings pane.
at System.Runtime.InteropServices.WindowsRuntime.IVector`1.Append(T
value) at
System.Runtime.InteropServices.WindowsRuntime.VectorToCollectionAdapter.Add[T](T
item) at
Microsoft.Advertising.WinRT.UI.AdControl.onAdSettingsCommandsRequested(SettingsPane
settingsPane, SettingsPaneCommandsRequestedEventArgs eventArgs)
It seems that it is not allowed to add more than 7 entries to the settings pane and the app crashes because the Advertising SDK tries to add its privacy statement.
After I discovered this limitation I removed one entry from the settings and the problem was solved.
How is it possible that this problem shows up in the store version of the app although the number of entries has been reduced? How is it possible that (as far as I can tell) the problem only shows up at one device while it works without any problem on thousands of other devices?
A theory:
Could it be, that (for some reason) the system tries to add another entry to the settings on this devices and thus triggers the problem? What kind of entry could that be? Why is it not added on other devices?
Thank you very much!

How to remove an app that's waiting for review? [duplicate]

This question already has answers here:
Reject binary with state waiting for review (can't find reject binary button)
(11 answers)
Closed 6 years ago.
Because we have discovered and fixed a bug in our app after we uploaded the application to iTunes Connect, we now need to remove the one that has been posted for review and upload the newer version we just built.
Is it possible to do this? There doesn't seem to be any button or link in iTunes Connect to allow us to do this.
It's called Reject Binary: Reject binary with state waiting for review (can't find reject binary button)
In iTunes connect, from 'My apps', select
Click your application, then
Make sure you are on the 'Versions' tab, and that the correct version is selected.
Click 'Remove this version from review' located in the info bubble...
This is an old post, but also happened to me. What I did is wait for almost an hour, then change one screenshot, then pressed save. After that the "to submit a build, you must remove this version from review" button appeared.
You must re upload your original App .zip file as the update, search your trash folder for it. Use the Application launcher and simply re submit the same original zip. When it gets re approved with same original content, only then delete this from Itunes Connect.
Tips:
You cannot delete an app that is Ready For Sale.
You would need to remove your own app from sale before
you can click the Delete button. Find Rights and Pricing button.
You are able to delete your app when it is in one of the following states:
Prepare for Upload
Waiting for Upload
Invalid Binary
Developer Rejected
Rejected
Developer Removed from Sale
Removed from Sale
I hope this helps.