Xcode 6.1: file was built for x86_64 which is not the architecture being linked (i386)

后端 未结 6 1250
猫巷女王i
猫巷女王i 2020-12-05 09:47

I\'ve created a Swift framework project for util/extensions that compiles and copies a .framework file to a dedicated location on my system. I want to be able t

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-05 10:16

    Make sure you have i386 and x86_64 listed in your Architectures in Build settings for your lib. Also set Build Active Architecture Only explicitly to No.

提交回复
热议问题