24 Replies
      Latest reply on Sep 7, 2019 4:09 AM by jmillatairnest
      wholefactory Level 1 Level 1 (0 points)

        After installing the iPadOS beta 6 on one of my iPads I get an EXC_BAD_ACCESS exception on the first line of the body definition of the root swiftui view.

         

        By placing a breakpoint in that line I can see in the debugger that the value of the ObservedObject passed to the View is set to 0x000000000001.

         

        The Print Description seems to confirm that the observed value has not been correctly initialized:

        ---------

        Printing description of self._model:

        expression produced error: warning: couldn't get required object pointer (substituting NULL): Couldn't load 'self' because its value couldn't be evaluated

         

        error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x9).

        The process has been returned to the state before expression evaluation.

        ---------

         

        The same code is still working on an iPad with iPadOS beta 5.