iOS 10.1 warning while launching the application - ios

Why application is getting this alert and how to solve this -
"AppName" may slow down your iPhone The developer of this app needs to update it to improve its compatibility.'
I have gone through this link:
iOS 10.1 Simulator shows "Application May Slow Down Your iPhone"
From, the above link i tried to set "BUILD ACTIVE
ARCHITECTURE = NO", but it did not worked.
Please help me to solve the issue.

This message appears because your app builds only for 32 bit architecture.
You need to add the 64 - bit architecture in your project's build settings. Just add $(ARCHS_STANDARD) in Architectures field and arm64 in Valid architectures field.
This is also required for apps uploaded to the App Store. Without 64-bit your app will be rejected.

Related

Why this alert? "App installation failed, This application does not support this device’s CPU type" [duplicate]

When trying to build and install an application on an iPod running iOS 4.2.1, I'm seeing the error
This application does not support this device's CPU type
I'm trying to build the application using xcode 4.3, as well as xcode 4.4, and still seeing this. What can cause this and how can I fix it?
I have encountered such a problem today on iOS 11.2.1 with iPhone 7 devices.
The reason is that the previous project set up a 32-bit architecture that is no longer supported.
And I solved the problem as follows:
Project -> Build Settings -> Architectures value should be set Standard architectures - $(ARCHS_STANDARD)
From the project build settings -> Architectures, make sure you have both armv6 and armv7 values.
Also, you can check your Info.plist file, under Required device capabilities. If there's armv7 there, remove it.
If you are getting this error building Unity 3D application, change scripting backend to IL2CPP, and select "Universal" architecture.
This post led me to my answer. Thanks #adig and #masam
I have an iOS 8.4 enterprise signed app that would only work on certain device types when I tried to install it from our internal app store, and it was inconsistent. I wasn't getting any helpful error messages, even from the device console, until I tried to deploy it using the XCode Devices to a 5th gen iPod. It said "This application does not support this device type" which led me to here. I was debugging on a 6th gen iPod/iPhone 6.
I was archiving from a different scheme than I usually release from and I was only building the current architecture which meant that it would only work on a certain type of device depending on what was plugged in when I archived.
So make sure that "build active architecture only" is NO when you are archiving an app to sign as an Enterprise app.

Itunes archive upload issue ITMS-90530 and ITMS 90098

I am having the following issue when i start uploading the app. i have added armv7, arm64 to Required device capabilities but still its giving issue. Here are the errors:
These are the steps i did for my problem. Problem solved.
before you archive the app do the following steps,
Un-plug the device from mac.
Clean and build the project.
Archive the project.
Validate.
Upload.
Solution:
Change the device to Generic iOS Device or unplug your 64bit phone
.
Reason:
Check Build Active Architecture Only in Build Settings > Architectures
if YES, xcode will determine the architecture of the test device selected and it will build for that only.
if NO, xcode will build for all architectures considering your minimumOSVersion
NOTE: setting Build Active Architecture to YES is faster when building, so use it when you need it fast
Those keys don't work the way you think they do : it's an AND not an OR. By including the arm64 key you are saying your app is for 64-bit devices only, which is not allowed on iOS 8. Delete the arm64 key.
Apple said at WWDC that 64-bit-only iOS apps will be allowed on iOS 9, but you'd need to be building with XCode 7 and targeting iOS 9.
You can also give those keys true and false values, which makes things more complicated. See Apple's docs if you want to know more. https://developer.apple.com/library/ios/qa/qa1397/_index.html

Xcode Missing 64-bit support with standard architectures enabled

I have looked through several similar questions and am still unable to get it to work. When I archive and upload my app to the app store, I get the error message :
iTunes Store operation failed. Missing 64-bit support. Starting
February 1, 2015, new iOS apps uploaded to the App Store must include
64-bit support and be built with the iOS 8 SDK, included in Xcode 6 or
later. To enable 64-bit in your project, we recommend using the
default Xcode build setting of "Standard architectures" to build a
single binary with both 32-bit and 64-...
As suggested in other questions/answers, I have brought my app up to recommended settings, set Standard Architectures and Valid Architectures to include arm64 (See below)
This did not work, I received the same error message when I tried to upload the app. I don't have any iOS devices connected to my machine while doing this. I also read that some 3rd party libraries may cause this, but I believe the only 3rd party libraries I use are Google Analytics and Google Mobile Ads, both of which I updated recently (I even tried removing Google Analytics but that did not work either). See the linked libraries section:
After doing all of this, I am at a loss as to why the error message still comes up. I also tried deleting the Derived Data. Is there some other setting in one of the classes that could block the app from supporting 64-bit? How do I get this app to support 64-bit?
Questions/answers I tried previously:
iOS app: Missing 64-bit support
iOS: Standard architectures enabled but iTunes not recognising 64 bit support
iOS app submission : missing 64-bit support
Why the Missing 64-bit support happened when upload to the iTunes connect?
To enable 64-bit support:
You need to add "arm64" under "Valid Architectures" and set "Architecture" as "Standard Architecture" as shown in attached screenshot.
Also make sure to turn "Build Active Architectures Only" to NO.
You can manually add 64- bit (arm64) support like this:

iOS App Valid Architecture issue

I am using xcode version 6.0.1 and uploaded the build on app store test-flight. When I checked its binary details it was showing this
After this I uploaded this build to App Store and since it was an update of an existing app it was successfully released but as it shows is was not having arm64 architecture and I got mail from apple --> apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK.
So after adding arm64 by following this answer on stackoverflow link here my app binary details looks like this
When I compared it to earlier one this time in supported Architecture armv7s is not showing but arm64 is added. I just wanted to confirm is this right and will this binary be supporting both 32bit and 64bit so that I can go ahead and publish this on App Store.
Adding My Xcode 6.01 build settings tab screenshot after adding arm64.
Thanks
If your architecture is similar to below architecture.Then all is well
Build informations on itunes connect should be as below

Xcode unsupported architecture armv7k

When trying to validate my new app using watchkit with xcode 6.2 I get a strange error:
iTunes Store operation failed.
Unsupported architectures. Your executable contains unsupported architectures '[armv7k]'.
What does armv7k even mean?
All my build settings (for the app and all extensions) look like the ones in the following screenshot:
Could the red color of my embedded binaries have something to do with the problem? Everything works great on my device and on the simulators.
Thanks in advance!
Update:
xCode 6.2 and iOS 8.2 was released. Problem is still there.
It's more than likely not passing validation as you can't actually submit watch apps yet.
Per https://developer.apple.com/watchkit/:
Please Note: Apps built with Xcode 6.2 and iOS 8.2 SDK may be submitted to the App Store. However, WatchKit extensions are not accepted at this time.
I think this is architecture of new Apple Watch. It is not architecture of your main app so you can't see it in build settings of your app. For sure it is impossible to submit app from Xcode beta.
I have the same issue but from Xcode 6.2 (not beta). May be itunesconnect does't support watchkit extensions yet.

Resources