Missing 64-bit support xcode 12.4 - xcode

I get two errors when trying to validate the app. it works fine in simulators.
App Store Connect Operation Error
Missing 64-bit support. iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK or later. We recommend using the default "Standard Architectures" build setting for "Architectures" in Xcode, to build a single binary with both 32-bit and 64-bit support.
App Store Connect Operation Error
Invalid architecture: Apps that include an app extension and framework must support arm64.

same to me. but it hard to get solution from web.
all the common answer about the Valid Architecture arm64.
But xcode 12 already take out the Valid Architecture =(

Related

Submitting App with Xcode 7: ERROR ITMS- 90533 Missing Architecture. Extension Bundle requires a UIRequiredDeviceCapabilities value of "arm64"

I'm frantically trying to submit my app for the iOS 9 launch but I'm confronting a weird problem.
When I try to submit my application binary through Xcode 7, I get the following error:
What scares me is googling ERROR ITMS-90533 returned no results.
The architecture Build Settings seems to check out as per this stackoverflow question. In both the Project target and Extension target:
Architectures is set to Standard Architectures (armv7, arm64) in both the Project target and Extension target
Build Active Architecture is set to NO for RELEASE
Valid Architectures is set to arm64, armv7, armv7s
I'm not really sure what to do at this point. I've tried playing around with the settings and nothing seems to be working. Any help would be really awesome.
I managed to upload a similar app (which contains a content blocker extension just as yours) with the following two changes.
First, both Architectures and Valid Architectures only contain arm64.
Second, Info.plist for both the extension and the main app contains the following, restricting this app/extension to 64 bit architectures:
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
Content blocker extensions are supposed to be 64-bit only. Not sure if a mixed 32/64 bit app can also contain a 64-bit-only extension. To be on the safe side, and since the content blocking is anyway the main/only functionality of my app, I made both the app and extension 64bit only.
Update, March 2016. With Xcode 7.2.1, you no longer need to set architecture as one comment below notes. You only need to set required device capabilities and valid architectures. (You can see this being the default setting when you create a new Content Blocker extension with the standard Xcode templates.)

Fat binaries in iOS

Is it possible yet to build 32bit and 64bit 'fat' binaries for iOS? My understanding was that this was coming down the line but I can't see an obvious way to do it in the latest update to Xcode?
I want my application to run in 64bit mode on 5S and 32bit on 5 and below (obviously),
I did read the docs:
Applications can now target iOS 5.1.1 and later while building for 64-bit using the “Standard architecture (including 64-bit)” build setting. This produces an Archive for the App Store with a single binary containing both 32-bit and 64-bit components. During development and testing, you must build only 32-bit when targeting an iOS 5.1.1 device (this is the default in Xcode).
However this is not clear regarding if it's possible to build a 32 and 64bit fat binary with a target deployment of iOS 7
Thanks.
Yes, it's possible. Make sure that you turn off "Build for Active Architecture Only" first. Doing this in XCode 5 and using Standard Architecture will produce a binary with armv7 and armv7s code, so adding 64bit support should do the same.
If you have any third party libraries, be sure to check for updates that support the new devices.

Updated to xcode 4.5 and now app build fails "Apple Mach-O Linker Error"

Hi I'm a newbie when it come to app development, but I DID have an app working just fine until I upgraded to xcode 4.5. The app has not changed but I am now getting 'Build Failed' when trying to put the same app on the same iPad I have always used.
The error I am receiving is show here http://i1342.photobucket.com/albums/o763/designedbyria/ScreenShot2012-09-27at162319_zpsfea02141.png (I stupidly am not able to include images) - Apple Mach-O Linker Error, does anyone know how I can solve this? I really don't have a clue what's going on and it's important I get this app working asap!
Any and all help will be greatly appreciated! Thank you in advance…
If your app is for iPad only, just remove armv7s from valid architectures. You can also do this for iPhone apps, and it will run on all viable targets, although it will be missing armv7s, which is the CPU for iPhone 5 - armv7 code will still run.
Alternatively, you can find an upgraded version of the Cordova framework built with armv7s support; you should just be able to build it yourself.
The error is on the line above. A framework you are linking (Cordova.framework) does not contain a binary for the appropriate processor architecture (armv7s).

Error invalid binary from itunes connect?

I have submitter my universal application .app file to iTunes connect and it shows 'Invalid Binary' status and i got a mail from apple. The mail content is
"Invalid Binary Architecture - iOS 3.0 introduced support for multiple binary architectures. If your binary is built for multiple architectures, your Info.plist must have a MinimumOSVersion key with a value of at least 3.0. Additionally, if your app is intended to support earlier iPhone and iPod touch models, your app must contain at least an armv6 binary; "thin" armv7-only binaries will not be accepted unless the armv7 required device capability is also present in the Info.plist UIRequiredDeviceCapabilities key or the MinimumOSVersion key has a value of 4.3 or higher.".
This is first time for me to submitting app to app store. How help me to solve this problem? What can i to do this? I can't understand the actual meaning of the mail content. Please help me.
You need to either add armv6 to your Target Build Settings Architectures, or set the minimum OS Deployment Target to 4.3
In your Xcode project, what architectures and iOS version are you building for? It sounds like you have the supported iOS setting set to 3.x, but the architecture set to armv7.
The simplest way to fix this, I'm imagining, is to set the supported SDK to something later than 4.x. I target 4.2, which seems to be generally safe.

Cocoa App Won't Launch on 32-bit Intel?

My Cocoa application, built in Xcode 3.2, runs perfectly on 64-bit machines but does not launch on a 32-bit Intel Mac. The Architecture is set to Standard(32/64-bit), Valid Architectures include "i386, ppc, ppc64, ppc7400, ppc970, x86_64" and Build Active Architecture Only is turned off.
Any suggestions as to why this might not launch? There is no error message, the app simply does not open.
Are you sure there's no error message? Did you check the console log using /Applications/Utilities/Console.app?
Are you the build settings are correct at the target level (ie, target-level settings don't override project-level settings with incorrect values)?

Resources