Open wds8807 opened 2 years ago
I think it needs an older version of Xcode (if I remember correctly one year ago I managed to work with this tool) - I installed Xcode 12.0 but then it said that on my OS it cannot run (macOS 12.2.1). I cannot downgrade, so if anyone want to try it out, I would be grateful 🙏
Are there any plans for updating the project for Xcode 13.1 version availability?
I managed to use Xcode 12.0 on macOS 12.2.1 (with this solution), and it worked so indeed the problem was that the Xcode 13.x is too new. (Then I just have to figure it out how to upgrade (downgrade?) my huge project to that Xcode 12.0 can build it.)
A (partial?) solution came sooner than I expected 🎉 with this type of command we can use a little workaround since it seems to me that this project is no more under maintenance.
DerivedData
folder (which for me was /Users/<myName>/Library/Developer/Xcode/DerivedData
), look for you project folder (something like <myProject>-randomcharacters
- if you have so many folders that you cannot filter it out, you can delete all the content of the DerivedData
folder - but in this case you have to build your project again),Build/Intermediates.noindex/<appName>.build/<schemeName>-<targetName>/<appName>.build/Objects-normal/x86_64
folder, which contains - possibly a lot of - .o
files,./generate-objc-dependencies-to-json.rb -d -p /Users/<myName>/Library/Developer/Xcode/DerivedData/<myProject>-randomcharacters/Build/Intermediates.noindex/<myProject>.build/<schemeName>-<targetName>/<myProject>.build/Objects-normal/x86_64 > origin.js ; open index.html
),I will have to check how correct the results are, but for me (and for my use case) it seems legit.
Using Xcode 15.4, I can can confirm for my own project this command worked:
./generate-objc-dependencies-to-json.rb -d -p "/Users/<My Name>/Library/Developer/Xcode/DerivedData/<Project Name>-cefzotbnlkwxumfksxtdoctopkzi/Build/Intermediates.noindex/<Project Name>.build/Debug-iphonesimulator/<Project Name>.build/Objects-normal/arm64" > origin.js ; open index.html
Thanks @stateman92
Xcode 13.1 Here is the result after running the line:
First of all, it's a large project, it should be way more than 5 "directories". Second of all,
index.html
is empty. Please help.