{"action":"created","issue":{"url":"https://api.github.com/repos/NiklasMerz/cordova-plugin-fingerprint-aio/issues/121","repository_url":"https://api.github.com/repos/NiklasMerz/cordova-plugin-fingerprint-aio","labels_url":"https://api.github.com/repos/NiklasMerz/cordova-plugin-fingerprint-aio/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/NiklasMerz/cordova-plugin-fingerprint-aio/issues/121/comments","events_url":"https://api.github.com/repos/NiklasMerz/cordova-plugin-fingerprint-aio/issues/121/events","html_url":"https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/issues/121","id":363677869,"node_id":"MDU6SXNzdWUzNjM2Nzc4Njk=","number":121,"title":"Get errors when try build for Ionic IOS","user":{"login":"muhammadomais","id":9904352,"node_id":"MDQ6VXNlcjk5MDQzNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/9904352?v=4","gravatar_id":"","url":"https://api.github.com/users/muhammadomais","html_url":"https://github.com/muhammadomais","followers_url":"https://api.github.com/users/muhammadomais/followers","following_url":"https://api.github.com/users/muhammadomais/following{/other_user}","gists_url":"https://api.github.com/users/muhammadomais/gists{/gist_id}","starred_url":"https://api.github.com/users/muhammadomais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhammadomais/subscriptions","organizations_url":"https://api.github.com/users/muhammadomais/orgs","repos_url":"https://api.github.com/users/muhammadomais/repos","events_url":"https://api.github.com/users/muhammadomais/events{/privacy}","received_events_url":"https://api.github.com/users/muhammadomais/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-25T17:05:51Z","updated_at":"2018-09-25T19:53:06Z","closed_at":null,"author_association":"NONE","body":"### Bug report\r\n\r\n<!-- \r\n## Do you have a question ?\r\n\r\n**Please go to [Gitter](https://gitter.im/cordova-plugin-fingerprint-aio) and ask here. Avoid submitting support requests as issues on Github. If you have trouble installing this plugin, please ask on Gitter first.**\r\n-->\r\n## Description\r\n\r\n<!-- Please use the search first to check if this bug report exists already -->\r\n\r\n* What did you do?\r\n```ionic cordova build ios```\r\n\r\n* What did happen?\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:6:5: error: expected declaration\r\n\r\n    fileprivate var policy:LAPolicy!\r\n\r\n    ^\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:6:16: error: consecutive declarations on a line must be separated by ';'\r\n\r\n    fileprivate var policy:LAPolicy!\r\n\r\n               ^\r\n\r\n               ;\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:8:22: warning: extraneous '_' in parameter: 'command' has no keyword argument name\r\n\r\n    func isAvailable(_ command: CDVInvokedUrlCommand){\r\n\r\n                     ^~\r\n\r\n                     \r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:34:23: warning: extraneous '_' in parameter: 'command' has no keyword argument name\r\n\r\n    func authenticate(_ command: CDVInvokedUrlCommand){\r\n\r\n                      ^~\r\n\r\n                      \r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:77:15: warning: unnecessary check for 'iOS'; minimum deployment target ensures guard will always be true\r\n\r\n        guard #available(iOS 9.0, *) else {\r\n\r\n              ^\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:15:43: error: incorrect argument label in call (have 'status:messageAs:', expected 'status:messageAsString:')\r\n\r\n        var pluginResult = CDVPluginResult(status: CDVCommandStatus_ERROR, messageAs: \"Not available\");\r\n\r\n                                          ^                                ~~~~~~~~~\r\n\r\n                                                                           messageAsString\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:18:24: error: value of type 'LAContext' has no member 'biometryType'\r\n\r\n                switch(authenticationContext.biometryType) {\r\n\r\n                       ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:36:43: error: incorrect argument label in call (have 'status:messageAs:', expected 'status:messageAsString:')\r\n\r\n        var pluginResult = CDVPluginResult(status: CDVCommandStatus_ERROR, messageAs: \"Something went wrong\");\r\n\r\n                                          ^                                ~~~~~~~~~\r\n\r\n                                                                           messageAsString\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:43:27: error: type 'LAPolicy!' has no member 'deviceOwnerAuthenticationWithBiometrics'\r\n\r\n                policy = .deviceOwnerAuthenticationWithBiometrics;\r\n\r\n                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:78:23: error: type 'LAPolicy!' has no member 'deviceOwnerAuthenticationWithBiometrics'\r\n\r\n            policy = .deviceOwnerAuthenticationWithBiometrics\r\n\r\n                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/Users/momais01/Desktop/ionic/ionicpro/myblue/platforms/ios/MyApp/Plugins/cordova-plugin-fingerprint-aio/Fingerprint.swift:82:19: error: type 'LAPolicy!' has no member 'deviceOwnerAuthentication'\r\n\r\n        policy = .deviceOwnerAuthentication\r\n\r\n                  ^~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n\r\n** BUILD FAILED **"},"comment":{"url":"https://api.github.com/repos/NiklasMerz/cordova-plugin-fingerprint-aio/issues/comments/424478895","html_url":"https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/issues/121#issuecomment-424478895","issue_url":"https://api.github.com/repos/NiklasMerz/cordova-plugin-fingerprint-aio/issues/121","id":424478895,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDQ3ODg5NQ==","user":{"login":"NiklasMerz","id":3585860,"node_id":"MDQ6VXNlcjM1ODU4NjA=","avatar_url":"https://avatars0.githubusercontent.com/u/3585860?v=4","gravatar_id":"","url":"https://api.github.com/users/NiklasMerz","html_url":"https://github.com/NiklasMerz","followers_url":"https://api.github.com/users/NiklasMerz/followers","following_url":"https://api.github.com/users/NiklasMerz/following{/other_user}","gists_url":"https://api.github.com/users/NiklasMerz/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasMerz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasMerz/subscriptions","organizations_url":"https://api.github.com/users/NiklasMerz/orgs","repos_url":"https://api.github.com/users/NiklasMerz/repos","events_url":"https://api.github.com/users/NiklasMerz/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasMerz/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T19:53:06Z","updated_at":"2018-09-25T19:53:06Z","author_association":"OWNER","body":"Please open the project in Xcode and set the version to 3.2\n\nAm 25. Sep. 2018, 21:49, um 21:49, Muhammad Omais <notifications@github.com> schrieb:\n>When i run following command in the terminal\n>`xcrun swift -version`\n>I get following information\n>Apple Swift version 2.2 (swiftlang-703.0.18.8 clang-703.0.31)\n>Target: x86_64-apple-macosx10.9\n>\n>-- \n>You are receiving this because you commented.\n>Reply to this email directly or view it on GitHub:\n>https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/issues/121#issuecomment-424477927\n"}}
{"actor":{"display_login":"NiklasMerz"}}