iOS Xcode compile error: unable to execute command: Segmentation fault: 11

I found a fix for my problem:

I'm using a virtual machine and opened the project directly in the shared folder. I moved the project to the documents and now it works!


I tried to add the paypal framework to my iOS Project (Using Xcode 7.2 and Objective-C language), When building it is not giving any error, but when I try to archive the Project and trying to make the IPA, I am getting that Error

unable to execute command: Segmentation fault: 11

Screenshot:

enter image description here

After huge trying I have disabled the Bitcode in Project's Target->Build Settings->Enable Bitcode. Now the build can be achieved. Please check the following screenshot.

enter image description here