Eventually, I will be submitting a react native app to the app store but the app will only run on iOS, not tvOS. Will I be able to delete these targets and stuff and submit the project with no problem?
Asked
Active
Viewed 9,363 times
21

Jeebs600
- 269
- 2
- 7
2 Answers
20
Yes you can delete it but first delete appName-tvOSTests
then delete appName-tvOS
(otherwise xcode will crash).
After that remove this code from ios/Podfile
:
target 'appName-tvOS' do
# Pods for appName-tvOS
target 'appName-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end

hashinclude72
- 847
- 8
- 10
16
Yes, it can be deleted. You wont have any problem submitting it to the app store.

Chirag Shah
- 640
- 6
- 16
-
1Well i tried to do that and xcode totally crashed and i am unable to open the project again, this is actually a really bad idea – thibaut noah Jan 08 '18 at 16:01
-
1Tried that and the whole thing just blew up to my face, weee – thibaut noah Jan 08 '18 at 16:08
-
7I had to delete the "*-tvOSTests" target first before deleting the actual tvOS target, otherwise XCode would crash. – jmk May 03 '18 at 14:07
-
1might also need to remove that from the Podfile – jovani Mar 31 '20 at 04:11
-
I deleted Tests first and xcode still crashed when I went to delete the tvOS target – Ellery Familia Oct 29 '21 at 13:31