Xcode去用Archive打包企业版app,在编译的最后出错:
<div–<————————————————————–
Copyright 2014-2015 Bugly @Tencent. All rights reserved.
This script will extract symbols from the .dSYM file and generate .symbol file(Bugly supported) and upload to server.
You could visit http://bugly.qq.com to get more details about Bugly.
<div–<————————————————————–
Uploading dSYM to Bugly.
Info.Plist : SalesApp/Info.plist
<div–<——————————
Step 1: Prepare application information.
<div–<——————————
Product Name: 集客管家
Bundle Identifier: com.qorosauto.QorosSalesApp
Version: 1.0.0
Build: 20160816
Bugly App ID: 900038066
Bugly App key: kJXXGtVTGu2aZS9l
Bugly App Version: 1.0.0(20160816)
<div–<——————————
Step 2: Check the arguments …
Scaning dSYM FOLDER: /Users/minglong/Library/Developer/Xcode/DerivedData/SalesApp-encfnbgsjwzfnadwkmwipcpmsqja/Build/Intermediates/ArchiveIntermediates/SalesApp/BuildProductsPath/Release-iphoneos …
Found dSYM file: /Users/minglong/Library/Developer/Xcode/DerivedData/SalesApp-encfnbgsjwzfnadwkmwipcpmsqja/Build/Intermediates/ArchiveIntermediates/SalesApp/BuildProductsPath/Release-iphoneos/Alamofire.framework.dSYM
.dSYM file: /Users/minglong/Library/Developer/Xcode/DerivedData/SalesApp-encfnbgsjwzfnadwkmwipcpmsqja/Build/Intermediates/ArchiveIntermediates/SalesApp/BuildProductsPath/Release-iphoneos/Alamofire.framework.dSYM
<div–<——————————
Step 3: Extract symbol info from .dSYM file. to /Users/minglong/Library/Developer/Xcode/DerivedData/SalesApp-encfnbgsjwzfnadwkmwipcpmsqja/Build/Intermediates/ArchiveIntermediates/SalesApp/BuildProductsPath/BuglySymbolsTemp/Alamofire.framework.dSYM.bSymbol.zip
<div–<——————————
Error: Jar file ‘/Users/minglong/bin/buglySymboliOS.jar’ was not found.
Please copy the jar file into ~/bin folder.
<div–<——————————
No upload and exit.
<div–<————————————————————–
Command /bin/sh failed with exit code 1
然后去:
Bugly SDK – Android SDK_iOS SDK_NDK_符号表工具
下载对应你所需要的Android或iOS的符号表工具,
比如此处是iOS的:
下载完毕后,解压,得到:
buglySymboliOS.jar
解压到对应的位置:
你的home文件夹
此处可以通过:
命令行中,通过
cd ~
pwd
即可看到你的home
或者是:
即可打开对应的目录。
-》
从此处从错误信息
/Users/minglong/bin/buglySymboliOS.jar
中,也可以看出,此处的Home目录是:
/Users/minglong
进入后,新建一个bin目录
然后把buglySymboliOS.jar拷贝进去,即可。
如图: