7 Replies
      Latest reply: Oct 27, 2016 3:16 AM by luckychunxiao RSS
      dacheng Level 1 Level 1 (0 points)

        After upgrading the XCode GM is still the same problem. Details look at :

        https://forums.developer.apple.com/thread/61266

         

        please apple workers give me a feasible solution on swift3. I have already submitted this bug, but I can`t test my code now

        • Re: please give me a solution
          dacheng Level 1 Level 1 (0 points)
          
          dyld`__abort_with_payload:
              0x100135cd0 <+0>:  movz   x16, #0x209
              0x100135cd4 <+4>:  svc    #0x80
          ->  0x100135cd8 <+8>:  b.lo   0x100135cf0               ; <+32>
              0x100135cdc <+12>: stp    x29, x30, [sp, #-16]!
              0x100135ce0 <+16>: mov    x29, sp
              0x100135ce4 <+20>: bl     0x100135500               ; cerror_nocancel
              0x100135ce8 <+24>: mov    sp, x29
              0x100135cec <+28>: ldp    x29, x30, [sp], #16
              0x100135cf0 <+32>: ret
          

          run it  stop at 5 line

          The GM version`console output nothing

          • Re: please give me a solution
            eskimo Apple Staff Apple Staff (6,075 points)

            I have already submitted this bug …

            What’s the bug number?

            Share and Enjoy

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

              • Re: please give me a solution
                dacheng Level 1 Level 1 (0 points)

                Bug ID 28044221

                  • Re: please give me a solution
                    eskimo Apple Staff Apple Staff (6,075 points)

                    Are you sure you converted all of your project to Swift 3.  I grabbed the project from your bug report and it wouldn’t compile because it was still referenced Swift 2 constructs (for example, MTLDevice.newLibraryXxx(_:) rather than MTLDevice.makeLibrary(xxx:)).

                    Share and Enjoy

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

                • Re: please give me a solution
                  quietwar Level 1 Level 1 (0 points)

                  Hi, was there a solution to this bug? I get a similar error when i try to run on swift 3 xcode 8

                   

                   

                  dyld`__abort_with_payload:

                      0x1004a1cd0 <+0>:  movz   x16, #0x209

                      0x1004a1cd4 <+4>:  svc    #0x80

                  ->  0x1004a1cd8 <+8>:  b.lo   0x1004a1cf0               ; <+32>

                      0x1004a1cdc <+12>: stp    x29, x30, [sp, #-16]!

                      0x1004a1ce0 <+16>: mov    x29, sp

                      0x1004a1ce4 <+20>: bl     0x1004a1500               ; cerror_nocancel

                      0x1004a1ce8 <+24>: mov    sp, x29

                      0x1004a1cec <+28>: ldp    x29, x30, [sp], #16

                      0x1004a1cf0 <+32>: ret 

                  and

                   

                   

                  dyld`_dyld_start:

                      0x10047d000 <+0>:   mov    x28, sp

                      0x10047d004 <+4>:   and    sp, x28, #0xfffffffffffffff0

                      0x10047d008 <+8>:   movz   x0, #0

                      0x10047d00c <+12>:  movz   x1, #0

                      0x10047d010 <+16>:  stp    x1, x0, [sp, #-16]!

                      0x10047d014 <+20>:  mov    x29, sp

                      0x10047d018 <+24>:  sub    sp, sp, #16               ; =16

                      0x10047d01c <+28>:  ldr    x0, [x28]

                      0x10047d020 <+32>:  ldr    x1, [x28, #8]

                      0x10047d024 <+36>:  add    x2, x28, #16              ; =16

                      0x10047d028 <+40>:  adrp   x4, -1

                      0x10047d02c <+44>:  add    x4, x4, #0                ; =0

                      0x10047d030 <+48>:  adrp   x3, 48

                      0x10047d034 <+52>:  ldr    x3, [x3, #3456]

                      0x10047d038 <+56>:  sub    x3, x4, x3

                      0x10047d03c <+60>:  mov    x5, sp

                      0x10047d040 <+64>:  bl     0x10047d088               ; dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*)

                  ->  0x10047d044 <+68>:  mov    x16, x0

                      0x10047d048 <+72>:  ldr    x1, [sp]

                      0x10047d04c <+76>:  cmp    x1, #0                    ; =0

                      0x10047d050 <+80>:  b.ne   0x10047d05c               ; <+92>

                      0x10047d054 <+84>:  add    sp, x28, #8               ; =8

                      0x10047d058 <+88>:  br     x16

                      0x10047d05c <+92>:  mov    x30, x1

                      0x10047d060 <+96>:  ldr    x0, [x28, #8]

                      0x10047d064 <+100>: add    x1, x28, #16              ; =16

                      0x10047d068 <+104>: add    x2, x1, x0, lsl #3

                      0x10047d06c <+108>: add    x2, x2, #8                ; =8

                      0x10047d070 <+112>: mov    x3, x2

                      0x10047d074 <+116>: ldr    x4, [x3]

                      0x10047d078 <+120>: add    x3, x3, #8                ; =8

                      0x10047d07c <+124>: cmp    x4, #0                    ; =0

                      0x10047d080 <+128>: b.ne   0x10047d074               ; <+116>

                      0x10047d084 <+132>: br     x16