ipa generate issue.

I am using xocde 10 and project using swift 4. i am try to generate ipa for the xcode project in ios but the ipa generate time my pc is hang.

and anything is not working and restart the pc. so please any one help this issue