0

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

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

帮帮我。

4

2 回答 2

0

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

于 2014-03-23T17:56:52.470 回答
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.

在模拟器中检测应用程序成功。

于 2014-03-25T12:24:05.820 回答