iOS Swift Newbie Gotcha Reminders #5 — Too many symbol files

Raymond
iOS Newbies
Published in
2 min readFeb 16, 2019

--

This is a series of multiple XCode / Swift / iOS Programming Gotchas to remind myself and hopefully relieve the stresses of many other beginner programmers whom are struggling with developing iOS apps via XCode.

Learning is a process of making many mistakes.

5. Too many symbol files

Some of you may get the following email from Apple after you submit your apps and it returns back that you have “too many symbol files”.

This occurs if you are including debug information of your libraries to project archive but are not including binaries.

Email back from App Store Connect

Solution 1: Manually set `Debug Information Format`

Go to

Project -> Build Settings -> Debug Information Format

Set it to “DWARF”

Solution 2: Cocoapods

This is my preferred way to fix it because every time I run pod install it auto fixes it with new pods / new schemes.

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

Source:

Cheers!

--

--