"Too many symbol files" after successfully submitting my apps - ios

I downloaded Xcode 6 GM and submitted two Swift apps to the app store today. Both passed all pre-upload verification and all the other stuff they had to pass and were successfully submitted. But then I got two emails from Apple... one for each program and they both said this:
Dear developer,
We have discovered one or more issues with your recent delivery for "xxxxxxxx" (my app name removed). Your delivery was successful, but you may wish to correct the following issues in your next delivery:
Too many symbol files - These symbols have no corresponding slice in any binary [1431D977-72BC-308F-AB71-71529F25400B.symbols, 158C72A7-98AC-3F07-B2BE-88427591B413.symbols, 44973EAC-563E-340C-B549-55A5014A68BA.symbols, 678BF06F-0C3D-3A09-BFBF-699C7079FECD.symbols, 90907DDB-0400-38ED-BB5F-0C12333C0624.symbols, 93B79949-5757-374A-97B9-825AE1A61B7D.symbols, ABA05220-4FB0-397F-AFBB-08774A82F4CA.symbols, AD70F02A-4422-32B8-8C40-CF9B45A2CCC6.symbols, B0CC9F7D-C542-3E18-A518-B28B7ECABE80.symbols, BF6A4C3B-6FA5-3C51-8404-19C2F132458D.symbols, C9D6E078-8E2A-39D9-8DEE-476916A69CEE.symbols, CF5320DF-AB31-3845-BAD5-F6E51045D396.symbols, D4967AA3-8FB0-3712-B0DE-7F4144AF8F4B.symbols, D813B314-AD37-31D4-B675-442052994495.symbols, DF42A13F-08D8-3E71-B221-FC357E0B60F5.symbols, F5F636C2-F0E0-3CA7-8F7D-C49A36CD5C65.symbols]
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team
I'm going to guess that really has nothing to do with me or my apps... and it is just a quirk of day one Swift app submissions? Both apps are still sitting in "Waiting for approval" mode. I certainly can't think of anything I could change to make what they said go away! Anyone else submit a Swift app yet and get that response? Think I should just ignore it and wait to see what happens?

This happens if you are including debug information of your libraries with the project archive but are not including binaries.
Open the Organizer window in Xcode
Right-click on an archive that had this issue and select "Show in Finder".
Right-click on the archive file and select "Show Package Contents"
In the "dSYMs" folder you will see several files. If you run the dwarfdump console command on these files you will get a list of UUID strings:
dwarfdump -u MyFile.dSYM
I'm sure you will find some matching UUIDs from Apple's email.
To avoid this warning you need to include with your archive only the dSYM files of your application and not the libraries. For this you need to change the build configuration of the libraries to not generate a dSYM file. Just search for "debug information format" in configuration and change it from DWARF with dSYM File to DWARF only.
For example, in the screenshot below you will find the Stripe iOS framework.

If you encountered this problem while using CocoaPods, add this to your Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
end
end
end
It will set Debug Information Format to DWARF only for all your Pod targets only (not the main app target)

