Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] lastKnownFileType error #360

Open
matrxcrystal opened this issue Oct 15, 2024 · 0 comments
Open

[BUG] lastKnownFileType error #360

matrxcrystal opened this issue Oct 15, 2024 · 0 comments
Labels

Comments

@matrxcrystal
Copy link

matrxcrystal commented Oct 15, 2024

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

  1. pbxproj version used: 4.2.1
  2. python version used: Python 3.9.6
  3. Xcode version used: Version 14.2 (14C18)

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant