Build and run for watchOS simulator for x86_64 architecture.

I have my C++ library only for 64 bit architecture - so to test on simulator I used x86_64 libraries to build my watchOS project. But getting following error:


ld: warning: ignoring file /Users/tuhinsengupta/Documents/iOSProjects/TWSampleWatchOSIndependentApp/lib/libTWCoreDataLibiOS.a, building for watchOS Simulator-i386 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x32 0x30 0x20 0x20 0x20 )

ld: warning: ignoring file /Users/tuhinsengupta/Documents/iOSProjects/TWSampleWatchOSIndependentApp/lib/libTWCoreApplicationLibiOS.a, building for watchOS Simulator-i386 but attempting to link with file built for unknown-unsupported file format ( 0xEF 0xBB 0xBF 0x3C 0x3F 0x78 0x6D 0x6C 0x20 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E )

ld: warning: ignoring file /Users/tuhinsengupta/Documents/iOSProjects/TWSampleWatchOSIndependentApp/lib/libTWCoreProcessLibIOS.a, building for watchOS Simulator-i386 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x32 0x30 0x20 0x20 0x20 )

ld: warning: ignoring file /Users/tuhinsengupta/Documents/iOSProjects/TWSampleWatchOSIndependentApp/lib/libTWCoreLibiOS.a, building for watchOS Simulator-i386 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x32 0x30 0x20 0x20 0x20 )

ld: warning: ignoring file /Users/tuhinsengupta/Documents/iOSProjects/TWSampleWatchOSIndependentApp/lib/libTWXApplicationLibiOS.a, building for watchOS Simulator-i386 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x32 0x30 0x20 0x20 0x20 )

ld: warning: ignoring file /Users/tuhinsengupta/Documents/iOSProjects/TWSampleWatchOSIndependentApp/lib/libTWCoreServerLibiOS.a, building for watchOS Simulator-i386 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x32 0x30 0x20 0x20 0x20 )

The *architecture* and *platform* are both imporant. You mentioned that you had a "C++ library only for 64 bit architecture", but *what* platform and what architecture?

For use in the watchOS Simulator, you will need a version of your library built for the watchOS Simulator.
Build and run for watchOS simulator for x86_64 architecture.
 
 
Q