Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I delete the tvOS from react native project?

Tags:

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? enter image description here

like image 265
Jeebs600 Avatar asked Oct 16 '17 12:10

Jeebs600


People also ask

How do I uninstall tvOS app?

Select the app you want to delete, then press and hold the clickpad center (Siri Remote 2nd generation or later) or touch surface (Siri Remote 1st generation) until the app starts to jiggle. Press the Play/Pause button for more options, then choose Delete. Deleting an app also deletes its data.

How do I delete a test target in Xcode?

You can either right click the test and delete or select the target then select the minus symbol ( - ) at the bottom of the Document Navigator pane.


1 Answers

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

like image 63
hashinclude72 Avatar answered Sep 24 '22 19:09

hashinclude72