'Why is Xcode showing me SIGSTOP signal at cin?
I tested the code on Dev c++, and it's totally fine. But when I try to run it on Xcode, it kept showing me "Thread 1: signal SIGSTOP"
Here is the main function of my code.
int main(){
ios::sync_with_stdio(false);
cin.tie(NULL);
cin>>n; //where the warning is shown
for(int i=0;i<n;i++){
cin>>length;
cin>>pw;
cout<<"Case #"<<i+1<<": ";
solve();
}
return 0;
}
Also, this is shown in the console:
2022-05-23 12:07:56.463843+0800 test.cpp[67390:5076465] [default] error finding potential wrapper bundle for node <FSNode 0x10117f580> { isDir = ?, path = '/Users/rb33l1/Library/Developer/Xcode/DerivedData/test.cpp-hglkwauzjfshikatnvjoriekjqzk/Build/Products/Debug' }: Error Domain=NSOSStatusErrorDomain Code=-10811 "kLSNotAnApplicationErr: Item needs to be an application, but is not" UserInfo={_LSLine=1579, _LSFunction=wrapperBundleNodeForWrappedNode}
Does anyone have similar experience dealing with this problem? What should I do next? Any help will be much appreciated
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
