Skip to main content
Participant
November 23, 2017
Question

Make ANE file with xcode9 source ,Package Air program running crash

  • November 23, 2017
  • 1 reply
  • 231 views

I used xcode9 to write a class library, which joined the ios11 API, like the following, download the 28 beta SDK, packaged into ANE files, run in the original program, there is a crash phenomenon.

            if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"11.0")){

                make.top.equalTo([[MVMASViewAttribute alloc] initWithView:self.view item:self.view.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeTop]);

                make.left.equalTo([[MVMASViewAttribute alloc] initWithView:self.view item:self.view.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeLeft]);

                make.right.equalTo([[MVMASViewAttribute alloc] initWithView:self.view item:self.view.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeRight]);

                make.bottom.equalTo([[MVMASViewAttribute alloc] initWithView:self.view item:self.view.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeBottom]);

            } else {

                make.edges.equalTo(self.view);

            }

My program is based on Flex SDK upgrade to Air SDK 28 beta, after the collapse, I created the ActionScript mobile phone project in Flex Builder, rewritten the code, extended the same ANE file, crash does not appear, the program is running normally, please, why is this?

This topic has been closed for replies.

1 reply

MyronYueAuthor
Participant
November 23, 2017

And after making the class library through xcode9, is must upgrade to the 28 beta version of Air SDK to pack. Is that necessary?