Won't Copy To Device

I am busy now, but I will get back to you guys the 26th.

The device was setup. I couldn’t attach the screenshots, so check the ones out on the pdf at https://drive.google.com/file/d/0Bw_oMQkFFuU-djBhTUF0bHM3RFF2WG11YmVvb3d3MEJvSVRj/view?usp=sharing

When posting, you can click ‘more reply options’ below to get a menu for attaching images and files.

That all looks good.

How about the result of the advice from Rob.  I’m particularly keen to know if xCode is seeing your device as attached.

It is seeing the device as attached and configured

Sorry, I should have asked these things earlier:

  1. What version of Corona are you using?

  2. What Version of OS X are you running?

  3. Are you able to build it with the ‘do nothing’ option, then installed it to your device using the xCode devices view?

I wonder if you’re blocked entirely or if this is just a weird Corona problem.  My guess is this will also be blocked.

  1. Was that wild-card certificate made for your device? 

I know it’s a silly question, but I have to ask, because if that device is not in the certificate list it won’t be able to install on the device.

I may think of more questions later.

  1. Is the app already installed on your device?  If so, delete it like you would any other app, then try again.

It may not like having the app on the device if you’ve changed certificates for the current build.

  1. Have you enabled the device for development?  This is something you used to have to do (I’m not sure if this is required any more) and you did it via xCode.  Until then, you could not install apps from xCode.

https://apple.stackexchange.com/questions/159196/enable-developer-inside-the-settings-app-on-ios

  1. Have you resolved the warning about the launch assets and settings?  This probably won’t block installing on your own device, but you’ll need to resolve it to do a real release, so best to get that right just in case.
  1. 3188

  2. 10.12.6

  3. Blocked

  4. Made for the Device

  5. No

  6. It is Setup for Development in the default, new way

  7. No

Thanks!

Now, it says "ERROR: code signing failed: /Users/Strong621/Desktop/Luke’s Apps/GK/Gram K.app: replacing existing signature

/Users/Strong621/Desktop/Luke’s Apps/GK/Gram K.app: unknown error -1=ffffffffffffffff"

Okay, I just ran some tests. It is an unknown signing issue. Should I post my code on Github?

I doubt posting code is going to help with signing issues.  Is that error coming from a Corona dialog? Is it in our Console log? Is it in the Xcode device console log?

What happens if you try to use Xcode’s Devices & Simulators to install the app instead of Corona?

Rob

The error is coming from Corona. It comes up in the logs, and it alerts me. There is an error when I try to run it only on a real phone, it works fine in the simulator. Lastly, it says unknown error when I try to install it to the device through the devices/simulators tab.

Can you copy/paste the exact message from the console log?

Rob

I attached a screenshot.

Also, I may have been doing the Xcode download wrong. How would I do that? I also so someone else was having the same problem. When I try to go and sign a sample with the same provisioning profile, it doesn’t work.

I just redid everything. I copy and pasted the project and used that folder. Then, I made a completely new development provisioning profile, added the phone, and downloaded it. I built it and first tried to install with Xcode. It said “The executable contains an invalid signature.” Then, I tried to install with Corona. It said "ERROR: code signing failed: /Users/Strong621/Desktop/Luke’s Apps/Final/Gram-K copy.app: replacing existing signature

/Users/Strong621/Desktop/Luke’s Apps/Final/Gram-K copy.app: unknown error -1=ffffffffffffffff", and the console logs were the same thing.

Anyone?

It sounds like there is something wrong with your iOS dev setup.

You should debug that, but not using Corona at all.  

i.e. find a recent tutorial on the web or YouTube and make a basic ‘hello world’ app.

Then sign and install it.

This will let you know whether the xCode installation and iOS dev setup is right or wrong.  It may also give you some hints on what is wrong if there is a problem.

I suggest looking around Ray Wenderlich’s site: https://www.raywenderlich.com/

The tutorial can be about swift or anything else as long as it includes a discussion of making your certificates, and installing to an actual device.

It looks like Ray W’s site has a great two part tutorial on getting started from ‘no account’ to ‘submitted to store’.

It covers all the steps in great detail and may have some useful info for you to verify your setup is correct: