# Could not resolve type when debugging the manually build staticlib

**URL:** <https://forums.swift.org/t/could-not-resolve-type-when-debugging-the-manually-build-staticlib/49406>\
**Category:** LLDB\
**Created:** [June 9, 2021, 9:29am UTC](https://forums.swift.org/t/could-not-resolve-type-when-debugging-the-manually-build-staticlib/49406 "2021-06-09T09:29:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sot](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@sot](https://forums.swift.org/u/sot)\
**Post date:** [June 9, 2021, 9:29am UTC](https://forums.swift.org/t/could-not-resolve-type-when-debugging-the-manually-build-staticlib/49406/1 "2021-06-09T09:29:44Z")

</div>

i build the swift lib manually.first use swift frontend to generate the bitcode,then use llc to generate the objfile,finally use libtool to pack all the objfiles to a static lib.the app is work well linking such staticlib.i debug my app in xocde, when hit a breakpoint in function,xcode show all the variable name in window,but none of them has value.i input the lldb command frame variable.then console output  
varname1 could not revole type  
varname2 could not resolve type  
.....

Did I do something wrong?
