The impossible eror 65

I installed Sierra 10.12 and I want to get the app compile for ios.
What I got is
The following build commands failed:
CompileSwift normal x86_64 /Users/r/Documents/c/platforms/ios/appname/Plugins/cordova-plugin-photo-library/PhotoLibrary.swift
_ CompileSwift normal x86_64 /Users/r/Documents/c/platforms/ios/appname/Plugins/cordova-plugin-photo-library/PhotoLibraryProtocol.swift_
_ CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler_
(3 failures)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/r/Documents/c/platforms/ios/cordova/build-debug.xcconfig,-workspace,appname.xcworkspace,-scheme,appname,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone 6s Plus,build,CONFIGURATION_BUILD_DIR=/Users/r/Documents/c/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/r/Documents/c/platforms/ios/build/sharedpch

The package.json is
{
_ “name”: “c”,_
_ “version”: “0.0.1”,_
_ “author”: “Ionic Framework”,_
_ “homepage”: “http://ionicframework.com/”,_
_ “private”: true,_
_ “scripts”: {_
_ “start”: “ionic-app-scripts serve”,_
_ “clean”: “ionic-app-scripts clean”,_
_ “build”: “ionic-app-scripts build”,_
_ “lint”: “ionic-app-scripts lint”_
_ },_
_ “dependencies”: {_
_ “@angular/animations”: “5.2.11”,_
_ “@angular/common”: “5.2.11”,_
_ “@angular/compiler”: “5.2.11”,_
_ “@angular/compiler-cli”: “5.2.11”,_
_ “@angular/core”: “5.2.11”,_
_ “@angular/forms”: “5.2.11”,_
_ “@angular/http”: “5.2.11”,_
_ “@angular/platform-browser”: “5.2.11”,_
_ “@angular/platform-browser-dynamic”: “5.2.11”,_
_ “@ionic-native/android-permissions”: “^4.16.0”,_
_ “@ionic-native/camera”: “^4.16.0”,_
_ “@ionic-native/core”: “~4.15.0”,_
_ “@ionic-native/in-app-browser”: “^4.16.0”,_
_ “@ionic-native/network”: “^4.16.0”,_
_ “@ionic-native/open-native-settings”: “^4.16.0”,_
_ “@ionic-native/photo-library”: “^4.16.0”,_
_ “@ionic-native/splash-screen”: “~4.15.0”,_
_ “@ionic-native/status-bar”: “~4.15.0”,_
_ “@ionic/pro”: “2.0.3”,_
_ “@ionic/storage”: “2.2.0”,_
_ “cordova-android”: “^7.1.1”,_
_ “cordova-browser”: “5.0.4”,_
_ “cordova-ios”: “^4.5.5”,_
_ “cordova-open-native-settings”: “1.5.1”,_
_ “cordova-plugin-add-swift-support”: “^1.6.0”,_
_ “cordova-plugin-android-permissions”: “1.0.0”,_
_ “cordova-plugin-camera”: “4.0.3”,_
_ “cordova-plugin-device”: “2.0.2”,_
_ “cordova-plugin-file”: “^5.0.0”,_
_ “cordova-plugin-inappbrowser”: “3.0.0”,_
_ “cordova-plugin-ionic-keyboard”: “^2.0.5”,_
_ “cordova-plugin-ionic-webview”: “^2.0.0”,_
_ “cordova-plugin-network-information”: “2.0.1”,_
_ “cordova-plugin-photo-library”: “2.1.1”,_
_ “cordova-plugin-splashscreen”: “5.0.2”,_
_ “cordova-plugin-statusbar”: “2.4.2”,_
_ “cordova-plugin-whitelist”: “1.3.3”,_
_ “ionic-angular”: “3.9.2”,_
_ “ionicons”: “3.0.0”,_
_ “rxjs”: “5.5.11”,_
_ “sw-toolbox”: “3.6.0”,_
_ “zone.js”: “0.8.26”_
_ },_
_ “devDependencies”: {_
_ “@ionic/app-scripts”: “^3.2.0”,_
_ “typescript”: “~2.6.2”_
_ },_
_ “description”: “An Ionic project”,_
_ “cordova”: {_
_ “plugins”: {_
_ “cordova-plugin-inappbrowser”: {},_
_ “cordova-plugin-network-information”: {},_
_ “cordova-plugin-photo-library”: {_
_ “PHOTO_LIBRARY_USAGE_DESCRIPTION”: “Alegere poze”_
_ },_
_ “cordova-plugin-camera”: {},_
_ “cordova-plugin-whitelist”: {},_
_ “cordova-plugin-statusbar”: {},_
_ “cordova-plugin-device”: {},_
_ “cordova-plugin-splashscreen”: {},_
_ “cordova-plugin-ionic-webview”: {},_
_ “cordova-plugin-ionic-keyboard”: {},_
_ “cordova-plugin-android-permissions”: {},_
_ “cordova-open-native-settings”: {}_
_ },_
_ “platforms”: [_
_ “android”,_
_ “ios”_
_ ]_
_ }_
}

I uninstalled the ios platform and the node_modules a few times already.
I also set the apple id in xcode.

Can it be the fact that I use an free dev account and not a paid one ?