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

后端 未结 6 1233
猫巷女王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:14

    Upgrading from React Native 57.8 to 58.4 introduced this linker issue. Wasn't a framework error though. Above methods did not work, but what fixed it for me was deleting the Test from Targets section in xCode. Didn't need it so this was fine for us. Example would be project named SuperCool has TARGETS: SuperCool, SuperCoolTests, SuperCool-tvOS, and SuperCool-tvOSTests. Delete SuperCoolTests to fix.

提交回复
热议问题