I am submitting an iOS app to the App Store using Application Loader, however, it never gets past the "Sending API usage to iTunes Connect" stage. There is no error - this stage just doesn't complete.
I have verified that the Mac is connecting to the internet (I can visit websites). Also, the app is tiny (6MB) so this can't conceivably just be a long upload. I've tried leaving this for 20 minutes.
The background to this is that I developed in Flash CS5 on a Windows PC, built it for distribution there, and now on the Mac I am loading the final file into Application Loader to submit it. It verifies/validates the file just fine, but won't go beyond this point.
Any ideas anyone? Perhaps it's a network issue?
I had this problem when behind a firewall.
I got around it by going to Xcode > Contents > Applications > Application Loader > Contents > MacOS > itms > java > lib - Open net.properties with TextEdit and change the line
# https.proxyPort=443
to https.proxyPort=80. This enables the application to use the HTTP port for HTTPS. Worked straight away after this. Hope this helps.
You can solve this with a different approach using your iPhone. Disconnect ethernet internet cable connection (if you have one) and/or switch off wifi connection on your mac. Switch off your iPhone's wifi connection so G3 or G4 is active and turn on personal hotspot. Connect your iPhone with a usb cable with your computer and check in System Preferences -> Network if you're connected to internet via usb with iPhone. Start delivering your app with Application Loader program on your computer via your iPhone's internet connection. And yes you will cross the “Sending API usage to iTunes Connect” barrier and you will be able to upload the package to the iPhone store. At least I was!
If your Mac is has both a WiFi and an Ethernet connection, try turning off WiFi. That solved the problem for me (this time anyway).
I solved only rebooting mac.
I'm still searching for a less drastic solution!
I had my DNS set up to Google DNS. I removed the DNS settings and it worked for me.
Turning off iphone's wifi worked for me
Are you using Xcode Organiser > Upload to App Store or Application Loader?
I found I had the same issue when going though Xcode Organiser so tried it from the Application Loader (found within Xcodes application files) and it worked just fine. If that doesn't work there is a detailed activity log you can check to get a more detailed error.
Other things to try
- check your firewall settings, maybe temporary disable them.
- use an alternative connection, another wifi hotspot if you are on a MacBook, if not do what Oliver said and use your iPhone's cellular data.
I was connected to a VPN, disconnected and problem was solved.
Related
I am trying to run an app on my physical device, it starts to build onto my device then crashes due to an 'invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.'
I have updated my iPhone and Xcode to the latest release, tried to clean the build and edit run scheme build configuration to 'Release' and tried to set my executable to 'Ask On Launch'. I searched for a Iphone Developer file on keychain and could not seem to find one but i am not sure what i am supposed to do.
Can anyone help?
The problem is that the developer is not trusted on the device. If you manually try to run the apps on the device, you will see an Untrusted Developer message.
To solve this issue on the device, go to Settings > General > Profiles or Settings > General > Device Management, depending on the device type and the iOS version. There, trust the developer and allow the apps to be run.
For newer versions on your iPhone (version 14+)
Settings > General > Device Management (In the VPN section past Date & Time section).
Then trust the device
Adding newer settings
2022 iPhone 15 variation. Load the app --> Next as below.
Settings > General >
VPN & Device Management > Developer App > Trust "Apple Development:....."
Please check the internet connection of the Testing IOS device, Signature verification fails if device isn't connected to Internet.
I had the same issue, I just
Created a new Project with the sample Hello world
Deployed it to the device - it was working
Deployed my desired app again and it started working
I hope it helps.
If nothing works, do this,
Open XCode -> Window -> Devices & Simulators.
Remove your device from that window.
Reconnect the device and you will receive the trust certificate again.
This work after upgrading to iOS 15.
on your iphone,
Settings > General > Profiles or Settings > General > Device Management
Developer app. (Click on) for trust.
In my case simply reconnecting the lightning cable did the job.
If you see this issue happen out of nowhere, one other possible source of the problem is a network outage.
Your device will periodically need to dial out to a service to validate the provisioning profile. I don't have details on how often this needs to happen but I do know this validation action happens during the app's startup. If your device can't connect to the internet or Apple is experiencing an outage, it can interrupt this process and produce this error.
You can check the status of Apple's services here:
https://developer.apple.com/system-status/
Certificates, Identifiers & Profiles is what you want to keep an eye on.
If none of the above works and you've already trusted the developer, try 4G/5G connection instead of wifi.
This problem occurs because the installed app's developer is not trusted by iOS device.
To solve this issue on the device, go to
Settings > General > VPN & Device Management
Here is the screenshot
My problem is - I work on a remote mac through Remote Desktop Connection - from a windows host.
I have my app ready on remote mac.
I have my iPod with me, connected to my windows host.
How do I get this app onto my device for testing purpose?
My access to the mac is through RDP.
I edited the rdp connection to allow local usb access to my remote mac, (remotely) hoping that my mac would see it as a device. But it didn't.
Is there any way it would see my iPod?
(I already read this and it requires mac-to-ipod direct connection.)
Or is there any other path I can get my app package on my device for testing through windows machine?
Firstly you will have to add your iPod to the developer portal if you haven't already. Next you can do a build and archive which will export your app into organiser. Click on the app version in organiser and click the distribute button and make sure you select ad-hoc distribution. This will give you a .app packaged version of your app which can then be sent across to your windows machine from your remote desktop where you can then drag it into iTunes and install it on your iPod.
If you are testing lots of different builds of your app over a short space of time then i would suggest using test flight, which can be found easily when googled. It allows you to upload versions of your app through and ad-hoc .app package which ca then be installed across all your devices using the test flight app on your phone. I would only recommend doing this if you are doing lots of builds and testing on lots of devices though.
Hope this helps
Sam
I'm developing a "two-part" app, where companion apps are installed on an iOS device and an OS X computer. What happens is:
iOS device gets connected to a computer via USB
Once connected, the iOS app writes some stuff to a local file.
Now how can I get the computer to read from that file? Would this require something like Bonjour, even though it is directly connected?
Without going through iTunes and it's File Sharing mechanism or trying to mine backups (also created through syncing in iTunes), you're pretty much out of luck moving data between the iOS device and the computer via the USB connection.
Unfortunately, the only reasonable way to handle this sort of thing is via a wifi network connection between the iOS app and a service running on the Mac. Bonjour is very handy for service location in getting the Mac/iOS device together.
Is it possible to test an iPhone app on an iPhone/iPod touch which is synced to a computer other than the host computer?
If so, will this also work for testing a device which is synced to a Windows machine?
I don't see why not. You do need to register the device to do any testing at all though. Here is a good tutorial for how to do that.
Update: I tried it yesterday and it worked just fine.
You definitely can. With XCode 3.2.3 it's pretty easy now--you can dynamically load the provisioning certificate to the phone. To do this, plug in the phone that you want to use via USB, open the Organizer in XCode, and follow the instructions for provisioning the device. You must be connected to the internet.
Note: if there are new developers agreements from Apple that you haven't accepted yet, this certificate provisioning step may fail silently.
I built and run an iPhone application on iPod Touch 2.2.1 device, got some problems and made a fix attempt. Now trying to re-build & run the application gives two (2) error popup notes:
Could not receive a message from the device [OK]
Google couldn't find this! The device itself is working happily, I can even launch and use the app I'm trying to install. iTunes looks like it's still connected... What could be the problem?
Restart the iPhone.
Restart your iPhone device. Also, restart Xcode. This worked for me.
Are you using some "cheap" USB cable? This was the cause in my case.
Just got the same message. I fixed it by connecting my iPhone directly to my Macs USB-Port instead of connecting it to a USB-Hub.
I was having the same issue, and it was due to having old WiFi connection settings. I just connect new WiFi in both iMac and iPhone. I never connect via USB. iMac automatically connects to my iPhone and I can debug directly on my iPhone. Sometimes the connection is loose; in that case, I just go to
-> Windows -> Device and simulators -> select my device -> right click -> connect vai IP address.
Just enter an IP address from my iPhone WiFi. For that, just go to --> WiFi of iPhone -> info (symbol) -> IP address.
I also got this messsage, the problem was too many devices (via USB) connected to my MacBook Pro.
Received this message recently and tried the steps above, specifically different combinations of restarting the iPhone, disconnecting/reconnecting it, and quitting/restarting Xcode.
In the end, I restarted my comp and it works fine now.