If you are using CocoaPods and your app is set to use arm64 only (i.e. there is only arm64 in your project's info.plist)
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
then you can try adding the following script in your Podfile to solve this issue.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['ARCHS'] = 'arm64'
end
end
end
AND
set all your projects' targets (not the targets in Pods) to arm64 only
CocoaPods Github issue reference

I have this issue due to the project has valid architecture arm64 where the CocoaPods targets have valid architecture arm64, armv7 and armv7s.
To check which target has which valid architecture follow following steps
In Xcode -> Window -> Organizer
Select the archive and Reveal in Finder
On .xcarchive file, Show package content
Open terminal and give path of dSYMs folder.
Enter command dwarfdump --uuid * and it will show list of UUIDs with valid architectures.
The UUID will match with Apple's warning email
The main project and cocoa pods target suppose to have same valid architecture. By doing this, it will solve the issue.

Worked for me by enabling bitcode - it was off before
Enable Bitcode - Yes

The above helped troubleshoot, but couldn't solve. We had project at iOS 12 but pods 10 - led to a bunch of armv7 files. Updating pod to iOS 12 solved instantly.

Had the same problem fixed it by having the same "General" => "Deployment info" => "Deployment target" for all my targets.

In Xcode, look in Build Settings for “Strip Debug Symbols During Copy”
(COPY_PHASE_STRIP). When enabled, debug symbols are omitted from your
.app and placed into a .dSYM file. Otherwise your .app contains these
symbols. (By default, debug symbols are stripped from release builds
for reasons of obfuscation. You probably shouldn’t change this setting
for the release configuration.)
Make sure you check this option in project Build Settings
https://possiblemobile.com/2015/03/symbolicating-your-ios-crash-reports/

The problem for me was a line in my build.xcconfig file.
I had to remove
IPHONEOS_DEPLOYMENT_TARGET = 11.0
which was setting the project to only build for arm64 (and not arm7).
Following the steps by #miOS I could see that the pods project was building for both.

For me everything was very simple. I had the same problem and didn't know what to do for a week.
After you submit an archived application, you will see certificate for distribution in small popup window. There is a checkbox after it, which you should uncheck. After that you will submit it and get an email about symbol files. BUT it isn't problem. It's just a warning; not an error! If you uncheck that checkbox, your app will be sent correctly. I hope it may help you.
Screenshot of the checkbox and the popup:

Related

iOS app has issues saying "Too many symbol files" [duplicate]

I downloaded Xcode 6 GM and submitted two Swift apps to the app store today. Both passed all pre-upload verification and all the other stuff they had to pass and were successfully submitted. But then I got two emails from Apple... one for each program and they both said this:
Dear developer,
We have discovered one or more issues with your recent delivery for "xxxxxxxx" (my app name removed). Your delivery was successful, but you may wish to correct the following issues in your next delivery:
Too many symbol files - These symbols have no corresponding slice in any binary [1431D977-72BC-308F-AB71-71529F25400B.symbols, 158C72A7-98AC-3F07-B2BE-88427591B413.symbols, 44973EAC-563E-340C-B549-55A5014A68BA.symbols, 678BF06F-0C3D-3A09-BFBF-699C7079FECD.symbols, 90907DDB-0400-38ED-BB5F-0C12333C0624.symbols, 93B79949-5757-374A-97B9-825AE1A61B7D.symbols, ABA05220-4FB0-397F-AFBB-08774A82F4CA.symbols, AD70F02A-4422-32B8-8C40-CF9B45A2CCC6.symbols, B0CC9F7D-C542-3E18-A518-B28B7ECABE80.symbols, BF6A4C3B-6FA5-3C51-8404-19C2F132458D.symbols, C9D6E078-8E2A-39D9-8DEE-476916A69CEE.symbols, CF5320DF-AB31-3845-BAD5-F6E51045D396.symbols, D4967AA3-8FB0-3712-B0DE-7F4144AF8F4B.symbols, D813B314-AD37-31D4-B675-442052994495.symbols, DF42A13F-08D8-3E71-B221-FC357E0B60F5.symbols, F5F636C2-F0E0-3CA7-8F7D-C49A36CD5C65.symbols]
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team
I'm going to guess that really has nothing to do with me or my apps... and it is just a quirk of day one Swift app submissions? Both apps are still sitting in "Waiting for approval" mode. I certainly can't think of anything I could change to make what they said go away! Anyone else submit a Swift app yet and get that response? Think I should just ignore it and wait to see what happens?
This happens if you are including debug information of your libraries with the project archive but are not including binaries.
Open the Organizer window in Xcode
Right-click on an archive that had this issue and select "Show in Finder".
Right-click on the archive file and select "Show Package Contents"
In the "dSYMs" folder you will see several files. If you run the dwarfdump console command on these files you will get a list of UUID strings:
dwarfdump -u MyFile.dSYM
I'm sure you will find some matching UUIDs from Apple's email.
To avoid this warning you need to include with your archive only the dSYM files of your application and not the libraries. For this you need to change the build configuration of the libraries to not generate a dSYM file. Just search for "debug information format" in configuration and change it from DWARF with dSYM File to DWARF only.
For example, in the screenshot below you will find the Stripe iOS framework.
If you encountered this problem while using CocoaPods, add this to your Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
end
end
end
It will set Debug Information Format to DWARF only for all your Pod targets only (not the main app target)
If you are using CocoaPods and your app is set to use arm64 only (i.e. there is only arm64 in your project's info.plist)
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
then you can try adding the following script in your Podfile to solve this issue.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['ARCHS'] = 'arm64'
end
end
end
AND
set all your projects' targets (not the targets in Pods) to arm64 only
CocoaPods Github issue reference
I have this issue due to the project has valid architecture arm64 where the CocoaPods targets have valid architecture arm64, armv7 and armv7s.
To check which target has which valid architecture follow following steps
In Xcode -> Window -> Organizer
Select the archive and Reveal in Finder
On .xcarchive file, Show package content
Open terminal and give path of dSYMs folder.
Enter command dwarfdump --uuid * and it will show list of UUIDs with valid architectures.
The UUID will match with Apple's warning email
The main project and cocoa pods target suppose to have same valid architecture. By doing this, it will solve the issue.
Worked for me by enabling bitcode - it was off before
Enable Bitcode - Yes
The above helped troubleshoot, but couldn't solve. We had project at iOS 12 but pods 10 - led to a bunch of armv7 files. Updating pod to iOS 12 solved instantly.
Had the same problem fixed it by having the same "General" => "Deployment info" => "Deployment target" for all my targets.
In Xcode, look in Build Settings for “Strip Debug Symbols During Copy”
(COPY_PHASE_STRIP). When enabled, debug symbols are omitted from your
.app and placed into a .dSYM file. Otherwise your .app contains these
symbols. (By default, debug symbols are stripped from release builds
for reasons of obfuscation. You probably shouldn’t change this setting
for the release configuration.)
Make sure you check this option in project Build Settings
https://possiblemobile.com/2015/03/symbolicating-your-ios-crash-reports/
The problem for me was a line in my build.xcconfig file.
I had to remove
IPHONEOS_DEPLOYMENT_TARGET = 11.0
which was setting the project to only build for arm64 (and not arm7).
Following the steps by #miOS I could see that the pods project was building for both.
For me everything was very simple. I had the same problem and didn't know what to do for a week.
After you submit an archived application, you will see certificate for distribution in small popup window. There is a checkbox after it, which you should uncheck. After that you will submit it and get an email about symbol files. BUT it isn't problem. It's just a warning; not an error! If you uncheck that checkbox, your app will be sent correctly. I hope it may help you.
Screenshot of the checkbox and the popup:

Xcode trying to match frameworks bundle ID when uploading iOS app to App Store

After 4 months developing my first iOS app, it's time to submit it to the App Store. I created the app in iTunes Connect, filled in all the details, set up the correct Bundle ID in both Connect and Xcode. However, I've struggled the last 3 days trying to solve this weird problem. It seems like xcode is trying to upload Cocoapods frameworks, not my main app.
After archiving, I went to Window > Organizer > Validate.... I see the following screen:
The error:
(For googlers: No suitable application records were found. Verify your bundle identifier 'org.cocoapods.Alamofire' is correct).
The error message indicates that it's trying to match a Bundle ID according to a framework's name, not my own bundle (e.g com.organization.AppName). I can't find answers anywhere. I tried doing the following in my Podfile (which has use_frameworks!), as well as my different conf combinations but had no success.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
end
Questions:
Are the steps I'm making correct?
Why is Xcode trying to match a framework's bundle id instead of just my main application?
How can I get past this problem to finally submit my app?
EDIT 1: I was able to get past this problem, but that caused another problem later, so I still don't have a solution. Basically, Alamofire Pod (from Cocoapods) has a bundle id com.xxx.Alamofire. I changed it to com.xxx.myAppName. With that, I was able to send it to the App Store, however I can't install the app in my iPhone from TestFlight due to the following error:
4/22/16, 12:50:29 AM itunesstored[124]: [ApplicationWorkspace]: Failed to install application: com.xxx.myAppName; /var/mobile/Media/Downloads/5927832272594571027/-6969961974973998640; Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=DuplicateIdentifier, ErrorDescription=The parent bundle has the same identifier (com.xxx.myAppName) as sub-bundle at /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.IVHCuO/extracted/Payload/MyApp.app/Frameworks/Alamofire.framework}
I was receiving this exact error when trying to submit the app to iTunes Connect: "No suitable application records were found. Verify your bundle identifier 'org.cocoapods.Alamofire' is correct".
I finally fixed it by changing the Bundle OS Type code to APPL.
It works perfectly for me. I just located Info.plist right-click open as "source code" and I changed <key>CFBundlePackageType</key> to string APPL
<key>CFBundlePackageType</key>
<string>APPL</string>
After quite some time struggling with this, I was able to make it work. Basically, only Alamofire was presenting this issue. Here's what I did:
In the Navigator, click in Pods.
Under Targets you will see all the frameworks your app is using.
Click on Alamofire (or the framework that is causing the issue).
Edit the Bundle Identifier. If your app Bundle Id is com.company.appName, write com.company.appName.Alamofire in it.
I tried com.company.appName for the framework, com.company.Alamofire, nothing worked.
Just experienced this issue with the following error displayed when attempting to upload to the App Store.
iTunes Store operation failed.
No suitable application records were found. Verify your bundle identifier 'org.cocoapods.Alamofire' is correct
We encountered this when attempting to upload (whilst using Cocoapods) and failing to find a fix, took the drastic action of removing Cocoapods from our project entirely and instead manually added each pod as a framework.
And...... the upload to the App Store still failed with basically the same error! 🤔
iTunes Store operation failed.
No suitable application records were found. Verify your bundle identifier 'org.alamofire.Alamofire' is correct
So this looks like it is possibly an error relating to framework usage within Xcode itself.
Finding that this wasn't being necessarily caused by Cocoapods, we decided to keep using Cocoapods and came up with the following steps to fix this.
The fix:
Our project contains 2 targets (ignoring unit test targets etc). 1 for the application (let's call it MyApp) and another that contains the network layer and other non app specific functionality (let's call this MyAppKit).
Add CFBundlePackageType (also known as Bundle OS Type code) to MyApp's Info.plist and set it to APPL.
Make sure that both the project MyApp and the target MyApp have the build setting Always Embed Swift Standard Libraires to Yes.
Make sure that the target MyAppKit has the build setting Always Embed Swift Standard Libraires to No.
Still looking into exactly what's going on here, but thought this may be useful to anyone who's currently experiencing this.
Recently, I had also same issue while I publish the app using cocoapods.
It was Objective-C project and has been integrating pods as dynamic frameworks.
This is already reported bug.
So I recommends following 2 alternatives to work around this issue:
Use static library instead of dynamic framework.
For that, you can comment # use_frameworks! line in your pod file.
If you need to use framework, you could try below steps:
Add your framework as embedded binary in Xcode target.
In build phases of your target, add a Run Script:
Example Script:
# Stripping framework only for archive
if [ "$ACTION" = "install" ]; then
FRAMEWORK_NAME="Framework name"
SCRIPT_FILE_NAME="strip-framework.sh"
# Set working directory to product’s embedded frameworks
cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/${FRAMEWORK_NAME}.framework"
# Get architectures for current file
ARCHS="$(lipo -info "${FRAMEWORK_NAME}" | rev | cut -d ':' -f1 | rev)"
for ARCH in $ARCHS; do
if ! [[ "${VALID_ARCHS}" == *"$ARCH"* ]]; then
# Strip non-valid architectures in-place
lipo -remove "$ARCH" -output "$FRAMEWORK_NAME" "$FRAMEWORK_NAME" || exit 1
fi
done
echo "Framework was successfully stripped with unsupported architectures"
fi
# Removing script from framework folder
if [ -f ${SCRIPT_FILE_NAME} ]; then
rm -rf "${SCRIPT_FILE_NAME}"
fi
Note: please replace your framework name in this script!, you ensure to put this script file named as "strip-framework.sh" into the top level of framework directory.
3rd party frameworks never signed by providers and its duty of consumers.
So when you archive, it signs your frameworks together with your app bundle. But after doing that, Application loader consider your bundle identifier as one of framework. Its weird thing yet.
After 2 days working around, I could publish my app finally.
Even if you could submit by doing this tricky, it will never been installed on the devices.
Finally, I got a perfect solution and found out the reason. This is
happening because your 3rd party frameworks have some issues in it.
For example, in my case Quickblox framework has never supported
bitcode yet. So I had to disable bitcode in build settings for the
main target and frameworks totally. This will fix your issue for sure.
Please review this screenshot:
I hope this will help you guys.
Cheers!
If your apptitle has usual slash "/", then xcode failed to sign it, and thinks that I'm uploading first framework org.cocoapods.***
What I did - changed slash to similar symbol ∕
(first slash, next one - other unicode symbol : ∕/)
In my case I had to remove Provisioning profile setting from Pods sub-project
First please check your bundle identifier. Next please make sure your app is created in-app store connect, which might be one of the reasons not able to upload the app to the store.

Xcode 7 GM created generic archive instead of iOS app archive

I recently started using Xcode 7 GM.
When I archive my project, I get a generic Xcode archive instead of an iOS archive.
I'ved tried pretty much all the following:
xcode is creating generic xcode archive instead of iOS App Archive
Cannot generate iOS App archive in xcode
I compared the contents of a previous successful archive and a different folder structure for some components:
Swift libraries are inside a sub folder
The app extension is outside of the .app package
The info.plist is missing keys
Has anyone else encountering this problem? If so, did you solve and how?
Edit
We are using Cocoapods 0.38.2
I add the same problem : an old Xcode project, Xcode 7 (not the GM, the App Store version) and Cocoapods.
I have been tinkering a lot, tried Cocoapds 0.39 b3 and b4 without success, changed params in Build Settings, but finally - for me - the problem was shown by mrezk in https://github.com/CocoaPods/CocoaPods/issues/4021 :
Missing ApplicationProperties in Info.plist
As I'm not used to tinker with Info.plist and these keys, I've found in the Apple Dev forums a very useful answer : https://forums.developer.apple.com/thread/17063
In summary, for info.plist newbies like me ;) :
Archive your project
Organizer will show a Generic Xcode Archive
Right Click, Show in finder
Right Click, Show Package Contents
Open the Info.plist file in a XML editor
As mochs indicates, add these lines in the section :
<key>ApplicationProperties</key>
<dict>
<key>ApplicationPath</key>
<string>Applications/<<APP_NAME>>.app</string>
<key>CFBundleIdentifier</key>
<string><<BUNDLE_IDENTIFIER>></string>
<key>CFBundleShortVersionString</key>
<string><<YOUR_MARKETING_NUMBER>></string>
<key>CFBundleVersion</key>
<string><<YOUR_BUILD_NUMBER>></string>
<key>SigningIdentity</key>
<string>iPhone Distribution: <<CERTIFICATE_NAME>> (<<CERTIFICATE_ID>>)</string>
</dict>
and replace the tags with your own values.
Save, close Xcode, double click the archive : it should open in the Organizer as a iOS Type Archive.
Thanks to mrezk and mochs for the solution.
OP here.
The members of my team all tried Cocoapods' beta and it fixed the problem for us. Therefore I'm going to accept my own answer.
Although it might fix the problem, I believe Christian Navelot's answer to not be scalable and certainly not manageable within a team.
Also, all of us tried using the cp beta without removing the Copy Pod Resources build phase. This means that I won't be accepting Todd Anderson's answer either.
We are not using static libraries either, we are using frameworks (aka use frameworks! inside the Podfile).
Thanks to all for contributing to this question. Looks like we all got put into the same boat by Xcode 7!
Cheers!
In my case clearing the "Installation Directory" build setting in all static libraries fixed the issue. It was set to "/usr/local/lib" before.
When using "Save Built Product" as export method the Products folder got these sub directories. That's what pointed me in this direction.
I'm using cocoapods 0.38.2.
The other answers mentioned here were temporary fixes, but each required manual effort, either after every archive or after every pod install.
The new, better solution, is to update cocoapods to the latest version and remove your 'Copy Pod Resources' build phase from each app extension.
See https://github.com/CocoaPods/CocoaPods/issues/4021 for more information.
I had a similar issue with XCode7.1.1 and an app project with WatchKit Extension.
I fixed the issue by the following step
Open Build Settings of my app target and set NO to "Skip Install".
Open Build Settings of my WatchKit Extension target and set YES to "Skip
Install"
Open Build Settings of my WatchKit App target and set YES to "Skip
Install"
Then I could make iOS archive.

