Itunes fails to sync App - ios

I migrate my app from xcode3 to xcode4.2. Everything goes fine if I use xcode3. But when I try to sync ad-hoc app generated by xcode4, it always show iTunes Sync xxx app failed to sync. The most weird thing is that if I sync the app that created by xcode3 first. Then delete the app on the device. Replace the app and sync again, The error won't display. The app built by xcode4.2 will successfully set on the device. I don't know how to fix it.

In order to run the app through it is better to use provising profile if you want to send the app to the client/User then try with Adhoc Certificate.

Related

Unable to install app from TestFlight (works fine from Xcode)

I'm trying to install my app from TestFlight.
When I press INSTALL, the download indicator runs for a sec and then stops.
I can see the app on my phone, clicking on the app raises
Unable to install the app, please try again later.
It's very weird, since I run the app on a physical device using Xcode, and everything was just fine. Also, older versions of the app are downloaded from TestFlight without any problem.
The app passed through all checks before uploading to the store.
How is it possible that I cannot install the app from TestFight?
What can I do in order to debug this issue?
This can be happen with number of reasons as given below:
Might be you are using the developer profile instead of Adhoc profile
OR using an app identifier that is different from the one that belongs to your profile
OR might be an issue in enable/disable of iCloud and Gamecenter
What you can do is you can connect the device to PC/Mac. Open the iPhone Configuration Utility and see the logs after you press install from the build in TestFlight. It will helps you to dig it.
And last hope is this issue can be at apple side as many developer are facing as given below: https://developer.apple.com/forums/thread/26759
It's not the correct answer.
In case you are in a rash, and your project was already uploaded from another Mac to the store, a temporary solution will be to import the project to a well-configured Xcode from another computer and send it configured back to your computer. Make sure you have all necessary certificates, Build, and upload to the store. Then I was able to run the app on TestFlight and upload new updates without problems.
IMO, Apple did a really bad job connecting and configuring Xcode projects to the store. As a Flutter developer, I upload apps for both App Store and Play Store, and working with Apple is frustrating. There were no logs or indications about this issue, and it's almost impossible to track the mistake.

iOS App Failed to create provisioning profile

I'm trying to publish my iOS app to the Apple Store ( it's my first time ) and I'm facing this error when I do the Automatically manage signs with XCode and choosing my team ( My Client Paid Account )
The Error Failed to create provisioning profile
After Some googling some fixes says I have to connect my real iOS device which I don't have, so do I need an iPhone to publish the app? and is there another way without an iPhone if this the issue?!!
The app developed in Ionic 4 ( web view/ cordova ) so I was debending on the similator and the browser on development and testing time.
I don't think you need an actual iOS device to push to App Store but I am not sure. But here I think there might be two issues that might be causing this problem.
The application you have developed is not under the appstoreconnect account you have prepared to submit for. So goto project settings -> signing and capabilities and check if the Team you have selected is the team where you have prepared before the app submission.
Have you prepared you app in the appstoreconnect with the same bundle id before trying to archive the application? If not you have to go to appstoreconnect and register a iOS application giving the name, bundleId etc. before you archive the product.
After preparing the app you just select the generic iOS device from the devices panel and start archiving. It should probably archive without any issues.
No, you do not need an iPhone or an iPad to put an app in the AppStore. The path to the AppStore is a bit like gymnastics though. You should be able to follow all of these directions & be well on your way. Try this for making an IPA file and try this to sign the app
Best of luck to you with your 1st app! I imagine you're very excited =)

Codename one IOS App Store

We have successfully tested our IOS app on IPAD with Codename one Build IOS debug feature. It is working fine out here. But When we build for the App Store, The app downloads in the device and don't get installed. We have already generated the certificates for production and development, yet we didn't found any perfect solution
App store build can't work on a device until it's signed by Apple. It's meant for publishing in the store. The only app that could work on your device without passing through App store is a debug app.
When your app is fully ready, you can submit it by going to itunes connect -> My Apps and click on the plus sign to create a new app. Follow the process and submit all the requirements.
To upload the App store IPA file, open Application Loader on your Mac, login and Upload your file. It will appear on your iTunes connect within few minutes.
It takes approximately 7 working days (9 days) for Apple to review and approve or reject your app, so relax and be patient.

.ipa can not update app on iTunes, app just appears grey

I currently have an app on the app store and am trying to test to see if the update work. I've created an ad hoc archive and exported it to a .ipa.
So I currently have the app on my phone, when I use go to iTunes and click update app, the app copies to the phone and then goes grey. It does change from here.
If I uninstall the current version of the app from my phone and then use iTune to install the app, it works perfectly.
Anyone know whats wrong?
You need to build the updated app using the same developer account as the appstore one. If you can't do that, you're out of luck - you should be able to replace the app, but the keychain won't work...

Confusion over Validation and Ad-Hoc Distribution of iOS app

I have created my first iOS app for the iPhone, as part of my MSc project
I don't want to upload it to the App Store but rather convert it into a file that the examiners can use to check my app on their own devices.
Therefore I need to save my app for Ad-Hoc deployment
I created an archive of my Xcode project and then followed these steps suggested by Apple
A myProject.ipa file was created on my Hard Drive. Is this enough ?
Is this all I need to send the examiner so that they can install the app in their own iPhone?
because,
I noticed there was also a button called Validate on top of the Distribute button (I only pressed that to create the .ipa file) in the Archive Organizer
So I went back to the Archive Organizer, chose my archive once again and clicked on Validate and I got :
No Application Records were found
Applications must be ready for upload on iTunes Connect before they
can be validated or submitted from within Xcode.
I went to my iTunes Connect account and it is obviously empty, i.e. I haven't submitted any apps to the AppStore.But I want to validate my app nonetheless, before sending it to the examiner to see if it meets all requirements (even if it is now working fine on my own device - just to be sure).
So what does the above message mean? Do I necessarily have to sumbit my app to iTunes connect (i.e. the AppStore) in order for it to be validated?
And also, should an app first be validated in order to run on other devices as part of an Ad-Hoc distribution?
Thanks in advance for your help!
Validation is only for when you are submitting your app to the App Store. The reason you are getting the "No Application Records were found" message is because for submitting to the App Store, you actually have to create an App Submission in iTunes Connect first and get all of the metadata entered.
XCode queries for that record so that it can associate the project you are building.
For Ad-Hoc distribution, you need to make sure that the examiners devices are added in the distribution profile that you used when creating the archive. You can then just give them the .ipa and they can install via iTunes.

Resources