You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello:
I run my script and delete the fileRef use the func :remove_file_by_id
but the pycharm told that:
File “xxx/venv/lib/python3.9/site-packages/pbxproj/pbxextensions/ProjectFiles.py", line 341, in remove_file_by_id
if len([1 for x in self.objects.get_objects_in_section('PBXBuildFile') if x.fileRef == file_ref.get_id()]) != 0:
File “xxx/venv/lib/python3.9/site-packages/pbxproj/pbxextensions/ProjectFiles.py", line 341, in
if len([1 for x in self.objects.get_objects_in_section('PBXBuildFile') if x.fileRef == file_ref.get_id()]) != 0:
AttributeError: 'PBXBuildFile' object has no attribute 'fileRef'
is it the bug of mod-pbxproj?, can help us to fix it .thanks
The text was updated successfully, but these errors were encountered:
hello:
I run my script and delete the fileRef use the func :remove_file_by_id
but the pycharm told that:
File “xxx/venv/lib/python3.9/site-packages/pbxproj/pbxextensions/ProjectFiles.py", line 341, in remove_file_by_id
if len([1 for x in self.objects.get_objects_in_section('PBXBuildFile') if x.fileRef == file_ref.get_id()]) != 0:
File “xxx/venv/lib/python3.9/site-packages/pbxproj/pbxextensions/ProjectFiles.py", line 341, in
if len([1 for x in self.objects.get_objects_in_section('PBXBuildFile') if x.fileRef == file_ref.get_id()]) != 0:
AttributeError: 'PBXBuildFile' object has no attribute 'fileRef'
is it the bug of mod-pbxproj?, can help us to fix it .thanks
The text was updated successfully, but these errors were encountered: