prabhashibuddhima opened a new issue #180:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/180
# Bug Report
## Problem
### What is expected to happen?
app build should be success
### What does actually happen?
app build failed
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
I have run the following commands to my ionic v5 app. (please note that I
added
```
<preference name="WKWebViewOnly" value="true" />
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
```
to my config.xml )
`npm install`
`ionic cordova platform add [email protected]`
`cordova plugin add cordova-plugin-wkwebview-engine`
`ionic cordova prepare ios`
`ionic cordova build ios`
and then the following error message showing to me .
`error : linker command failed with exit code 1`
then I tried installing
`sudo gem install cocoapods` --> in app directory
`pod install` --> in platforms/ios
`pod repo update` --> in app directory
then I tried to build my app again by
`ionic cordova build ios`
then I got the following error:
```
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install'
or update your CocoaPods installation.
```
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
ionic ios
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: 10,
Cordova-ios : 5.1.1,
ionic version: 5
platform: ios: 10
-->
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]