Could not find auto-linked library 'swiftObjectiveC'

简介: Could not find auto-linked library 'swiftObjectiveC'

oc工程中使用swift的第三方库,结果没有一个swift文件,导致编译报错。

解决方案:建立一个swift文件(空的文件也可以)就可以。


允许 target 使用 swift 代码,开启这个配置后 Swift 的标准库将能够在该项目使用(使用 oc和 swift 混编可能导致包体积变大十几兆)

Build Options 中
Embedded Content Contains Swift Code 改为 YES (Xcode 8.1 and earlier)
Always Embed Swift Standard Libraries 改为 YES (Xcode 8.2+)

支持使用@import导入文件,当需要导入 framework 的时候这个选项必须是YES

Defines Module 改为 YES

目录
相关文章
|
10月前
|
缓存 内存技术
解决 Error: Node Sass does not yet support your current environment: OS X ...
解决 Error: Node Sass does not yet support your current environment: OS X ...
617 0
Could not find com.serenegiant:common:4.1.1
Could not find com.serenegiant:common:4.1.1
208 0
add to -append Backend implementation
add to -append Backend implementation
94 0
add to -append Backend implementation
How to add extension field to report
How to add extension field to report
109 0
OPA 15 - find existing item by its type.note
Created by Wang, Jerry, last modified on Nov 08, 2015
126 0
OPA 15 - find existing item by its type.note
Cannot find source code based button in SE24
When you are logging on to customer system for incident handling, you want to switch to source code to perform some keyword search. However, you could not find button “Source code based builder” in toolbar, with following warning message: ———————————————— 版权声明:本文为CSDN博主「汪子熙」的原创文章,遵循CC 4.0 BY-SA版权协
Cannot find source code based button in SE24
Enterprise search - Build Search dropdown list - cache issue
Enterprise search - Build Search dropdown list - cache issue
111 0
Enterprise search - Build Search dropdown list - cache issue
|
算法
On the Correct and Complete Enumeration of the Core Search Space
在之前的文章中我们讨论了基于graph的DP-based算法,来解决join ordering的枚举问题。 这些DP算法通过join predicate描述的连通性,解决了枚举可能的表组合问题,但join graph本身(即使hypergraph)是无法完整的描述join语义的,因为连通边本身无法描述不同类型的join语义,例如left outer join/semi join/anti join...,因此即使找到了所谓的csg-cmp-pair,也不一定是有效的plan。 这篇paper讨论的就是这个问题,当枚举出一个csg-cmp-pair (S1 o S2),如何判断这是有效的join
399 0
On the Correct and Complete Enumeration of the Core Search Space
|
机器学习/深度学习
1064. Complete Binary Search Tree (30)
#include #include #include using namespace std; const int maxn = 1001; vector num(maxn), cbt(maxn); int n, c...
829 0

热门文章

最新文章