Camera and Facebook suddenly stopped working?

I’m testing both modules on my iPhone (Xcode builded). Facebook Login module worked until yesterday, I’ve installed Camera today and only the gallery browsing works.

I’ve tried to backup src folder and re-install the whole app:

rm -rf App
ionic start App tabs
cd App
** replacing src/ ***
ionic cordova plugin add cordova-plugin-facebook4 --variable APP_ID="***" --variable APP_NAME="***"
npm install --save @ionic-native/facebook
ionic cordova plugin add cordova-plugin-camera
npm install --save @ionic-native/camera
ionic cordova platform add ios


import { Facebook } from '@ionic-native/facebook';
import { Camera, CameraOptions } from '@ionic-native/camera';
    providers: [

But it still doesn’t work, when I click on Login with Facebook or Take Photo buttons. Is there a way to track what happens when I click on the buttons with Xcode?

P.S. that’s what I get on the log in Xcode when I’m using the Simulator, but I guess it’s normal, since simulators doesn’t support Facebook and Camera plugins:

2018-06-03 22:50:12.364601+0300 App[29764:2069195] WARN: Native: tried calling Facebook.login, but the Facebook plugin is not installed.
2018-06-03 22:50:12.365247+0300 App[29764:2069195] WARN: Install the Facebook  plugin: 'ionic cordova plugin add cordova-plugin-facebook4'

It looked like I had to re-build the platform:

rm -rf platforms
ionic cordova platform rm ios
ionic cordova platform add ios