I upgraded to Beta 10 and fixed everything as per instructions. The app is running without any problems on ionic serve
. But ionic build ios
is throwing an error.
/Users/Documents/myApp/platforms/ios/AppName/Plugins/cordova-plugin-ionic-keyboard/IonicKeyboard.m:75:22: error: property 'hackishlyHidesInputAccessoryView' not found on object of type 'UIView *'
self.webView.hackishlyHidesInputAccessoryView = YES;
^
/Users/Documents/myApp/platforms/ios/AppName/Plugins/cordova-plugin-ionic-keyboard/IonicKeyboard.m:78:22: error: property 'hackishlyHidesInputAccessoryView' not found on object of type 'UIView *'
self.webView.hackishlyHidesInputAccessoryView = NO;
^
2 errors generated.
Followed by this error -
Caught exception:
TypeError: Invalid data, chunk must be a string or buffer, not function
at WriteStream.Socket.write (net.js:647:11)
at WriteStream.stream.write (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/cordova-lib/node_modules/npm/node_modules/ansi/lib/newlines.js:36:21)
at Socket.<anonymous> (/usr/local/lib/node_modules/ionic/lib/ionic/cordova.js:284:22)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:172:18)
at Socket.Readable.push (_stream_readable.js:130:10)
at Pipe.onread (net.js:542:20)
Any idea what causes this?