building for iOS simulator, but linking in object file built for OSX, for architecture x86_64

I've re-built my dependency libraries using Xcode7 and now I receive these kind of errors :

"building for iOS simulator, but linking in object file built for OSX, for architecture x86_64"

How can this be fixed? I already tried to pass in "sysroot" and other things without success... 😟

Thanks for your help in advance!

Could it be related to the reason given for closing this radar?


openradar.me/21724015


"You want one slice of the binary to be watchOS and the other to be iOS. E.g., v7k watchOS and armv7+arm64 iOS. Then when linking, the right one gets pulled out, similar to having a fat library contain both a simulator and a device slice.


This is not something we want to support."

building for iOS simulator, but linking in object file built for OSX, for architecture x86_64
 
 
Q