Xcode5: Apple's web service operation was not successful

it's return:
1、Apple's web service operation was not successful
2、Unable to authenticate the package:730904073.itmsp
3、ERRPR ITMS-9000:"This bundle is invalid.Apps that include an armv7s architecture are required to include an armv7 architecture."at SoftwareAsset/SoftwareAsset(MZItmspSoftwareAssetPackage)
but my "Build Settings","Architectures"is"Standard architectures(including 64-bit)(armv7,armv7s,arm64)".
And when I turn the "Architectures"to the "Standard architectures(armv7,armc7s)" it's same return.
In the past three days,it aways return me this error.
I really don't know what to do.
Please help me .
OK,I got it !
I delete the “armv7s” in Valid Architectures both 'debug' and 'Release'.
And turn the 'Build Active Architecture Only' to 'No'
Then Apple receive it!
I too faced same issues during App submission, I have resolved above problem by following steps
1) Go to Applications->Xcode->contents->Applications->Application Loader.app->Contents->MacOs->itms->java->lib there u will find a file net.properties open it with text edit and then change the line # https.proxyPort=443 with # https.proxyPort=80
2) Quit Xcode and reopen after in build settings make it to Don't Code sign then clean the project
3) in the Build Active Architecture Only all values to NO
4) for Architectures select Standard architectures (including 64-bit)(armv7,armv7s,armv64)
if don't have any images errors you can go ahead and archive and try to submit. if you have it then follow next steps
5) Go -Info.plist file in Xcode in supporting files in that file select icon file remove all the images if you have any thing
6)then clean project and reassign all images in General tab of the project(if u select Project title u can see this tab)
7) select appropriate Code signing identity and Provisiong profile and archive and submit to store

