Running 1 of 2 custom shell script stuck for 2 minutes in Xcode

前端 未结 2 1539
不思量自难忘°
不思量自难忘° 2020-12-17 01:18

Running 1 of 2 custom shell scripts it stuck for 2 minutes while trying to build the app.

I tried to fix with the solution :Xcode custom sh

2条回答
  •  旧巷少年郎
    2020-12-17 01:48

    Added this at the end of you Podfile

    post_install do |installer|
        puts("Update debug pod settings to speed up build time")
        Dir.glob(File.join("Pods", "**", "Pods*{debug,Private}.xcconfig")).each do |file|
        File.open(file, 'a') { |f| f.puts "\nDEBUG_INFORMATION_FORMAT = dwarf" }
      end
    end
    

提交回复
热议问题