Posts

Post not yet marked as solved
9 Replies
25k Views
Hello,Just upgraded XCode to version 10. I tried to compile my project which use both Objective-C and C++ files.One of the cpp files includes a header file (.h) which has the following line:#include <new>Compiler gives this error: 'new' file not foundWhy is that? I didn't have this problem with XCode 9.Thanks,Kal
Posted
by KalMudov.
Last updated
.
Post marked as solved
10 Replies
11k Views
Loading some web pages using UIWebView and WKWebView on iOS 11 causing crash with reason "Ran out of executable memory while allocating 128 bytes". The screenshot shows the full stack trace. It seems to be a problem with Webkit's Javascript engine. There was no such a problem on iOS 10 and earlier. So it's new on iOS 11. No problem on Simulator. Only on real device.Here is a screenshot with the full stack trace: https://i.stack.imgur.com/Ht2Dm.pngHere is the source code which I test on iPhone 6s running iOS 11: http://github.com/msencenb/UIWebView-ExampleTo run the example on iPhone you need to:1. Set your developer certificate2. In Build settings set Architectures to Standard3. Add the following lines in your Info.plist:<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>To reproduce the crash in SimpleBrowserViewController.m -> viewDidLoad change the URL from google to https://wstream.video/mobi/iu94ezdbr6h4.If you need more URLs which cause crash let me know.
Posted
by KalMudov.
Last updated
.