I have an existing iPhone project, and I have added WatchKit app to it. Upon compilation, I'm getting the "Check dependencies... No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7s armv7)." error.
This issue seems to be everywhere, and has been asked many times. For my case, I checked through everything I can and it seems that the issue is related to an static library which is linked to the iphone project.
Can anyone help?
Goto Target-> build setting check under Architecture.
And check valid architectures all.
use this link to create architectural : link
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.