[BUG] lastKnownFileType error
Opened this issue · 0 comments
Describe the bug
Using the command
python3 -m pbxproj file test.xcodeproj ./test/CSTRtm.xcframework --target test --no-embed --tree "<group>" -w
the correct section was not generated.
46CA4EF5A69B6570B08705D9 /* CSTRtm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = folder; name = CSTRtm.xcframework; path = ./test/CSTRtm.xcframework; sourceTree = "<group>"; };
From the generated result, it's clear that lastKnownFileType is incorrect; the correct value should be wrapper.xcframework.
System information
- pbxproj version used: 4.2.1
- python version used: Python 3.9.6
- Xcode version used: Version 14.2 (14C18)
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. e.g. Provide a sample snippet and a sample project