我正在尝试使用Xcode 10从存档中导出一个ipa,但是从提取的ipa中的“ Symbols”文件夹中的“ .symbols”文件具有固定的368字节,这似乎只是文件开头没有实际的符号。
如果我使用xcode 9,一切正常。
从Xcode 10导出时,我勾选了“上载应用程序的符号以从Apple接收符号报告”
从命令行导出时,我将“ uploadSymbols”选项设置为true。
xcodebuild -exportArchive -archivePath "Test.xcarchive" -exportOptionsPlist "ExportOptions.plist" -exportPath "Export/"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>generateAppStoreInformation</key>
<false/>
<key>method</key>
<string>app-store</string>
<key>provisioningProfiles</key>
<dict>
<key>com.whatever.Test</key>
<string>WhateverApps</string>
</dict>
<key>signingCertificate</key>
<string>iPhone Distribution</string>
<key>signingStyle</key>
<string>manual</string>
<key>stripSwiftSymbols</key>
<true/>
<key>teamID</key>
<string>A1B2C3D4E5</string>
<key>uploadBitcode</key>
<false/>
<key>uploadSymbols</key>
<true/>
</dict>
</plist>