简体   繁体   中英

No architectures to compile for (ARCHS=, VALID_ARCHS=armv7k) Xcode 7 beta 3

My app have a watch kit support.

Previously, with Xcode 6.4 my app was running properly.

After updating with Xcode 7 beta 3 I am getting this error -

No architectures to compile for (ARCHS=, VALID_ARCHS=armv7k).

I am not sure in which target to make changes for this dependency.

Currently,

my watch kit extension architecture configuration is

在此输入图像描述

and my watch kit app architecture configuration is

在此输入图像描述

Any help would be appreciated.

I encounter the same problem on more recent Xcode Beta as well.

I able to compile now by adding i386 to Valid Architectures alongside armv7k . Probably because of 32 bit legacy library in my project. It also works just by itself (only using i386 ). Weird.

Not sure if there's any other further implications though.

i386在构建设置上

I have encounter this problem when adding a watch os target to the existing the project,

Then I changed the Valid Architectures to armv7k , and then removed all the exiting architetures in watchkit app target and also in the watchkit extension target

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM