Can't Find Directory Library\PrivateFrameworks XE8 64 Bit iPhoneOS9 - delphi

I have been developing a mobile app using Delphi XE8 and testing under the platform:
IOS Device - 32 Bit - iPhoneOS 8.4.
Now that I am happy with the app I am trying to deploy it to the app store. From what I understand, in order to do this, I have to submit a 64 bit Build. Therefore, I am trying to build my app using:
IOS Device - 64 bit - iPhoneOS 9.0
When I compile or Build the project in 64 bit I get the error message:
[DCC Error] E2597 ld: warning: directory not found for option '-FC:\Users\leonard\Documents\Embarcadero\Studio\SDKs\iPhoneOS9.0.sdk\System\Library\PrivateFrameworks'
ld: file not found: /usr/lib/libiconv.dylib
I have tried deleting and re-adding the SDK and selecting the 'Update Local File Cache' for iPhoneOS 9.0.
The closest thing I could find on google was this link:
XE4 Deployment error
But that did not help. There were other suggestions that dealt with xcode but they do not look like they apply to my situation either.
It would be appreciated if someone can offer a suggestion as to why I am getting this error and how I can fix it?

Well I didn't discover why my PrivateFrameworks directory was missing. But I decided to move my app to Delphi 10 Seattle. After installing Seattle and configuring my application platforms, I then had the required directories. I was able to build my application in 64 bit and got an .ipa file in preperation for submission to the App store.

The problem appears because of changes in the iOS SDK 9. There is workaround for building iOS 32-bit applications for iOS 9 with XE7 and XE8 suggested in blog of Embarcadero Community. But I am not sure if this workaround suitable for 64 bit..

Related

Warning: "This app will not work with future versions of iOS"

I have an iPad with iOS 10.3 installed. Some apps are triggering a popup warning:
"SomeApp" needs to be updated.
This app will not work with future versions of iOS.
It is something related with 32 or 64 bits? I am using last version of Xcode.
It's probably related to 64bit support. Make sure that in your build settings under architectures ARM64 is present.

iOS app: Missing 64-bit support

My first question on stackoverflow and new to iOS development, figuring things as I go. I have checked similar questions already, see links at bottom.
Task:
I am continuing work on a project for a client to make an iOS app update both 32-bit and 64-bit support compatible.
Archive validation gives me:
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-...
Problem:
I can't seem to get my project/build to support both 32-bit and 64-bit binaries (let alone 64-bit by itself). I have followed Apple's (and other stackoverflow answers') suggestions with the following settings:
OS X 10.9.5
XCode 6.1
Architectures: Standard architectures(armv7,arm64) - $(ARCH_STANDARD)
Build Active Architecture Only: No (tried 'yes' to debug only and 'yes' to all)
Valid Architectures: armv7 armv7s arm64
iOS Deployment Target: 5.1.1 (also tried 6.0)
Methods attempted (tried deleting DerivedData as well):
a) clean -> build -> archive -> validate
b) connect device -> clean -> build -> disconnect device -> archive -> validate
When I check in the binary (following stackoverflow: ios 64-bit compatibility) I only get armv7 in the dwarfdump (which if I understand correctly is only 32-bit but should also have arm64 with the above settings).
File: MyApp.app/MyApp (armv7)
I have attempted many related solutions related to the problem from other other sources(lost track of other references) but no success.
Any help would be greatly appreciated, thanks!
References:
iOS 64 bit compatibility
minimum os x and xcode requirements for ios 8.1 development
iOS app submission : missing 64-bit support
You can manually add 64- bit (arm64) support like this:
Closing this question and to answer it for anyone else that wasn't aware or are new to iOS development (like me in both cases).
As #Almo and #Jeremiah Jessel mentioned in the comments regarding third-party libraries; I had looked into them and some of them were indeed built as 32-bit binary and were unfortunately, no longer maintained to have 64-bit support.
In my case, the problem was definitely the 32-bit libraries. I had some assistance and was able to update the libraries for 64-bit.

Missing 64-bit support for iOS application

I'm getting warning for 64-bit support missing. The whole message is like below:
Missing 64-bit support - Beginning on February 1, 2015 new iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK. Beginning June 1, 2015 app updates will also need to follow the same requirements. 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-bit code.
I've done changes like attached image for Valid Architectures.
If i try to Archive the build with supporting arm64. I'm getting following errors.
If i will remove arm64 from Valid Architectures, it will work fine and submitted successfully to iTunes Connect but i get mail from iTunes that binary is missing 64-bit support.
I have done googling but not able to get exact solution. Please help me for getting out of this issue.
Any help will be surely worth appreciate.
Thanks,
Amazon iOS SDK offers 64bit support since the version 1.7.0
https://aws.amazon.com/releasenotes/iOS/7003308162044672
Simply use their latest version 2.1.0 , and it will compile with arm64 flag.
That means your library is not compiled for 64 bit, arm64 and your app is expecting it,
There should be new version of that library which supports arm64, just check the developer's web site.
http://aws.amazon.com/mobile/sdk/
Simply update valid architectures and add arm64 flag in Xcode it's not the only step that you need to make an application 64-bit compatible.
Your log is telling you that one library at least it has not been compiled for 64-bit. So update your libraries, in particular from the logs I think you need update the Amazon library.

Warning to update the architecture while validating the ipa

Has anyone else received that warning while uploading the application to App Store?
Everything was going well before today, but when I started to upload the application I began getting the below warning, telling me to update the architecture to support 64-bit.
When I performed the function asked of me, I began getting a lot of errors. If I upload it with a warning will it affect my other code?
We build the app in unity pro 4.5.5 and exported the project to Xcode with iOS 7.0 as build target. Now when we are changing it to standard architecture which consist of arm64 we get lot of errors stating that the unity libraries are not supporting arm64 architecture.
Please let me know if anybody is facing a similar warning while uploading the ipa and any preferable solutions or suggestions are welcomed. Thanks in advance for help.
Unity 4.6 latest version is fixing the armv64. So from now if you create a project in unity for iOS please update it to 4.6 and then create. Cheers.

Xcode and Qt4iOS error while doing build

I got this error when I want to build project that is using Qt4iOS and Xcode 4.2.
Problem is that when I was building project in Qt my GCC compiler was set to an x86.
And system where I am having Xcode is x64 but yesterday was working everything fine. Now suddenly I got this error. And I have tried to build my Qt project with x64 compiler and still I am having the same error.
Any idea what went wrong?
Maybe just following the instructions would help? You waste everyone's time when you don't follow them. In particular, this question is answered by:
"The Qt4iOS SDK has been built as a ‘Universal binary’, containing linkable object code for both ARM (device) and x86 (simulator) targets. When building the application project, it will need to be built for either the device or the simulator. When building for the simulator, the mkspec will need to be specified when running qmake eg.
Xcode 4.2.x (and earlier):
/Developer/Qt4iOS/qt‐everywhere‐ios‐gles2‐4.8.1/bin/qmake animatedtiles.pro –spec qpa/macx‐iossimulator‐clang‐legacy
Xcode 4.3.x (and later):
/Developer/Qt4iOS/qt‐everywhere‐ios‐gles2‐4.8.1/bin/qmake animatedtiles.pro –spec qpa/macx‐iossimulator-­clang"
According to your comments it looks like you haven't used the x86 compiler for building the app for the simulator (your library is armv7 atm).
Try to add the simulator compiler as new toolchain in Qt Creator (located at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++) like you did for the device compiler and use the new one for your next simulator build.
You can check the resulting library with lipo again.

Resources