You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/04/07 02:54:37 UTC
[GitHub] [cordova-plugin-wkwebview-engine] sanfordhuang opened a new issue
#142: Property 'userAgent' not found on object of type 'CDVViewController *'
sanfordhuang opened a new issue #142: Property 'userAgent' not found on object of type 'CDVViewController *'
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/142
# Bug Report
## Problem
failure to build after add simple project for ios platform and show erros:
1. Property 'userAgent' not found on object of type 'CDVViewController*' in CDVWKWebviewEngine.m
2. Use of undeclared identifier 'CDVUserAgentUtil' in CDVWKWebViewEngine.m
3. Use of undeclared identifier 'CDVUserAgentUtil' in CDVWKWebViewEngine.m
### What is expected to happen?
run successfully
### What does actually happen?
failure to run and show the errors:
1. Property 'userAgent' not found on object of type 'CDVViewController*' in CDVWKWebviewEngine.m
2. Use of undeclared identifier 'CDVUserAgentUtil' in CDVWKWebViewEngine.m
3. Use of undeclared identifier 'CDVUserAgentUtil' in CDVWKWebViewEngine.m
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
```
cordova create wkwvtest my.project.id wkwvtest
cd wkwvtest
cordova platform add https://github.com/apache/cordova-ios.git#master
cordova plugin add https://github.com/apache/cordova-plugin-wkwebview-engine.git#master
```
### Info
config.xml:
```
<preference name="WKWebViewOnly" value="true" />
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
```
### Version information
Cordova: 8.1.2
Xcode: 11.4
## Checklist
- [x ] I searched for existing GitHub issues
- [ x] I updated all Cordova tooling to most recent version
- [ x] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org