How to resolve 'Something went wrong' error in Apple TestFlight - testflight

I'm editing the 'Test Details' section for my app on TestFlight. When I select save after entering all details (Contact, Review Information, Description...) I end up with a generic error 'Something went wrong, please try again later."
What's the issue here and how to resolve it?

The issue is related to some special characters in one of the fields you are editing in the 'Test Details' section.
A post at Apple Developer Forum mentions the use of emojis in the description as a cause for this error:
it turns out that if you use an emoji, in my case it was ( ), TestFlight no longer works?!
Having "(" and or ")" in the description causes this error.
In my case I copied my work phone number from the Contacts app on my Mac. Entering it manually in the following format resolved the issue for me:
015111111111 instead of ‭+49 151 11111111

Related

Google Analytics Query Explorer won't take inputs

I am very familiar with GA Query Explorer (https://ga-dev-tools.appspot.com/query-explorer/).
Just yesterday and today its UI has begun to refuse to key input. When I try to type in the metrics or dimensions fields it gives a message 'No matches found' - see screenshot. It has therefore become utterly useless.
I tried removing all GA cookies and logging out. I closed my Firefox browser, where I have used it regularly. On return I logged into Google and opened a Query Explorer tab. It remembered my latest parameters, so it had not removed cookies, and duly gave the same error.
Can you please advise how I can get out of this vicious circle and begin to get results from the Query Explorer again?
I have the same problem too. I believe there is a problem on the page, probably due to this error in the console:
I report the bug here:
https://github.com/googleanalytics/ga-dev-tools/issues/461
Thanks to responders.
This has now been fixed by Google.
Graham

Xamarin Test Cloud - Upload error, Unexpected character encountered while parsing value

I have noticed in a few threads on the Xamarin Forums (here, here) that people were having troubles uploading an app to Xamarin Test Cloud. Those posts were old but none of the solutions worked.
Error I get is
Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
I created a new project with the same bundle ID and the same Info.plist and I am able to upload to XTC with that. But clearly isn't the app I want to test (though I did try out text input and screenshots, this system is awesome).
There is nothing else on my end that I can think of causing the problems. I did notice my .ipa file was about 230mb but had not seen anything about a max filesize for XTC.
I tried to use the --debug option to get more info when I ran the same command to upload from terminal but it did not help. Any suggestions what to do or why XTC servers may be erroring on my files?
Sorted it out. Issue was I had linker behavior set to "Don't link", changing it to "Link Framework SDKs Only".
Hope this helps someone else if they have this issue.

Swift UITesting error: Invalid escape sequence in literal. \U201c

I am building an automation suite using Xcode 7 with swift.
My app loads with the following Alert View:
Allow "Light Alarm" to access your location while you use the app?
When I record with UI Testing and click this alert I get the following code:
app.alerts["Allow \U201cLight Alarm\U201c to access your location while you use the app?"]
Note: The quotes has been replaced with \U201c
However, when I try and compile I get the following error:
"Invalid escape sequence in literal"
Anyone know how to get round this?
This seems to be a bug in Xcode when generating code during UI recording.
Swift uses \u{NNNN} escape sequences in string literals, so
app.alerts["Allow \u{201c}Light Alarm\u{201c} ..."]
would be correct, or simply
app.alerts["Allow “Light Alarm“ ..."]
(Actually it should be "Allow “Light Alarm” ..." where the
second quotation mark is U+201D = RIGHT DOUBLE QUOTATION MARK :)
A similar issue for UI recorded code in Objective-C was reported in
Incomplete universal character name in UI Testing.
I do not know a workaround, it seems that the only thing you can do
at present is to fix the code after recording (and sent a bug report
to Apple).
Installing Xcode 7.3 fixed this issue for me

iOS App development with Facebook API bundle ID error message

I'm developing an iOS App with Facebook API. The app was working fine but I started to get the below error;
"There was an error:fbplatse:{"message": "No Bundle ID has been set on the server" }. Please tap Cancel to return to APPNAME and try again."
Actually I don't think I made any changes to the server. Can you please help me to fix this?
Thanks,
E.
Ok, I solved this problem.
add your app's bundle ID into the 'Native iOS App' tab under 'developers.facebook.com/apps'
Your app's bundle ID should be the same with the one above (Facebook developer page)
After I added up my bundle ID, I started to receive 'com.facebook.sdk error code=2' messages. It is good to check this link which explains everything step by step about the error code and how to get rid of it.
So, in my specific situation following worked; Device's Settings => Facebook and then log in with the credentials.
I spent too much time on that but now it works!
Facebook has updated it's documentation since this post in 2013. They have provided a screenshot showing where to get the bundle identifier. It's not the code with the variable in it from the Info.plist in Supporting Files directory. Rather, tap on the project file in Xcode (the topmost file in the directory) and see General tab (which is open by default).
I've attached a screen grab. Hopefully this helps someone.

Getting NSContactsUsageDescription to work in 10.8.2

I have an app with a crash reporter that autofills in the user email address by getting it from ABAddressBook. I'm trying to get an informative message of intent in the dialog that 10.8 displays asking the user for permission. Following the advice at http://www.red-sweater.com/blog/2672/can-i-get-your-address , I've added the following to the app's Info.plist:
<key>NSContactsUsageDescription</key>
<string>blah blah blah</string>
Unfortunately, this is not working. The dialog still asks, but it does not display my description text. I've tried:
Putting this in the crash reporter framework's Info.plist instead of the app's.
Signing the app with my Developer ID cert.
But, alas, no luck. Anyone gotten this to work that can give me a tip as to what I'm doing wrong?
[UPDATE] I found the real reason why restarting helps. It kills the tccd process, which looks like the culprit in charge of displaying the message on that dialog.
So, just open Activity Monitor and kill the tccd process and your new message should just show up next time the dialog shows.
[Old Answer]
I was running into the same problem and wasn't really sure why (I was doing exactly what the documentation said to do). I finally got it working after:
Deleting the container my app was living in (~/Library/Containers/com.company-name.app-name)
Cleaning the build (In Xcode: Product -> Clean)
Restarting my machine (seems a little cargo-cultish, but I think this is what fixed the problem)
Building and running my app
The next time my app tried to access the Address Book API I was presented with the dialog that included my message.
I think Apple must be caching that message somewhere (either the message you want, or an empty string if you ran your code before you had a message to show), and the only way to clear it out is to restart. I tried the first 2 steps many times with no change in the message, even after I got the message working and then tried to change it.
Solution is to run this command in the Terminal:
tccutil reset AddressBook
Source: https://developer.apple.com/library/archive/qa/qa1906/_index.html

Resources