XCode UITesting Issue TrackList
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了XCode UITesting Issue TrackList相关的知识,希望对你有一定的参考价值。
1. Test target ... encountered an error (No Info.plist found for target application at path ...)
error log:
17:25:44.598 Xcode[10011:3265648] Test operation failure: No Info.plist found for target application at path build/Debug-iphonesimulator/MicroStrategy.app/Info.plist
17:25:44.598 Xcode[10011:3265648] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=3 "No Info.plist found for target application at path build/Debug-iphonesimulator/MicroStrategy.app/Info.plist" UserInfo={NSLocalizedDescription=No Info.plist found for target application at path build/Debug-iphonesimulator/MicroStrategy.app/Info.plist} didCancel: 1
solution:
1) Xcode>File>Project Settings>Advanced
check Build Location, change the Legacy to Default
2) check the target>build Settings>Build Locations
check the Build Products Path, does it change the default path of ${PRODUCT_DIR}/build to some customized value like build?
change the value to ${PRODUCT_DIR}/build
root cause:
change the default build location to some customized path
以上是关于XCode UITesting Issue TrackList的主要内容,如果未能解决你的问题,请参考以下文章
Xcode 7 UITesting 用于 OS X 上的菜单栏应用程序
Xcode 7.3 中 UITesting 中的 launchArguments 不起作用
XCode7 UITesting - 如何添加从 UITestCase 可用的主要目标类(未定义符号错误)?