Reputation: 4313
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?
Upvotes: 0
Views: 3933
Reputation: 4375
Goto Target-> build setting check under Architecture.
And check valid architectures all.
use this link to create architectural :link
Upvotes: 2