Any possible solution to fix this warning in swift 2.0 [duplicate] - ios

I just move to upload my first app.I am using xcode 7,swift app.while validating i got any message like this:
I also google it about this problem.In this stack over flow also I saw some solution that its just a warning.but when I move to iTunes to wait for that + button to build my app and to submit. I am not able to see that + button in iTunes.
I also delete my archive and re-archives and wait for one hour.till now I din see that + button to add my build
Now what shall I do.Kindl give some soilution
Thanks in advance !
Updated:
here after validate one +button will shows to add.That only i din get

See the steps you followed or not :
first of all create a new ios app and fill all details.Then move on to the steps:
1. archive your app
2. validate it
3. submit to app store
4. then only you will see that + ( build) button over there.
If you already done these steps.Then also you not get means try to change build number or version and re do all steps.sure this will work.
Hope this help !

This error won't affect your ability to upload the app to iTunes Connect.
Once you have opened iTunes Connect - go to My Apps -> Plus Icon -> New App. The just follow the steps and you should be good.

Related

I'm deploy IOS app in iTunes app store but IOS app build not showing up in iTunes and iOS app activity “Processing”

Hope you are doing well
I know there are a lot of questions about this already, And I followed all answers but I am fairly certain my question has not been answered yet.
I uploaded a build of my iOS app via Xcode or Application Loader with validation , and that went well. I got to the a message of "Uploaded Successful", so I thought it was okay.
Then I went to check in iTunes Connect and I can see a build ( under "Activity") with activity status processing . I waited for an hour but after that its gone.
I given access whole privacy and library in info.plist
Now I have uploaded 20+ time but same thing happen and I didn't get any single warning, error and mail than how can find exact solution. i have attachment screen short so please check and suggest to how to resolve this.
Again I uploaded new version whatever you give instruction and i followed step by step so now i attachment shcreenshort with
1 App info -version and build
App Info image
2 info-plist - version short string and build
Info-Plist image
3 archive - using new latest Xcode Version 9.4.1 (9F2000)
Archive Image
4 validation - validation message
Validation message Image
5 uploaded - uploaded successfully message
Uploaded message image
6 iTunes version - app version and iTunes version are same.
Itunes Version image
7 activity status - activity status is processing and after few min its disappears
app Activity builds status
From all the information I get from the comments I think there's a version/build difference between the builds you are uploading try to set the version 1.1 and build 1 for the app :-
Update
Looks like the issue is in your info.plist You need to add appropriate privacy messages string for the services you're using in the app for example for the Camera you have mentioned "Open camera permission", This doesn't specify why the app require to use the camera? the message should be something like "This app requires your permission to access Camera to capture property pictures for the services provided by the application." (Message will be according to your app requirement).And you need to update all the privacy messages.
thanks for response me. Finally i resolve this issues.
firstly u need to two factor authentication.
After that use latest application loader.
open Xcode and click top Xcode ->open developer tool ->application loader
login with your developer mail id and password is two factor auth App specific password (two factor auth security options )
hope this is help to all.
thanks

Warning while validate ios app

I just move to upload my first app.I am using xcode 7,swift app.while validating i got any message like this:
I also google it about this problem.In this stack over flow also I saw some solution that its just a warning.but when I move to iTunes to wait for that + button to build my app and to submit. I am not able to see that + button in iTunes.
I also delete my archive and re-archives and wait for one hour.till now I din see that + button to add my build
Now what shall I do.Kindl give some soilution
Thanks in advance !
Updated:
here after validate one +button will shows to add.That only i din get
See the steps you followed or not :
first of all create a new ios app and fill all details.Then move on to the steps:
1. archive your app
2. validate it
3. submit to app store
4. then only you will see that + ( build) button over there.
If you already done these steps.Then also you not get means try to change build number or version and re do all steps.sure this will work.
Hope this help !
This error won't affect your ability to upload the app to iTunes Connect.
Once you have opened iTunes Connect - go to My Apps -> Plus Icon -> New App. The just follow the steps and you should be good.

App submission binary does not show up in iTunes Connect

