Can I debug by simulator with Xcode12

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

1 Like

Replace external/ios/libs/libv8_monolith.a with

than you for reply.

but…I could not play my app in simulator xcode 12…

there was same error…

Did you solve it?

any solution?