IBM Support

Setting up an Xcode project to support 64-bit architecture

Troubleshooting


Problem

By default, Maximo Anywhere 7.6.1 and 7.6.2 projects do not support 64-bit architecture. To support 64-bit architecture, you must change some of the configurations for each app.

Resolving The Problem

In the following example procedure, you change the configurations of the Work Approval app.

Open the app in Xcode 8.1 or 8.2. For Xcode 8.3, following the instructions in this link: http://www.ibm.com/support/docview.wss?uid=swg22005180


You start by making changes to the MaximoAnywhereWorkManagement target:




Go to the General tab and ensure you are using at least 8.0 as the Deployment Target.

From the Build Settings tab, choose Standard architectures and keep arm64, armv7, armv7s, x86_64, and i386 as valid architectures:



From the Architectures section, you can specify Debug, Distribution, and Release as standard architectures:



Because the Simulator, that is commonly used for debug purposes, uses the same architecture as your machine (probably i386), you must edit the Debug option to include it for the Simulator. To do so, click on the plus sign that appears in front of Debug:


Select Any iOS Simulator:


Select i386 as its value:


Click on the plus sign again and include Any iOS:


Select a standard architecture for Any iOS SDK:

Ensure the Targeted Device Family is 1,2 and that the iOS Deployment Target is specified as iOS 8.0:



You must make similar configuration changes for Project, but you do not have to set specific details about the Simulator in that section, as was done in the Targets section:



Ensure that you are using the same values for Standard Architectures and Valid Architectures as described before:



And again, the same values for Targeted Device Family and iOS Deployment Target:



Now, you can make the same configuration changes for the CordovaLib.xcodeproj project and targets:





Ensure that iOS Deployment Target is at least 8.0:

Verify the values for Architectures are the ones that are required for 64-bit support, that is, the ones configured in the steps above:



Ensure the values are the same for Targeted Device Family and iOS Deployment Target:



Now, make the same changes for the CordovaLib target:





Now you are able to test the app on the Simulator and build your app to be compatible with 64-bit architecture.

[{"Product":{"code":"SSPJLC","label":"Maximo Anywhere"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF014","label":"iOS"}],"Version":"7.6.1;7.6.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
24 January 2020

UID

swg22005179