如何从 Xcode 中删除“ URL 类型”?

我做了一个 URL 类型,但我点击了“ +”图标,现在我不能删除其他。也许我很笨,但我无法删除它们:
(此选项位于 project > Targets > app > Info 下)

enter image description here

24346 次浏览

I always do it by hovering over it and at the top right of the panel for that specific url type, there is a grey square 'X' button.

I found a way to delete them: just open the Info.plist, delete the other rows and build/clean the project.

enter image description here

EDIT

You might have to restart XCode to see the changes.

Open info.plist in you favorite text editor and delete the nodes.

  1. Right click on your Info.plist;
  2. "Open As" -> "Source Code";
  3. Search "CFBundleURLTypes", and delete that you want to delete;
  4. Clean and build

I did not have enough reputation to post images.