I’ve been having some issues with stability of my meteor/cordova app since upgrading my test phone (iPhone 5S) to iOS 10.1.1. So I decided to upgrade to Meteor 1.4.2 and see if it helps. Since doing that I can’t get the app to run on my phone using
meteor run ios-device or using
Here is where I’m at:
- Meteor 1.4.2
- iOS 10.1.1
- Xcode 8.1
- macOS Sierra 10.12
When I run from Xcode I get the following error as the app is starting up:
guessum(318,0x1b4c69c40) malloc: *** error for object 0x1700a5c40: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug
I saw this topic #7772 on github which seems to be related but is closed and was pre 1.4.2 so I didn’t post there (but I can if people think I should).
I checked the CSP based on the conversation in that topic and mine appears fine - this is what I see in Web Inspector:
<meta http-equiv="Content-Security-Policy" content="default-src * gap: data: blob: 'unsafe-inline' 'unsafe-eval' ws: wss:;">
There is only one instance of the CSP in the HTML file.
I also checked the files in Xcode
staging/www/application/index.html and both are correct.
I saw that I may need to use
firstname.lastname@example.org but I’m assuming this isn’t needed with 1.4.2. So I am not using it at the moment.
Any help anyone can provide to get running on the device in Xcode to work is much appreciated!