[英]Can't build on device with Swift on Xcode 7.2 (not related to Provisioning Profiles)
This is not related to provisioning profiles. 这与供应配置文件无关。
I added SnapKit
(0.18.0) with Carthage
(0.10). 我在
Carthage
(0.10)中添加了SnapKit
(0.18.0)。 Whenever I try to run the app on a device with Xcode 7.2, I get errors like this: 每当我尝试在使用Xcode 7.2的设备上运行该应用程序时,都会出现如下错误:
Undefined symbols for architecture arm64: "protocol witness table for Swift.Double : SnapKit.RelationTarget in SnapKit", referenced from:
架构arm64的未定义符号:“用于Swift.Double的协议见证表:SnapKit中的SnapKit.RelationTarget”,引用自:
If I build for the simulator it works. 如果我为模拟器构建它可以工作。 If I build for the device on AppCode by Jetbrains it works.
如果我通过Jetbrains在AppCode上为该设备构建设备,那么它将起作用。
I have Xcode 7.2 and iOS 9.2. 我有Xcode 7.2和iOS 9.2。 Google and Stackoverflow come up empty for "protocol witness table".
Google和Stackoverflow的“协议见证表”为空。
What the heck is going on? 到底他妈发生了什么?
As always, when Xcode goes berserk, there are some great things to try. 与往常一样,当Xcode发疯时,可以尝试一些很棒的事情。
pod install
or update Carthage packages). pod install
或更新Carthage软件包)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.