I use cocoscreator ver2.4.2 , I build for iOS.
After bulid, I could not debugged by simulator with Xcode12.
※There is no problems by actual iphone connected with usb.
this error ↓↓↓↓
ld: in /Users/iz_shingo/Library/Developer/Xcode/DerivedData/Sample2-fygapiryzekijdatablrvjqnvmyt/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftsystem.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/iz_shingo/Library/Developer/Xcode/DerivedData/Sample2-fygapiryzekijdatablrvjqnvmyt/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone solve this?
There are times when it works with the program on the objective-c side.
I’m in trouble because debugging doesn’t go smoothly