target specifies product type 'com.apple.product-type.bundle.ui-testing'
来源:互联网 发布:子贡曰君子一言以为知 编辑:程序博客网 时间:2024/05/21 23:36
出现这个问题 就是因为用新版本的Xcode创建的工程 用老版本Xcode打开时 有时会出现
首先我们更改程序的ios版本
然后编译(command + B) 会出现如下问题
这里删除LaunchScreen.storyboard,重新创建一个LaunchScreen.Xib。
然后再编译,出现如下错误:
此时需要进入$(ProjectName).xcodeproj/project.pbxproj文件中找出对应的com.apple.product-type.bundle.ui-testing将其替换为com.apple.product-type.bundle,此处(ProjectName).xcodeproj/project.pbxproj即指工程打开文件,步骤如下:
首先打开工程文件所在路径,
双击打开文件,搜索com.apple.product-type.bundle.ui-testing将其替换为com.apple.product-type.bundle .(有个名字相似的不要改错了。)
编译之后又有一个错误:
xcode7好像多了UITests,我不知道有什么用,就整个文件夹删了(不知道其他办法了)
现在编译就没有错误了
0 1
- 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//
- 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'
- target specifies product type 'com.apple.product-type.bundle.unit-test'
- target specifies product type 'com.apple.product-type.framework.static', but there's no such product
- XCODE编译错误:target specifies product type 'com.apple.product-type.tool'
- SAP product set type
- build type和product flavors
- CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.0'
- [问题]code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.1'
- CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.1'
- code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 10.1'
- Cannot instantiate the type List<Product>
- X-code6 错误CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8
- Cannot create encoder for Option of Product type, because Product type is represented as a row
- Jquery 插件: Else
- 20160126--日期类
- 微软活动目录ActiveDirectory
- Android 从相册中选择照片
- Tomcat配置Https 单向/双向
- target specifies product type 'com.apple.product-type.bundle.ui-testing'
- 开机后的第一条指令
- WebSocket实现多屏互动的分析及方案
- Turtlebot学习指导第五篇_搭建自己的ROS机器人的核心,配置navigation包并创建基本的启动文件
- 安卓基于HttpURLConnection网络请求
- Mac OS X pip 安装package时问题
- 快速排序
- android系统媒体库开发之图片
- jemeter遍历访问URL