Make ANE file with xcode9 source ,Package Air program running crash
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?
