-
Notifications
You must be signed in to change notification settings - Fork 37
1.0.1 Scheme count, app verification errors #56
Comments
Hi John, it works perfectly for me , can you attach your .xctestrun file to see if this is different? |
@johnrogers Hi, that does not appear to be a plugin issue. The plugin finds all files with .xctestrun extension in the archive and check if there are more than one. Can you verify by inspecting the zip file? Since both the plugin and FTL are reporting the same issue, it is likely that the archive is messed up. I would suggest you to clean the xcode workspace first before building. Keeping multiple build variants is a sure way of getting into this problem. |
Hey guys. Definitely only one
After unzipping the ZIP file that
The Again, this is using v1.0.1 of the plugin. Any ideas? |
Hi @johnrogers, thanks for the description, but it's important what's in the xctestrun file, can you please attach it? The plugin counts the number of schemes present in that file, it should only consist of one key with your scheme and one key with xctestrun_metadata |
@johnrogers Yeah that log shows there's only one .xctestrun, that's why it's not showing the "multiple .xctestrun files" error, but instead the "multiple schemes" error. Can you open the .xctestrun file and see what's in it? |
Ok, I'm getting somewhere. I wasn't specifying the correct scheme in I've hit another snag though - I am getting the following error:
Here is the complete output (minus redacted) from my
I did some digging into the plugin's source, and found this section of code in
Now, I'm not that great with Ruby, but it looks like
Looks like it's assigning the first key-value pair to Or am I missing something here? I've tried the build process several time and every time it comes out |
I've created a PR to demonstrate a fix (works for me). It seems to me that we're better off selecting the schema that's not |
Not specifically plugin-related, but... Now we've worked out a fix for the plugin, I have to work out why Test Lab is telling me that I have an invalid ZIP file. Whether I use the plugin or the manual upload via Firebase Console, I get an error telling me that I should only have one Given that the validation is passing on the plugin, I really can't fathom this error. I've double checked the ZIP millions of times and tried a few different ways of packaging it. Below is a snippet of how it was packaged by
|
@johnrogers Maybe you can try-out without the |
Thanks Marty. They're onto it! Issue track here: https://issuetracker.google.com/issues/121101228 |
Hi all,
After reading about the release of 1.0.1 in this thread, I thought the issue may be solved but it doesn't appear to fix it for me.
I am running Xcode 10.1, and version 1.0.1 of the plugin.
I get the error
The app bundle may contain only one scheme, 2 found
; when I remove the__xctestrun_metadata__
dict and associated keys from thebuild_products.zip
file and re-package, I get the following error:app verification failed: There must be only one .xctestrun files in the ZIP file.
There's definitely only one
.xctestrun
file in my ZIP - that and contents of theDebug-iphoneos
folder are the only two items in there.I tried uploading the ZIP manually via Firebase Console however it gives me the same error (there's a Stack Overflow issue here about it).
Any suggestions?
The text was updated successfully, but these errors were encountered: