# xcode 15.0.1 - error: module importing failed: invalid pathname

**URL:** <https://forums.unrealengine.com/t/xcode-15-0-1-error-module-importing-failed-invalid-pathname/1359449>\
**Category:** International\
**Tags:** unreal-engine, bug-report, question\
**Created:** [November 3, 2023, 11:59am UTC](https://forums.unrealengine.com/t/xcode-15-0-1-error-module-importing-failed-invalid-pathname/1359449 "2023-11-03T11:59:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [November 3, 2023, 11:59am UTC](https://forums.unrealengine.com/t/xcode-15-0-1-error-module-importing-failed-invalid-pathname/1359449/1 "2023-11-03T11:59:04Z")

</div>

Currently it seem to be impossible for me to package any project with UE 5.3.1 for iOS or Mac with xcode 15 and also it’s not possible to compile the UE editor from source. I downloaded the UE source from github and failed many times trying to compile the editor, so I removed the folder that contain the source code. Now I get the following warning for **each** other xcode project I am working on:

error: module importing failed: invalid pathname ‘/Users/deelay05/Documents/UnrealEngine-ue5-main/Engine/Build/BatchFiles/Mac/…/…/…/Extras/LLDBDataFormatters/UEDataFormatters\_2ByteChars.py’

I know this is more like an xcode issue, but does anybody know how to get rid of that annoying log message? A simple re-installation of xcode did not help.

---

<div class="post-metadata">

**Author:** ![apmason](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/apmason/32/88719_2.png) [@apmason](https://forums.unrealengine.com/u/apmason)\
**Post date:** [November 13, 2023, 10:31pm UTC](https://forums.unrealengine.com/t/xcode-15-0-1-error-module-importing-failed-invalid-pathname/1359449/2 "2023-11-13T22:31:45Z")

</div>

`open ~/.lldbinit`  
Delete the line starting with `command script import`  
Save and close that file.  
Restart Xcode.  
That log should be gone.