I want to update my app. I have a new version of the app and now it says "Prepare for Submission".
Now I want to perform "Prepare for Upload" but I cannot find this in the new iTunes Connect.
I have tried to upload the app to iTunes using Application Loader and Xcode 5.1 but still the status hasn’t changed and when I click on "Submit For Review" I get the following error:
You must choose a build.
It is quite weird but let me show what I have learnt from this new iTunnesConnect layout.
Step 1: You should wait around 10 min to 20 min to see your uploaded binary file in the prerelease section. .
Step 2: After you wait a while (10-20 min) then you would see the below icon
Step 3: Then you could able to see that your binary is ready.
Step 4: Then click on plus (+) sign, you now could able to choose your binary and then click submit for review button to finalize.
Look for it here:
Here's the new binary I uploaded:
Then, don't forget to create a new version and then assign the new binary to it (after process is completed):
I had the same problem, and waited for more than 8 hours without any result. The plus-icon never showed up under the build section!
Then I saw a new (tax-agreement) contract that I had not signed. I signed it, waited for a few more minutes, and then the plus-icon showed up!
The reason could also be that you are still releasing binary with the old TestFlight SDK in it.
A few months ago TestFlight updated their service meaning that it is now included in iTunesConnect, previously a TestFlightSDK was included in the project and various codes needed to enable TestFlight for users. This is all now depreciated. This means if you release a new version of an app which still has the TestFlightSDK included your binary won't appear in iTunes Connect and you will receive an email like this:
We have discovered one or more issues with your recent delivery for "blahApp". To process your delivery, the following issues must be corrected:
TestFlight SDK - TestFlight no longer requires an SDK to enable beta testing, crash reporting and analytics. To continue using TestFlight, set up Beta Testing in iTunes Connect and remove references to the SDK from the following executables: blahApp.app/blahApp
Once these issues have been corrected, you can then redeliver the corrected binary.
You need to remove the TestFlightSDK and also all code linked to the old TestFlight. Once this is done the binary should start being picked up by iTunes Connect as the answer above states.
The tricky thing about this issue is that if you're like me the email could go through to your junk, to an old account or if you're working for a client and don't have access to their personal email it is tough to find. Apple give you no other indication that this is what's wrong.
Hope this helps people with this problem going forward
Just took 19 minutes. If you click the activity tab you can see that the upload is processing.
At this time of writing, binary submission should take only few minutes to appear in iTunesConnect. When my binary did not show up for hours, I can immediately tell that something is not right. Most of the answers I found resolved to waiting. This was not the case for me. I went to ask Apple support and I got the answer. My app was missing purpose string for one of my protected data class (for iOS 10 and later). Once I provided the usage description and resubmitted it, the binary shows up right away.
I thought someone else might be facing the same problem. For a complete list of protected data class that requires descriptions, check out this link: https://developer.apple.com/library/content/qa/qa1937/_index.html

iTunes Connect: Can't save app information after uploading new binary

