1 5 6 7 8 9 Previous Next 128 Replies
      Latest reply on Nov 7, 2019 11:08 AM by ashoror Go to original post
      • 120. Re: Xcode 8 recompiles every file every build
        Exodream Level 1 Level 1 (0 points)

        Try to find @IBDesignable and comment it. It solved my problem

        • 121. Re: Xcode 8 recompiles every file every build
          Dawne Level 1 Level 1 (0 points)

          I've been having issues as well.  It seems connected to the use of CoreData.  I have read through the comments and tried many of the suggestions...no improvement!  Sooooo frustrating. I'll be reporting a bug...

          • 122. Re: Xcode 8 recompiles every file every build
            haithngn Level 1 Level 1 (0 points)

            Xcode 8.3.3 this issue still happen.

            I just edit some code lines in a class file the xcode re-compile all source files ?

             

            @Apple how do I help you reproduce/solve this problem plz, It's take us a lot of development time.

            • 123. Re: Xcode 8 recompiles every file every build
              SuperWomble Level 1 Level 1 (0 points)

              A completely justified rant, by someone with the scars.

               

              Yet another year goes by, and the Xcode toolchain remains fundamentally broken.

              Version 9.0 (9A235)Xcode 9: can’t type a character in a Swift source file without the entire project rebuilding. Or sourcekitservice crashing. Or sourcekitservice gobbling up all available system RAM.

               

              I’ve done everything people recommended here and on StackOverflow over the years. Every build setting, every clearing of the cache, every script, even  rebuilding projects from scratch. It’s all been for nothing.

               

              It’s impossible to work like this. Whole days of my working month are spent waiting for Xcode to rebuild, after typing a single character in a Swift source file. The productivity is pitiful. No wonder people opt to use tech like React and Javascript for their "native" apps. Apple, you're not giving them much choice.

               

              Year after year, Xcode gets new features added to it, and surprises are sprung on us at WWDC, but Xcode remains a basket case; a perennial Beta not suitable for production work.

               

              What is the good of filing radars when they are ignored, and Xcode is released once a year for marketing purposes, obviously broken?

              This is so incredibly poor. Xcode is not a professional development environment, and by extension, nor is iOS/macOS development.  I’m sure individual engineers at Apple are committed to Xcode, but there is obviously a problem with tool leadership at the company.

               

              Instead of adding new features to Playgrounds, how about FIXING Xcode’s most basic behaviours?

               

              And how about a development roadmap, instead of springing major, broken releases on us once a year?

               

              Maybe it’s time to open source the toolchain, ala Swift? It’s not like Xcode has any great business advantage for Apple right now.


              Maybe Xcode should be forced through the same App Store review process we go through?

               

              Grrr.

              • 124. Re: Xcode 8 recompiles every file every build
                damote Level 1 Level 1 (0 points)

                I was able to resolve this issue by adjusting settings in the build phases for my target.

                 

                We were using a custom script build phase step to insert preprocessing flags into one our cocoapod depedencies. Changing that .xcconfig file caused our project to re-compile on every build or run.


                Checking the box ' Run script only when installing' underneath the script editor in the build phase step solved the issue immediately for us.

                 

                PROJECT SETTINGS > BUILD PHASES > (custom script) > click 'Run script only when installing'

                 

                Now I have my productivity back!!

                 

                 

                Note: You may not have a custom script but I would inspect all of phases in case one is touching the config files for either your project or your dependencies.

                • 125. Re: Xcode 8 recompiles every file every build
                  conradstoll Level 1 Level 1 (0 points)

                  I filed a radar for the original issue with the -driver-show-incremental setting crashing Xcode. I'm pretty confident at this point that the dependency graph is the source of our troubles with very long build times in Xcode (still in the latest 9.0 and 9.1), but without this flag working I'm not sure what options we have to troubleshoot.

                   

                  rdar://35128994

                  • 126. Re: Xcode 8 recompiles every file every build
                    Piso13 Level 1 Level 1 (0 points)

                    Just adding to the pile, I miss objective-c.

                    I've tried all the suggestions uptill now, My compilation time is 2 minutes, when my project was pure objective-c, compile time was less than 20 seconds.

                    • 127. Re: Xcode 8 recompiles every file every build
                      mahboud Level 1 Level 1 (0 points)

                      I feel my hair graying with each 6 minute build!  And I regret using Swift everytime I see the "Compiling Swift files" when all I'm doing is running another set of tests without changes to the source files...

                      • 128. Re: Xcode 8 recompiles every file every build
                        ashoror Level 1 Level 1 (0 points)

                        Hi,

                         

                        So, out the window almost 2020. The problem is still not solved.

                        1 5 6 7 8 9 Previous Next