Error: linking against dylib

Hello,


i get the following error message during build of my app.


ld: building for watchOS, but linking against dylib built for iOS, file '/***/NMSSH.framework/NMSSH' for architecture armv7k

clang: error: linker command faild with exit code 1 (usr -v to see invocation)



I need help to solve the problem!!!


Thanks

Build the NMSSH framework for watchOS first. If it's built for iOS instead, it won't work.

Hi ChalesS,


i tried to build the NMSSH framework for watchOS first, but the problem is, for watchOS, you need "enable_bitcode = Yes" and with bitcode enabled, i get a few Errors during the build process of NMSSH.


I have no ideas to fix the issues...

Error: linking against dylib
 
 
Q