SwiftUI Landmark sample app issue when running on device

Hi folks,

Trying out SwiftUI. The Landmark sample app on my iphone.

It builds, installs on the phone fine, launches but then quits immediately.

(Works fine on the simulator with same device specified) (iphone Xs)


Error is:

dyld`__abort_with_payload:

0x1002ba5f0 <+0>: mov x16, #0x209

0x1002ba5f4 <+4>: svc #0x80

-> 0x1002ba5f8 <+8>: b.lo 0x1002ba610 ; <+32>

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

0x1002ba600 <+16>: mov x29, sp

0x1002ba604 <+20>: bl 0x1002b998c ; cerror_nocancel

0x1002ba608 <+24>: mov sp, x29

0x1002ba60c <+28>: ldp x29, x30, [sp], #0x10

0x1002ba610 <+32>: ret


Have tried adding

  • SwiftUI.framework,
  • UIKit.framework
  • libswiftui.tbd

to the Link Binary with Libraries.

Still no dice.


Any pointers will be appreciated. Thanks !


Mac (10.15 Beta)

iPhone Xs (12.3.1)

Xcode (11.0 beta)

Answered by appsmatics in 363963022

Flashing the iphone to ios 13 did the trick. App launches fine now.

Same reported here .. so must be some simple goof up !

https://forums.developer.apple.com/message/323237

Accepted Answer

Flashing the iphone to ios 13 did the trick. App launches fine now.

SwiftUI Landmark sample app issue when running on device
 
 
Q