Unable to copy dsym-file to archive???

Hi Forum

I get this error when I try to use the «build and archive»-function in X-Code: «unable to copy dsym-file to archive - make sure you use dwarf-dsym…»

This happens only with apps that are made with unity. I tried to figure out differences between unity-apps and other X-Code apps I made - couldn’t find any, though.

The «build and archive»*function is kinda convenient, since I don’t have to use the apploader to upload the app to the appstore, but can do everything from within the organizer…

Any ideas?

dsym and dwarf dsym would be difference in debug settings - ensure to not check the project settings but the edit target one as UT cut some settings from the project wide settings.

also ensure that you set the project to add the debug symbols (same screen again as mentioned above)

Thanks dreamora

I actually did set the Target-Settings (as well as any other settings I could find there) with no success…

I also set the «Generate Debug Symbols» to true - which didn’t help either…?

Am I missing something?

I am actually having the same problem. Did you ever find a solution to this?

-Cameron

Nevermind, setting Generate Debug Symbols to true fixed it… thanks

Generate Debug Symbol
→ where do you find this?

in the active target settings

i can confirm the procedure for iOS too

1 set “DWARF with dSYM”
2 enable “Generate Debug Symbols”
3 Build and Archive

I’m still using Xcode 3.2.5 to avoid Xcode 4 issues.

Thank you

Andrea

Hello,

I have a problem that is similar to that thread. Actually, not really but it is in the same context.

I followed many Apple Tutorial in order to get my dSYM file. The problem in my case is that even if it has been generated, I got a “warning : no debug symbols in executable”.

Related post.

Thanks for your time.

For anyone else as dense as myself… here’ a screenshot of where to change these settings:

I’m also downgrading to XCode 3.2.5/SDK 4.2 to avoid issues with Apple rejections.

I’m sorry to necro-resurrect here but I am trying to help a client of mine build his project in 3.x and we were having this same issue. We managed to get it to build the IPA but when he tried to submit it to TestFlight it uploaded 100% then threw out an error saying “This field is required”. Trying to drop the IPA in iTunes resulted in an error “This is not a valid app”.

As if that wasn’t enough, we then accidentally deleted the ext ire Xcode project and ipa and everything so we rebuilt the project through Unity’s Build and Run option. Now, by following your example, now it builds with only 2 warnings about no debug symbols being included in the file but it gives no errors and builds successfully… except the IPA file is not created… We select “Build and archive” and the build succeeds but no IPA is created… what are we missing here?