![]() I’m on iOS, so the command opens XCode - when it opens, build and run the application: npx cap open ios ![]() ![]() Next, open up the platform-specific IDE with the following command. The console output should look similar to this: MacBook-Pro:MyAppReactApp aaronksaunders$npx cap sync ios ✔ Copying web assets from build to ios/App/public in 348.07ms ✔ Copying native bridge in 1.60ms ✔ Copying in 1.43ms ✔ copy in 368.54ms ✔ Updating iOS plugins in 3.57ms Found 0 Capacitor plugins for ios: ✔ Updating iOS native dependencies with "pod install" (may take several minutes) in 4.23s ✔ update ios in 4.24s Sync finished in 4.626s This will copy over all of the plugin information and the native bridge code for the project to run on device or emulator. Since I work in Visual Studio Code, just open another terminal window and run the following commands to sync the project code: npx cap sync
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |