You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
/private/var/mobile/Containers/Bundle/Application/1.../Frameworks/libswiftCore.dylib: mmap() error 1 at address=0x100CD0000, size=0x0015C000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/.../Frameworks/libswiftCore.dylib
As soon as I remove this plugin, everything works fine. Now I've submitted my app to the app store yesterday before trying on a real device with iOS 9 (just updated today) , so I'm dead sure that Apple will also will reject my app as it will crash. Do you have a fast fix here @nikDemyankov? Some guys on SO said its related due to old mobile-provisionings (missing OU in subject, but my certs are fine)
Some embedded-framework problem here?
Issue happens only on real device. And only since I've upgrade to iOS 9. iOS 8 worked well. (iPhone 6)
Xcode 7.0.1, newest, Cordova
By the way. I already tried project from scratch, deleted iOS Platform, reinstalled plugin (from npm and from github). Nothing changed. Swift is making problems here.
Also checked the flag "Embedded Code contains Swift". It was already checked. But as soon as I try to run it on my real device, I get this problems.
The text was updated successfully, but these errors were encountered:
@hirbod Are you trying with the existing project, or absolutely new one? If you can create a test project, that crashes on your device, and send it to me - that would really help to find the problem.
Also, open your project in the Xcode, select project (not the target) and then check the following:
Build Settings -> Linking -> Runpath Search Paths. Check that @executable_path/Frameworks is set in there.
In Build Settings enter Swift in the search field and check, that it matches the following:
Try to set Build Settings -> Assets -> Embed asset packs in product bundle to YES:
Some people said, that this might help.
Also, you can try to delete Xcode's Derived Data directory. That helps sometime.
Will answer soon on this. I think it could be related to project settings. I just checked the targets. Currently I've removed the plugin as I was in hurry, will try these days again
Updated to v1.1.0. Local development mode is now moved to the separate plugin. Please, read the docs about migration to the new version. Basically, no more Swift in release versions.
Continue discussion on Swift crashes, started in issue #26 .
Message from the @hirbod:
The text was updated successfully, but these errors were encountered: