Rational Test Workbench iPhone - 无法合并原始二进制文件无法合并已检测的二进制文件

时间:2014-03-20 13:55:01

标签: ios ibm-mobilefirst instrumentation rtw rational-test-workbench

下面给出了我系统的环境规范

System: MacBook Pro
OS X version: 10.8.5
Worklight: 6.1
Emulator: 6.1
Build for iOS: 6.1

I have installed Mobile Test Workbench 8.5.1.2 in eclipse-kepler

我按照URL上的说明进行了操作:

https://pic.dhe.ibm.com/infocenter/rtwhelp/v8r5m0/index.jsp?topic=%2Fcom.ibm.rational.test.lt.moeb.doc%2Ftopics%2Frvar_select_device.html

但是当我尝试为模拟器设备和安装iPhone应用程序时,每次都会出现错误。

这里我从终端复制了错误日志:

Could not merge original binaries
Could not merge instrumented binaries

      ------ Start Localization Folder Creation
----- Found Localization files in: /Users/sarfaraz/Documents/workspace/SumApp/apps/SumApp/iphone/package/SumApp-1.0-iphone/Resources/Localizations.bundle/
Print: Entry, ":CFBundleDevelopmentRegion", Does Not Exist
------ Localization Folder created
51235 blocks
51235 blocks
Print: Entry, ":RMOTUID", Does Not Exist
Print: Entry, ":CFBundleIconFile", Does Not Exist
Print: Entry, "objects:C01FCF4F08A954540054247B:buildSettings:VALID_ARCHS", Does Not Exist
Set: Entry, "objects:C01FCF4F08A954540054247B:buildSettings:VALID_ARCHS", Does Not Exist
Print: Entry, "objects:4247AFA21330EB1200D997AA:buildSettings:VALID_ARCHS", Does Not Exist
Set: Entry, "objects:4247AFA21330EB1200D997AA:buildSettings:VALID_ARCHS", Does Not Exist
Print: Entry, "objects:1D6058940D05DD3E006BFB54:buildSettings:VALID_ARCHS", Does Not Exist
Set: Entry, "objects:1D6058940D05DD3E006BFB54:buildSettings:VALID_ARCHS", Does Not Exist
Print: Entry, "objects:1D6058950D05DD3E006BFB54:buildSettings:VALID_ARCHS", Does Not Exist
Set: Entry, "objects:1D6058950D05DD3E006BFB54:buildSettings:VALID_ARCHS", Does Not Exist
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
mergin simulator and device binaries 
lipo: can't open input file: /tmp/16329/work/build/Debug-iphonesimulator/SumApp.app/SumApp (No such file or directory)
 ---- done 
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
Print: Entry, ":objects:C01FCF4F08A954540054247B:buildSettings:OTHER_LDFLAGS:0", Does Not Exist
-ObjC
Print: Entry, ":objects:C01FCF4F08A954540054247B:buildSettings:LIBRARY_SEARCH_PATHS:0", Does Not Exist
Print: Entry, ":objects:C01FCF4F08A954540054247B:buildSettings:LIBRARY_SEARCH_PATHS", Does Not Exist
-all_load
Print: Entry, ":objects:4247AFA11330EB1200D997AA:buildSettings:LIBRARY_SEARCH_PATHS:0", Does Not Exist
Print: Entry, ":objects:4247AFA11330EB1200D997AA:buildSettings:LIBRARY_SEARCH_PATHS", Does Not Exist
Print: Entry, ":objects:4247AFA21330EB1200D997AA:buildSettings:OTHER_LDFLAGS:0", Does Not Exist
Print: Entry, ":objects:4247AFA21330EB1200D997AA:buildSettings:OTHER_LDFLAGS", Does Not Exist
$(inherited)
-all_load
Print: Entry, ":objects:C01FCF5008A954540054247B:buildSettings:LIBRARY_SEARCH_PATHS:0", Does Not Exist
Print: Entry, ":objects:C01FCF5008A954540054247B:buildSettings:LIBRARY_SEARCH_PATHS", Does Not Exist
Print: Entry, ":objects:1D6058940D05DD3E006BFB54:buildSettings:OTHER_LDFLAGS:0", Does Not Exist
Print: Entry, ":objects:1D6058940D05DD3E006BFB54:buildSettings:OTHER_LDFLAGS", Does Not Exist
$(inherited)
Print: Entry, ":objects:1D6058950D05DD3E006BFB54:buildSettings:OTHER_LDFLAGS:0", Does Not Exist
Print: Entry, ":objects:1D6058950D05DD3E006BFB54:buildSettings:OTHER_LDFLAGS", Does Not Exist
$(inherited)
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
mergin simulator and device binaries 
lipo: can't open input file: /tmp/16329/work/build/Debug-iphonesimulator/SumApp.app/SumApp (No such file or directory)
   ----- done
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
cp: Icon-29: No such file or directory
  adding: description.json (deflated 17%)
  adding: instrumented/ (stored 0%)
  adding: instrumented/iOS Device/ (stored 0%)
  adding: instrumented/iOS Simulator/ (stored 0%)
  adding: localize/ (stored 0%)
  adding: localize/de.lproj/ (stored 0%)
  adding: localize/de.lproj/messages.strings (deflated 62%)
  adding: localize/en.lproj/ (stored 0%)
  adding: localize/en.lproj/messages.strings (deflated 66%)
  adding: localize/es.lproj/ (stored 0%)
  adding: localize/es.lproj/messages.strings (deflated 64%)
  adding: localize/fr.lproj/ (stored 0%)
  adding: localize/fr.lproj/messages.strings (deflated 63%)
  adding: localize/it.lproj/ (stored 0%)
  adding: localize/it.lproj/messages.strings (deflated 64%)
  adding: localize/ja.lproj/ (stored 0%)
  adding: localize/ja.lproj/messages.strings (deflated 55%)
  adding: localize/ko.lproj/ (stored 0%)
  adding: localize/ko.lproj/messages.strings (deflated 55%)
  adding: localize/locales (deflated 5%)
  adding: localize/pt_BR.lproj/ (stored 0%)
  adding: localize/pt_BR.lproj/messages.strings (deflated 63%)
  adding: localize/ru.lproj/ (stored 0%)
  adding: localize/ru.lproj/messages.strings (deflated 59%)
  adding: localize/zh-Hans.lproj/ (stored 0%)
  adding: localize/zh-Hans.lproj/messages.strings (deflated 56%)
  adding: localize/zh-Hant.lproj/ (stored 0%)
  adding: localize/zh-Hant.lproj/messages.strings (deflated 56%)
  adding: original/ (stored 0%)
  adding: original/iOS Device/ (stored 0%)
  adding: original/iOS Simulator/ (stored 0%)
