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

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!

Related

Xcode + Crashlytics: Trouble adding new UDID to existing profile

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.

Monaca IDE - console.log never appears

X-Post from here, for exposure: https://community.onsen.io/topic/222/monaca-ide-console-log-never-appears
Odd question, but only once while using Monaca IDE has anything ever shown up in the console.log portion of the IDE itself. It only occurred when I had a device synced via the debugger. I have since tried syncing it and I never get the device to show in the drop down box, it usually says unknown device /www/html/…
Now, do know that I have put several console.log(‘test’); lines of code to try this out and still no success. I would think that the IDE’s console area would show the log operations from the emulator and not from the device debugger as it has its own log that is view-able on the device, but this apparently isn’t the case. Is this correct or am I just really missing something simple here?
So this isn’t that big of an issue, but I figured out the problem. Basically, I keep the Monaca IDE tab open in Chrome all the time (I work via my laptop remotely). When I come back after a long absence (several hours, I don’t know what the time out is), the bottom section in the console has the Chrome error showing, like that page timed out. The IDE is still there, just that section is grayed out.
So to fix this, I would just refresh the page. The section pops back and all is good EXCEPT I just figured out that it is at that moment when the device connection no longer works. I can still click Run on Device and it works - syncing with the device - but the console.log no longer shows up. In order to get that back and working, you have to close the tab and reopen it; then everything works.

VB.Net application highlights all files in background when running / getting focus

I have an App that I inherited in VB6 and have ported mostly to VB.net
When I compile / run the app - it highlights all the files in the current selected folder.
What makes it worse, is it's very difficult to search online as what search terms does one use?
The app was ported to VS 2005 - quite successfully - but this has me stumped...
I have tried commenting out all the code that's run on startup and it still does it, so it must be some sort of background thing...
Any ideas?
I can't find an old version of my app to see if it's changes I have made and I don't know where to begin. See the image:
The top part is before I run the app, the bottom is once the app is running and has focus. I hope it makes sense
Also, if I'm browsing and then run the app, and go back to the browser, when my app gets the focus again, the webpage goes back to the top...
The folder is just an example - Basically when I compile (or later run) my App, if I go to Windows Explorer - when the app gets focus - whatever folder I am in has all its files highlighted. If instead of going to Windows Explorer, I go to a web browser, when the app gets focus the browser goes to the top (similar to Home).
There is Windows Integratio, but I have commented out what I can and still am no closer.
Does this info help?
I found the problem - after going back to the vb6 project and removing everything except for the 5 modules needed to startup and I eventually tracked the problem.
There was some code being called when two edit boxes received focus which called send keys home and end - hence it would go home - select all files to the end. I had deactivated one of the edit boxes to not receive focus and it helped temporarily(obviously until the other box got focus), but since deactivating the send keys when they get focus has helped. Albeit an arbitrary problem, maybe it will help someone in the future..

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.

Crash Reports not being sent to Apple

I currently have an App that is on the Mac App Store that a couple people have reported instability with. I was able to reproduce the crashes and fix the problem, but what concerned me is that I have no Crash Reports listed for the App in iTunes Connect. When reproducing the crashes myself I did not get the standard crash report dialog asking if I wanted to send the crash report. In Console I do get:
6/22/11 9:05:25 AM ReportCrash[1902] Saved crash report for Application [1893] version 1.0 (1.0) to /Users/Name/Library/Logs/DiagnosticReports/Application_2011-06-22-090525_MacBook-Pro-4-Lyfe.crash
From what I could find on line the crash reporting should be automatic and you should only have to worry about implementing custom crash reporting if you want the reports sent directly to you.
My question is, why are crashes for my App not being sent back in to Apple and then ultimately showing up for me in iTunes Connect? My app is a menu bar item and does not have a full set of menus or dock icon if it matters at all.
Kris,
You do not get all the crash reports on iTunesConnect.
This is how it works:
Lets say you are an iPhone user, when you first activate your iPhone, it asks you if you'd like to send anonymous reports to apple, if you checkmark yes, only then the crash reports from your phone would be sent to apple.
Another thing to keep in mind is, even if a person has checkmarked this option, these reports would be sent, only when the user syncs his iOS device with the iTunes.
So essentially, the answer is
You cannot rely on iTunesConnect to get your app's crash
reports
Instead you should use a third party solution, like: Hoptoad:
airbrakeapp.com
I am very sure that there are other solutions like hoptoad as well, but this is what I have used and works very well.