Uploading build to Testflight IOS - ios

I have run into this error trying to upload my latest build to Testflight, I cant put my finger on what I might have done differently compared to earlier versions of my app. Can anyone point me in the right direction?
this is the error I get :
Invalid IPA: failed to parse the info.plist (exception was: 'ascii' codec can't
decode byte 0xc3 in position 336: ordinal not in range(128))

I got it from this Question.
In architecture settings. select target and project build settings all of your build settings must be set with armv 7.
In Target -> Build Settings:
Architectures = Standard(armv7, armv7s) - $(ARCHS_STANDARD_32_BIT) Valid Architectures = armv7 armv7s
EDITED :
Read This documentation, this may be helpful in your case:

Related

Too many symbol files

When I upload IPA on app store, I get this error:
Too many symbol files - These symbols have no corresponding slice in any binary [0B523B17-252B-35C1-A94E-EC1B5FE7AC6E.symbols, 1202FC31-64F7-35A5-A83A-BE08401F5617.symbols, 2CE5B047-5CDC-3C9B-B5FF-106501E63EB7.symbols, 2DF3956E-9B95-398E-9A4C-19CDF609E899.symbols, 6D4E71D5-9B85-3D1F-9E36-ADF9C56BC827.symbols]
So it seems that this issue happens when you are including debug information of your libraries with the project archive but are not including binaries as stated in this SO post. Furthermore, a recent blog featured the same issue:
The issue came up because the application has disabled bitcode in the
build setting, therefore libraries produced by CocoaPods doesn’t need
to produce symbols for unused architecture. For instance arm7 for
arm64 only apps.
Some steps you can follow to check which target has a valid architecture:
Open Xcode -> Window -> Organizer
Select the archive and Reveal in Finder
On .xcarchive file, Show package content
Open terminal and give path of dSYMs folder.
Enter command dwarfdump --uuid * and it will show list of UUIDs with valid architectures.
You will find the matching UUID's in the email you've received from Apple.
Try to check as well the existing GitHub issues related:
https://github.com/CocoaPods/CocoaPods/issues/7111
https://github.com/Instabug/Instabug-iOS/issues/188
https://github.com/flutter/flutter/issues/59237
https://github.com/CocoaPods/CocoaPods/issues/9664
To dig deeper into your issue, its good to provide more details like output of your flutter doctor -v and more context describing how you end up with this issue.

iOS: app doesn't pass the upload for the architecture

When I upload my app I have this error
I set the project and target in this way and the archive has success!
Now you can tell me that I have to add in "valid architectures" the "arm64"
I did it! But my app have some errors during the debug and archive because inside my project there is another workspace called "MapView" that manage maps of OpenStreetMaps.
This workspace settings are:
Everything I change I have error during debug and archive... my project work well only with the configuration in the pictures, but when I upload ipa in the stor I have the ERROR ITMS for missing 64-bit.
I don't know what can I do!!!
Make sure your project architecture and library or framework project architecture would be 64-bit supported.
Please check out below answer
iOS app submission : missing 64-bit support

IOS Application loader shows bundle error, with armv7s and armv7

I have already waste 3 days "solving" this problem (actually I have tried everything i could imagine but get nothing).
While binary uploading of my application i get the following error: ERROR ITMS-9000: "this bundle is invalid. armv7s are required to include armv7 architecture." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage).
I have read, that i have to unplug my iphone. Should i do that while binary uploading, or when?
Select Project Name Blue icon:
In Build Settings Search for 'arch'
Make sure that you've included armv7 in your release code. You have to open the two areas and make sure that armv7 is typed into either Valid Architecture or Architectures. The architecture used is a union of both settings so just be sure that armv7 is in one or the other section.
BTW - For help with other validation issues see this technical note from Apple.
1.Unconnect iOS device from your Mac,
2. Dont select any simulator, just leave it as it is, iOS device option
3. Archive it
4. publish it

iOS 6 Xcode 4.5 unsupported architecture armv7s

