Found unexpected mach-o header code in Xcode?

So, I get an error: "found an unexpected mach-o header code"

enter image description here

Everything that I found on the network asked me to check the phases of my target assembly and see what does not belong to Copy Bundle resources.

What does not belong here, because I feel that everything is in the right place.

enter image description here

enter image description here

UPDATE: I deleted everything in the list and I still encounter this error :(

+4
source share
2 answers

If you use Cocoapods, you should add this to the end of your subfile:

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
        end
    end
end

Loans should go to https://github.com/CocoaPods/CocoaPods/issues/5598

+4
source

2 ,

  • , . ( , , , )
  • "" > " " " "

( 2 ) , .

+2

All Articles