expr 0 * 0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12469  100   228  100 12241    439  23603 --:--:-- --:--:-- --:--:-- 23585
ls: /Users/sarfaraz/Library/Application Support/iPhone Simulator/6.0/Applications//*/SumApp.app: No such file or directory
cp: /tmp/16329/work/build/Debug-iphonesimulator/SumApp.app: No such file or directory
ls: /Users/sarfaraz/Library/Application Support/iPhone Simulator/6.1/Applications//*/SumApp.app: No such file or directory
cp: /tmp/16329/work/build/Debug-iphonesimulator/SumApp.app: No such file or directory
ls: /Users/sarfaraz/Library/Application Support/iPhone Simulator/7.0/Applications//*/SumApp.app: No such file or directory
cp: /tmp/16329/work/build/Debug-iphonesimulator/SumApp.app: No such file or directory
ls: /Users/sarfaraz/Library/Application Support/iPhone Simulator/7.0-64/Applications//*/SumApp.app: No such file or directory
cp: /tmp/16329/work/build/Debug-iphonesimulator/SumApp.app: No such file or directory
"uid":"b7fd1a3aca7fd008ca5f36fe09879c1d"
Mar 21 18:15:12 2014 /Users/sarfaraz/Downloads/RTW-iOS-Build-Archive/runtime/Debug/libiOSRuntime.a
could not merge original binaries
could not merge instrumented binaries

帮助我。

2 个答案:

答案 0 :(得分:0)

这些错误应该是之前的结果。请看一下日志文件的开头。检查Apple许可证是否正常。这通常是你在这里的原因之一。 多米尼克

答案 1 :(得分:0)

我逐个执行了一些terminal commands,然后在每次执行后都尝试了检测。 我在下面列出了这一点。

Sudo su然后尝试=失败

Sudo xcode-select -switch /Applications/Xcode.app然后尝试=失败

然后从sudo出来并尝试instrumentation和宾果游戏! It succeeded!

I think Sudo xcode-select -switch /Applications/Xcode.app worked for me.

模拟器中app的检测成功。