Why are static library symbols not included in dSYM during archive?

We have a pretty major application suite for a client with a couple application targets utilizing several static libraries that we made in house. All targets are contained in one XCode project file.
For some reason when archiving an application the dSYM file does not contain any debug symbols for static libraries. The result is when trying to symbolicate crash logs from field agents we cannot see what is going on inside those static libraries.
I attempted to create a new simple XCode project with one application target and one static library. Even then the debug symbols were missing. I fiddled with the build settings according to this https://github.com/TheRealKerni/QuincyKit/issues/91 without luck.
If I build FOR archiving the debug symbols are included. I ran dwarfdump on the resulting dSYM file and was able to see the symbols for the static libraries implementation files. However when I then attempt to archive the project the symbols are excluded.
Am I missing something? XCode version 4.4.1
I m using XCode 5.1.1 and was having the same problem.
The fix was to set "Strip Linked Product" setting under "Deployment" section to "No" for each dependent library project. For more detail, please see my post at
can i debug ios app installed from ipa archive
This appears to be fixed in a later version of XCode, currently using 4.6 and the problem went away.
If you are stuck using an older version then do the following:
Product > Build For > Archiving
Product > Archive
Open the built product from derived data, you can do this by right clicking on the Youapp.app file in Products group and selecting show in finder. Ensure you are in the Release-xxx folder. Copy the dSYM file generated there and replace the one produced by the archive process. To find where archived files are go to Organizer, Archives tab, right click on an item and show in finder.
Hope this helps.
By default, archive uses release build, which already stripe debug symbols. you can change archive build option to 'not stripe'.

Resources