I'm trying to upload an iOS app for review using Xcode's Organizer and I've encountered two problems:
Case 1
Binary uploads but when I press Submit for Review iTunes Connect gives the error:
Your app information could not be saved. Try again. If the problem
persists, contact us.
Case 2
After getting the first error message, I tried uploading a new binary, but got the following error message in Organizer:
ERROR ITMS-9000: "Redundant Binary Upload. There already exists a
binary upload with build version '1.1' for train '1.1'"
I tried uploading other binaries changing the version number but still I can't get my app to go in the review state. I also can't see any way to delete old binaries that were uploaded.
Another observation: My app should be around 30MB but when I look at the uploaded binary it is only 1.46MB. I guess there might be something wrong from the binary but I've built it using the same technique several times before and never had any issues.
Any ideas?
For me, I was filling out the form in Safari and getting the error. I logged out, then switched to Chrome and signed in. This fixed the error, and I was able to submit.
Sign out and Sign In again should work as it worked for me!
I solved this by increasing the number in Build (Select the Target, then Xcode -> General -> Build, see picture) by adding .1 so the build was 3.75 -> 3.75.1.
But only for the Build, the Version is still 3.75 and also appears like that in iTunesConnect.
Then the new binary uploaded and I could select it for review. In the picture below you may see the old and the new binary listed in iTunesConnect. Then I finally just had to select the new binary and submit for review.
Open web inspector, you will find that Apple said: We've got a server error ... 500
That's the real reason. :)
Update:
Inspired by #phantom, I try to use dotjs to run a javascript script to auto click submit button per 15 seconds, but still get the 500 error all the time.
#Geaka's answer is working for me. Because my product name is Chinese,I change my product name to english(DO NOT include whitespace! It maybe causes another error on building path error.)
I debug the apple website and find a js script named submit_for_review_cntrl.js which controls the whole submit progress. From line 123 to line 129(formatted by {} button in chrome) that setting the http headers, there is a field named X-Original-Filename, the value is given by $scope.addCcatFileToJson method in line 138, the param of this method is given by ajax callback, i guess there's a bug for encoding the product name field of the back-end code.
WTF Apple!
We just solved our version of the problem (generic error message)...
After hitting submit for review I was trying to upload a file for the ERN since my app uses encryption. It finally worked when I used a zip file that contains an image of the ERN response and a txt file describing what encryption is being used.
The problem unfortunately still occurs. My solution when this happens is removing the binary, clicking on the save button then adding the binary again. Then save and follow the standart procedure. That solves the problem for me without changing the build version or doing anything extra.
Finally find the solution:
Steps:
If your app version and build version is 1.0, keep version 1.0 and change build version as 1.1(bigger than last build version), then upload it.
If your app name is English, choose this build and submit to review, it would be change to review.
If your app name is not English, Chinese for example, you need to name it in Bundle display name,
Do not name it in TARGETS directly.
Maybe is also works for Japanese and Korean.
I solved this by switching over to Chrome instead of using Safari. Presto, worked right away!
I have met this problem this morning and have solved it. I change my product name from Chinese to English, and write the Chinese name in the Bundle display name, which solve this problem.
You can change the Bundle display name in the info.plist, and change the product name in the General tab in the project.
that's an erratic error. Probably some apple infrastructure problems You may have done something and then it worked - switching your browser, increasing build numbers and the like. But you could've hit several times submit as well. At least, after a while, my submission has been successful.
I opened the iTunes connect on my iPhone , and was able to submit sucessfully via iOS safari. I don't know why.
You will need to change the Build version. Create 1.2 build for version 1.1 of your app. Then upload your binary. After few minutes (on processing) you'll find new build to submit for rewiew.
I spent 2 hours !!!
Finally, i found the solutions. The main culprits is your PRODUCT NAME, it must be in English!
Go to build setting --> packaging --> change your product name into English
Change your "BUndle Display Name" to your desire localized name
Increase your build version and re-upload
This time you're fine!!!
I was plagued with these errors over and over when adding new screenshots.
Nothing seemed to help.
Then I visited iTunes connect in Safari (I normally use Chrome) and somehow all errors went away.
Maybe related to a Chrome browser extension like AdBlock?
TLDR; use Safari for iTunes Connect
I experienced this submitting an update today to my app. For about 30 minutes I retried and received the same error. I tried, removing the binary, signing out, I also rebuilt the binary with an incremented "Bundle Version String".
None of these steps made any difference, but I continued to retry, continued to get the same error, and eventually it accepted the submission.
I don't believe any of these solutions I tried made any difference. I believe there was some internal error on itunesconnect. As the message suggests, I think all you should do is try again later...
I only need to clear all my cookies, instead of switching browser.
Switch the browser you are using & then remove the build, save that once & then again add the build to it & then again save it. After that click on submit for review & it will work perfectly.
After 3 day, Itunes accept my first binary. I have tried to change my Bundle Display Name to English then tried to change to keep version 1.0 and change build versiyon to 1.2. Tried a lot of think and after 3 days surprise!!! Apple accept
I also got this error. Solution I found was to change contents in "Name" section of app description in iTunes Connect.
There was no need to change app name to English language (as some suggest), I just removed ":" character from app name - and then I could submit it to review! My localized versions of application still contained non-English names.
Had the same problem since my application name contains ":". The iTunes connect server returns 500 error because of it. I've just temporary removed ":" from English app title, submitted app and returned ":" back.
I think it ended up being a combination of several factors, but one thing that was definitely wrong was that I hadn't clicked the box about posting info to the Korean store. This was off by default and needed to be clicked. After doing this and several version changes (ended up submitting 1.2 instead of 1.0!) my app finally went into "waiting for review...".
Tried all possible solutions Chrome and Safari; none of them worked.
Then I switched to Firefox and magically it went through.
I found the simple solution. Just go to detail of the version, remove the current build then save.
Then click on the blue add button and add the current build again, save again. Then submit again.
It work for my case. Hope it helps
Log out from the iTunes from the current browser. and Login to iTunes from the another browser and try to submit the app.
Hope it works!
And Make sure that there should not be the Redundant binary (in other words the build number of the binary should not same).
I've just had the same problem.
Switching browsers to Chrome fixed it for me straight away, so will try clearing out Safari, and re-booting in order to get back to submitting with Safari.
#rayg - and for the sake of others - the Korean checkbox doesn't have to be checked in order to succeed in getting the app up for review. Maybe under certain circumstance it does have to be selected, so I'm not saying your solution to your scenario is wrong, but the post gave the impression that it's a requirement for every submitted app, which it isn't.
I have tried above all recommended solutions but none of them worked for me .
Then I select build version from my mac system and logged itunes connect using firefox from window system and it worked for me.
Or you can try itunes connect login from another Window/Mac system.

Checksum Validation Failed when submitting with Xcode 5

I was submitting an app to the iOS App Store a few days ago, and got this message from Xcode. Before I had time to resubmit it, Apple has already started reviewing my app. Is this something I need to worry about?
Edit: The app was accepted a few days later.
I had the same problem and Google led me here. From my understanding a checksum is used to ensure that the file Apple received is identical to the file you (thought you) uploaded to them.
I decided to delete my upload and try again. This worked and I didn't get the error message again. Here's what I actually did:
In iTunes Connect:
Manage Your Apps > [your app] > View Details of the New Version.
In the links near the top the right click on Binary Details then, on the next page, Reject This Binary. It says you'll have to prepare another upload but it's just another button to press.
Back on the View Details page just click 'ready for upload' in the top right. It might say something slightly different but I don't want to delete by upload to double check :P
You're now ready to upload a new binary.
In xcode:
Go to Window > Organizer > Archives and delete the archive you previously uploaded.
In the main window of xcode press cmd-option-shift-k to clean your build folder.
Make a new archive and upload it like you did before. Fingers crossed all goes well.

Resources