Firebase TestLab on IOS - the .xctestrun file didn't specify any test targets
I'm trying to use firebase TestLab on iOS using this guide:
https://firebase.google.com/docs/test-lab/ios/firebase-console#build_xctests_for_your_app
but after I upload the zip file including the xctestrun file I'm getting the following error:
Upload invalid: the .xctestrun file didn't specify any test targets.
I have two targets in my app and a Tests target and a UI tests target,
On both test target, I set the Target I want to test as the host application.
Any ideas?
ios firebase unit-testing firebase-test-lab
add a comment |
I'm trying to use firebase TestLab on iOS using this guide:
https://firebase.google.com/docs/test-lab/ios/firebase-console#build_xctests_for_your_app
but after I upload the zip file including the xctestrun file I'm getting the following error:
Upload invalid: the .xctestrun file didn't specify any test targets.
I have two targets in my app and a Tests target and a UI tests target,
On both test target, I set the Target I want to test as the host application.
Any ideas?
ios firebase unit-testing firebase-test-lab
Have you checked the contents of the xctestrun file? Is it not empty? The best way to get help with this issue is to join the Firebase Community and post this question along with your test matrix ID in the #test-lab channel on Slack. Someone from the Test Lab team will help you out.
– maik
Nov 12 '18 at 18:24
What could have happened that while building you only built your app target, but not your test targets. In that case the .xctestrun file would be empty.
– maik
Nov 12 '18 at 18:54
add a comment |
I'm trying to use firebase TestLab on iOS using this guide:
https://firebase.google.com/docs/test-lab/ios/firebase-console#build_xctests_for_your_app
but after I upload the zip file including the xctestrun file I'm getting the following error:
Upload invalid: the .xctestrun file didn't specify any test targets.
I have two targets in my app and a Tests target and a UI tests target,
On both test target, I set the Target I want to test as the host application.
Any ideas?
ios firebase unit-testing firebase-test-lab
I'm trying to use firebase TestLab on iOS using this guide:
https://firebase.google.com/docs/test-lab/ios/firebase-console#build_xctests_for_your_app
but after I upload the zip file including the xctestrun file I'm getting the following error:
Upload invalid: the .xctestrun file didn't specify any test targets.
I have two targets in my app and a Tests target and a UI tests target,
On both test target, I set the Target I want to test as the host application.
Any ideas?
ios firebase unit-testing firebase-test-lab
ios firebase unit-testing firebase-test-lab
edited Nov 12 '18 at 15:16
Frank van Puffelen
230k28376400
230k28376400
asked Nov 12 '18 at 14:07
aviv_elkaviv_elk
1311416
1311416
Have you checked the contents of the xctestrun file? Is it not empty? The best way to get help with this issue is to join the Firebase Community and post this question along with your test matrix ID in the #test-lab channel on Slack. Someone from the Test Lab team will help you out.
– maik
Nov 12 '18 at 18:24
What could have happened that while building you only built your app target, but not your test targets. In that case the .xctestrun file would be empty.
– maik
Nov 12 '18 at 18:54
add a comment |
Have you checked the contents of the xctestrun file? Is it not empty? The best way to get help with this issue is to join the Firebase Community and post this question along with your test matrix ID in the #test-lab channel on Slack. Someone from the Test Lab team will help you out.
– maik
Nov 12 '18 at 18:24
What could have happened that while building you only built your app target, but not your test targets. In that case the .xctestrun file would be empty.
– maik
Nov 12 '18 at 18:54
Have you checked the contents of the xctestrun file? Is it not empty? The best way to get help with this issue is to join the Firebase Community and post this question along with your test matrix ID in the #test-lab channel on Slack. Someone from the Test Lab team will help you out.
– maik
Nov 12 '18 at 18:24
Have you checked the contents of the xctestrun file? Is it not empty? The best way to get help with this issue is to join the Firebase Community and post this question along with your test matrix ID in the #test-lab channel on Slack. Someone from the Test Lab team will help you out.
– maik
Nov 12 '18 at 18:24
What could have happened that while building you only built your app target, but not your test targets. In that case the .xctestrun file would be empty.
– maik
Nov 12 '18 at 18:54
What could have happened that while building you only built your app target, but not your test targets. In that case the .xctestrun file would be empty.
– maik
Nov 12 '18 at 18:54
add a comment |
2 Answers
2
active
oldest
votes
This probably happened because you testing targets are not part of the scheme when building.
Take a look at the .xctestrun and see if it is an empty .plist file. If it's empty then add the testing targets when building.
add a comment |
In my case the following order of actions helped:
- open your app's .xcworkspace file
- go to File -> New -> Target
- choose "iOS Unit Testing Bundle" and press the button Next
- check the credentials like Product Name, Team, Bundle Identifier, etc. and then press the button Finish
Now you need to make a new attempt to build for testing (Product -> Build For -> Testing) and follow the Firebase instruction regarding creating an archive
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53263865%2ffirebase-testlab-on-ios-the-xctestrun-file-didnt-specify-any-test-targets%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This probably happened because you testing targets are not part of the scheme when building.
Take a look at the .xctestrun and see if it is an empty .plist file. If it's empty then add the testing targets when building.
add a comment |
This probably happened because you testing targets are not part of the scheme when building.
Take a look at the .xctestrun and see if it is an empty .plist file. If it's empty then add the testing targets when building.
add a comment |
This probably happened because you testing targets are not part of the scheme when building.
Take a look at the .xctestrun and see if it is an empty .plist file. If it's empty then add the testing targets when building.
This probably happened because you testing targets are not part of the scheme when building.
Take a look at the .xctestrun and see if it is an empty .plist file. If it's empty then add the testing targets when building.
answered Nov 19 '18 at 21:48
maikmaik
1,4771225
1,4771225
add a comment |
add a comment |
In my case the following order of actions helped:
- open your app's .xcworkspace file
- go to File -> New -> Target
- choose "iOS Unit Testing Bundle" and press the button Next
- check the credentials like Product Name, Team, Bundle Identifier, etc. and then press the button Finish
Now you need to make a new attempt to build for testing (Product -> Build For -> Testing) and follow the Firebase instruction regarding creating an archive
add a comment |
In my case the following order of actions helped:
- open your app's .xcworkspace file
- go to File -> New -> Target
- choose "iOS Unit Testing Bundle" and press the button Next
- check the credentials like Product Name, Team, Bundle Identifier, etc. and then press the button Finish
Now you need to make a new attempt to build for testing (Product -> Build For -> Testing) and follow the Firebase instruction regarding creating an archive
add a comment |
In my case the following order of actions helped:
- open your app's .xcworkspace file
- go to File -> New -> Target
- choose "iOS Unit Testing Bundle" and press the button Next
- check the credentials like Product Name, Team, Bundle Identifier, etc. and then press the button Finish
Now you need to make a new attempt to build for testing (Product -> Build For -> Testing) and follow the Firebase instruction regarding creating an archive
In my case the following order of actions helped:
- open your app's .xcworkspace file
- go to File -> New -> Target
- choose "iOS Unit Testing Bundle" and press the button Next
- check the credentials like Product Name, Team, Bundle Identifier, etc. and then press the button Finish
Now you need to make a new attempt to build for testing (Product -> Build For -> Testing) and follow the Firebase instruction regarding creating an archive
answered Jan 4 at 4:43
Mary SeleznovaMary Seleznova
469
469
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53263865%2ffirebase-testlab-on-ios-the-xctestrun-file-didnt-specify-any-test-targets%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you checked the contents of the xctestrun file? Is it not empty? The best way to get help with this issue is to join the Firebase Community and post this question along with your test matrix ID in the #test-lab channel on Slack. Someone from the Test Lab team will help you out.
– maik
Nov 12 '18 at 18:24
What could have happened that while building you only built your app target, but not your test targets. In that case the .xctestrun file would be empty.
– maik
Nov 12 '18 at 18:54