Xcode 4 shows no files after loading project

后端 未结 7 1392
梦谈多话
梦谈多话 2020-12-10 11:51

I\'ve loaded a project in Xcode 4 after not looking at it for a while. Xcode shows its progress bar and indicates in text that the project is loading, and it appears to fin

相关标签:
7条回答
  • 2020-12-10 11:53

    I just had the same issue. After a few hours scratching my head and trying all kind of things, I finally found a fix: remove the whole package 'project.xcworkspace' inside the XXXXX.xcodeproj package.

    More specifically, when you find the 'XXXXX.xcodeproj' file, right-click it, and select 'Show Package Contents'. This will get you inside the package where you will find the 'package.xcworkspace' file. It is best to do this while the Xcode project is closed.

    Maybe that will work for you or for others with the same issue in the future...

    0 讨论(0)
  • 2020-12-10 11:56

    For those who make it here, I was opening a older version of a similar iOS project after upgrading to the latest XCode (6.2), and was seeing the symptoms labeled in this question (missing files, folders etc.)

    My solution: at the bottom left of the screen, unselecting 'Show only files with source-control status" which happened to be set on (it's blue when on). The icon looks like a 4-pt star inside a square.

    0 讨论(0)
  • 2020-12-10 12:03

    I had the same issue. Besides the answers above, it could also be that you have already accidentally opened the project in another Xcode window... Close that and reopen everything and it should work.

    0 讨论(0)
  • 2020-12-10 12:04

    remove the whole package 'project.xcworkspace' inside the XXXXX.xcodeproj package. may cause to any other error so please ignore and trying finally You can quit xcode and reload again your project it help you

    0 讨论(0)
  • 2020-12-10 12:05

    I had a similar issue. After archiving a project the files would disappear from the project navigator.

    It turned out that somehow XCode had added the word "main" to the searchbar below the project navigator so that almost all files where invisible. Quite frustrating.

    It might be the same case for you..

    0 讨论(0)
  • 2020-12-10 12:07

    This happened to me when I tried to do an alt-tab, on a VM running in TeamViewer in Windows - Click the search bar below, enter delete multiple times and the invisible search term cleared up

    0 讨论(0)
提交回复
热议问题