target specifies product type 'com.apple.product-type.framework.static', but there's no such product
来源:互联网 发布:国外毕业证翻译 淘宝 编辑:程序博客网 时间:2024/05/16 05:49
这次是一个关于静态库的问题,搞得真烦恼,还好大牛比较有耐心没有怪我教我解决了!
首先说一下这是个什么问题,这个一般都是你的项目里面用了自定义的库,而一般而言自定义框架都要依赖基础框架构建,基础框架下载地址
https://github.com/kstenerud/iOS-Universal-Framework
一般来说,你下载解压之后,会有两个几个文件夹,你只需要在意Fake Framework和Real Framework就好了
在这两个文件夹里面存在install.sh文件,这个就是终端shell命令文件,你需要的是打开终端进行这两个基础框架的安装了!
首先找到Fake Framework文件夹里面的install.sh拖到终端回车,就安装好了
之后在找到Real Framework文件下里面的install.sh拖到终端,回车,如果你的xcode安装目录和他要求的不一样会出现
Where is Xcode installed? (CTRL-C to abort) [ /Applications/Xcode.app/Contents/Developer ]: /Applications/Xcode5.app/Contents/Developer/
这个提示,也就是说目录要求不一致这种情况下不要慌,在文件夹的应用程序里面找到你的对应的xcode,然后把xcode拖入(新建的一个终端)就能看到你的xcode路径了
然后你从这个新建的里面把路径复制出来
在原来的终端上(就这个 要求输入路径的终端Where is Xcode installed?),粘贴你取道的路径,记得后面加上/Contents/Developer/,因为本身要求的就是放到这个开发这里面
然后在回车 就好了!至于其他的选择yes 或者 continue什么的都跟着敲就好了!
- target specifies product type 'com.apple.product-type.framework.static', but there's no such product
- target specifies product type 'com.Apple.product-type.bundle.ui-testing', but there's no such produc
- Xcode target specifies product type 'com.apple.product-type.bundle.unit-test'
- XCODE编译错误:target specifies product type 'com.apple.product-type.tool'
- target specifies product type 'com.apple.product-type.bundle.unit-test'
- target specifies product type 'com.apple.product-type.bundle.ui-testing'
- target specifies product type 'com.apple.product-type.bundle.ui-testing'
- iOS target specifies product type 'com.apple.product-type.bundle.ui-testing'
- target specifies product type 'com.apple.product-type.bundle.ui-testing//
- SAP product set type
- iOS xcode编译错误no such product type for the 'iphonesimulator' platform
- build type和product flavors
- product
- Product
- Product
- Product
- Product
- Cannot instantiate the type List<Product>
- ACM 1219: 爱抱怨的一对儿(ZJU+最小生成树)
- java 类和对象的关系
- 高效能人士的七个习惯-1 卓越不是单一的举动,而是习惯
- 10月计划
- 图的遍历算法BFS广度优先算法h
- target specifies product type 'com.apple.product-type.framework.static', but there's no such product
- Java构造和解析Json方法
- 关于x86的寻址方式
- 【Stackoverflow好问题】将数组转换为List
- Pascal's Triangle II
- Android 需要了解的重点知识
- 使用Unity制作的一个望远镜特效,在狙击手游戏中很常见
- web.xml文件详解
- iOS7 容易忽略的一些特性