From e2ff941d5aa89b6750a3aebad19e985bcc594366 Mon Sep 17 00:00:00 2001 From: jstjnsn <48677407+jstjnsn@users.noreply.github.com> Date: Wed, 26 Feb 2020 10:52:24 +0100 Subject: [PATCH] Add a notice about invalid code signature errors Multiple people have reported issues on the capacitor github about invalid code signatures when running their app on an external device. As explained here: https://github.com/ionic-team/capacitor/issues/2458 this has to do with using a free Apple Developer account. I thought it would be a good idea to add a notice about this to the tutorial. --- src/pages/react/your-first-app/6-deploying-mobile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/react/your-first-app/6-deploying-mobile.md b/src/pages/react/your-first-app/6-deploying-mobile.md index 0c97e6641fe..b03e158670c 100644 --- a/src/pages/react/your-first-app/6-deploying-mobile.md +++ b/src/pages/react/your-first-app/6-deploying-mobile.md @@ -66,11 +66,11 @@ Next, click on `App` in the Project Navigator on the left-hand side, then within ![Xcode - Selecting Development Team](/docs/assets/img/guides/first-app-cap-ng/xcode-signing.png) - With permissions in place and Development Team selected, we are ready to try out the app on a real device! Connect an iOS device to your Mac computer, select it (`App -> Matthew’s iPhone` for me) then click the "Build" button to build, install, and launch the app on your device: ![Xcode build button](/docs/assets/img/guides/first-app-cap-ng/xcode-build-button.png) +> Unfortunately, free Apple Development accounts can't be used to run apps on external devices when using certain frameworks, one of which is Capacitor. If you get errors about [invalid code signatures](https://github.com/ionic-team/capacitor/issues/2458) for the Capacitor.framework Bundle in XCode, consider [enrolling](https://developer.apple.com/programs/enroll/) for an Apple Developer account. Upon tapping the Camera button on the Photo Gallery tab, the permission prompt will display. Tap OK, then take a picture with the Camera. Afterward, the photo shows in the app!