When trying to archive an app for an Ad Hoc release, I am getting the following warning:
iPhone/iPod Touch: application executable contains unsupported architecture(s): armv7s (-19031)
I am really not sure why this is happening for two reasons:
The only non-foundation framework I am using is the Facebook SDK, which is the latest version
I successfully archived the app last week and the only things that have changed since then are purely coding changes.
Also, I have tried archiving with and without an iPhone 5 plugged in, and I receive the error both ways.
Does anybody know how to fix this?
Quick fix is
Remove armv7s from
Project -> Build Settings -> Architecures
Updated ::
Now change Build Active Architecture in Build Settings to No to Yes.
But even this is not a pure solution to this problem.
I could archive and validate my projects by changing status of 'Build Settings -> Build Active Architecture Only' from 'No' to 'Yes'.
Same problem here today when submit my app (update) to appstore.
I clearly remember that its last version was submitted with both armv7 and armv7s set and succeeded, but now Organizer told me :
"iPhone/iPod Touch : application executable contains unsupported architecture(s): armv7s"
to remove armv7s is simple, but my app is Universal, will the armv7s-removed app run on all iOS devices (iPhone 5 for example)? when should i build with aremv7s?
Same issues here, app passed validation before, but after a quick code change, no go. Could this possibly have something to do with ipods? Seems to be a recent issue, as of yesterday.
Getting the same result as 21k. I submitted a binary with both armv7 and armv7s to the App Store last week, and it passed validation as well as the review. Now I tried submitting an update to the same app with the exact same project settings (other than the usual version number bump), and it fails validation.
In fact, I try validating the archived app from last week and now get the same error. So something must have changed on the App Store's side.
Go to Project ---> Build Settings and scroll down to the Architecture setting.
You will probably see the value $(ARCHS_STANDARD_32_BIT) listed under Architecture.
If so, double-click $(ARCHS_STANDARD_32_BIT), select it, and click the minus button to get rid of it. Then click the plus button and write armv7 and press Enter.
You have now removed armv7s, which was unsupported. Try it again and things should be good.
Removes armv7s architecture from menu Build settings > Architectures. At that point must appear valid architectural amrv7s and amrv7. Removes only finished in s. If the menu doesn't appears, notice that it is set to "All" and "Combined" in the search bar.

iOS Application Missing Required Architecture, even when listed

When building an iOS project inside Xcode 4 for Archiving, the error:
iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6 (-19033)
continues to occur. The screenshot below shows the Build Settings. I have tried all of the common fixes, but none of these seem to work.
My final thought relates to the first linked question. Does it matter that for "Standard", armv6 isn't listed? If so; how should it be added?
This project is a new Xcode 4 project; only a view controller has been added from the default.
I had the same problem. In your picture, try adding an architecture to the architectures field and name it armv6. That solved it for me.
Project -> Edit project settings -> in Build tab search with "active" then unselect Buld active arch only
If you uncheck "Build Active Architecture Only", then it will build all the valid architectures.
On the new Xcode(4.5) for supporting iPhone 5 screen the only method that works for me is to set the target iOS version to 4.3 as minimum (the valid arc should be armv7 and can include also armv7s, but you must delete armv6!), Anything else I've tried including all the answers here didn't help and I got the error you mentioned.
I was having this problem and was very confused because the error that occurred with it said I needed armv6 because I had a deployment target lower than 4.3, but I was sure my deployment target was 4.3.
I have two targets in my project and was looking at the build settings for "all" instead of the individual targets. Don't' know why, but even though the settings for "all" showed a deployment target of 4.3, the deployment target shown in the individual target build settings were both 4.2. I changed those for each target and both errors went away.
Remove iphoneossimulator from supported platforms for the distribution/release build configuration. You cannot have that for distribution, it is only for your debug configurations.
Check the image below for distribution configuration (ignore release config).
My Answer May help You:
I had this problem even after following the accepted answer and found the following to work:
In your Info.plist, add an entry for Required Device Capabilities. This should be an array and will have two entries.
Item 0 : armv6
Item 1 : armv7
It will look like this:
Required device capabilities entry
"At least one of the following architecture(s) must be present: armv7"
I had this error message, and it didn't make sense to me.
I already had armv7 in the list of architectures for my iPad-only app, and, yes, I did have "Build Active Architecture Only" set to No.
But - I also had armv7s in the list of architectures.
I removed armv7s from the list, and then the error message disappeared.
Perhaps in XCode 5, Apple will change the message from
At least one of the following architecture(s) must be present: armv7
to a more accurate
Only the following architecture(s) must be present: armv7
I live in hope.

Resources