IBM Support

PI57190: CLI CORDOVA IOS FAILS TO DEPLOY TO A REAL DEVICE WITH LINKER ERROR ABOUT BITCODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When trying to deploy an MobileFirst Platform Foundation Cordova
    iOS app to a real device,
    it fails with a linker error:
    "IBMMobileFirstPlatformFoundationHybrid(JSONStoreOpenOptions.o)'
    does not contain bitcode. You must rebuild it with bitcode
    enabled (Xcode setting ENABLE_BITCODE), obtain an updated
    library from the vendor, or disable bitcode for this target"
    

Local fix

  • Set Enable Bitcode = No in Build Settings in Xcode
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Customers who have a MobileFirst Platform Foundation Cordova *
    * iOS application                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The application fails to deploy to a physical device because *
    * the ENABLE_BITCODE build setting is set to yes               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Set ENABLE_BITCODE build setting to NO in the project template
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI57190

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-13

  • Closed date

    2016-02-16

  • Last modified date

    2016-02-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MFPF/WORKLIGHT

  • Fixed component ID

    5725I4301

Applicable component levels

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021