SamnnyWong opened a new issue #999:
URL: https://github.com/apache/cordova-ios/issues/999


   # Bug Report
   using https://github.com/m0dch3n/vue-cli-plugin-cordova#readme to integrate 
vue project and Cordova. 
   
   ## Problem
   (lldb)     command script import 
"/tmp/54CB8E3C-A425-4356-AEC7E4C03208423A/fruitstrap_00008030_000470CE0ADB802E.py"
   (lldb)     command script add -f 
fruitstrap_00008030_000470CE0ADB802E.connect_command connect
   (lldb)     command script add -s asynchronous -f 
fruitstrap_00008030_000470CE0ADB802E.run_command run
   (lldb)     command script add -s asynchronous -f 
fruitstrap_00008030_000470CE0ADB802E.autoexit_command autoexit
   (lldb)     command script add -s asynchronous -f 
fruitstrap_00008030_000470CE0ADB802E.safequit_command safequit
   (lldb)     connect
   (lldb)     run
   success
   (lldb)     safequit
   
   ### What I did?
   vue add cordova
   npm run cordova-prepare
   cordova platform add `platform` in directory `src-cordova`
   npm run cordova-build-ios in project directory (not src-cordova)
   npm run cordova-serve-ios
   if I run the above commands in terminal t=it will result in a lldb safe quit 
error and the iphone is stuck at a black screen.
   But following the above steps, I managed to get it running in android with 
no problems.
   
   However if I do the following:
   cordova platform rm ios
   cordova platform add ios
   “Open Xcode and enabled auto signing”
   cordova build ios
   open the `ios` directory under src-cordorva/platforms with xcode, click the 
run bottom after xcode recognize my device is connected.
   
   By this way, only the navigation bar appears in the app and the content is 
missing. 
   The navigation bar is built with vuetify component. I have no idea why only 
parts of the app get to shown since everything is built with vue and no native 
component is implemented. so I am not sure if the sever is serving correctly or 
not because the vue pages are not shown and the navigation bar is shown.
   
   ##Environment, Platform, Device
   mac os version: 10.15.6
   xcode version: 12.0.1 
   device: Iphone 11 pro runnning on ios 14.0.1
   
   ## Information
   I have also encountered the following error
   error: Could not delete 
`/Users/xxx/Documents/proj/hello-world/src-cordova/platforms/ios/build` because 
it was not created by the build system.
   and My solution is:
   cordova platform rm ios
   cordova platform add ios
   cordova build ios
   
   but this seems to required me to open xcode and enabled automatic signing 
every time i do the above 3 commands.
   
   Android:
   
![222f170d132a5ea44cfdce99daa590c](https://user-images.githubusercontent.com/2942477/94727274-787f8700-032c-11eb-9da7-8643983002a8.jpg)
   
   IOS:
   
![da6f663c354d9aae5eca6868b01c32d](https://user-images.githubusercontent.com/2942477/94727288-7caba480-032c-11eb-9fd0-90d9fcb61e1d.jpg)
   
   
   github repo: https://github.com/DavidCurryHan/tacticsApp


----------------------------------------------------------------
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]

Reply via email to