1 Reply
      Latest reply on Mar 27, 2019 3:24 AM by eskimo
      giguerea Level 1 Level 1 (10 points)

        After updating my Xcode to 10.2 and doing the Swift 5 migration, I got an errors in the Test Target of my dynamic framework

         

        Cannot load underlying module for ''

         

        any idea?

         

        If I comment out my import in my test file

         

        @testable import 

         

        everything compiled ok

         

        thanks

        • Re: Swift 5 - Cannot load underlying module for 'MyModuleName'
          eskimo Apple Staff Apple Staff (11,035 points)

          Two things:

          • Have you tried doing a clean build?  It’s possible that Xcode 10.2 is trying to use some build product created by the earlier Xcode and hence getting confused.

          • If that doesn’t work, try create a new project from one of the built-in templates and see if that has the same problem.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"