IBM Support

PI22714: DEVELOPERS CAN NOT USE AFNETWORKING LIBRARY WITH WORKLIGHT V6.2 IN IOS NATIVE CODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a developer used an external AFNetworking library in a
    Worklight v6.2 project,
    XCode will fail the compilation with a "duplicate symbol" error.
    
    
    Additional Keywords:
    
    Worklight Versions Affected:  6.2
    
    Initial Impact: High
    

Local fix

  • Add only the *.h files of the AFNetworking library to the
    project, without the *.m files.
    This way the internal AFNetwrking library v1.3.3 will be used.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * iOS developers are unable to add AFNetworking library to the *
    * native code.                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When AFNetworking library is added to the native code, Xcode *
    * linker displays many errors related to duplicate names.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • AFNetworking classes used internally were renamed to prevent
    duplication.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI22714

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-27

  • Closed date

    2014-07-31

  • Last modified date

    2014-07-31

  • 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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R620 PSY

       UP

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

Document Information

Modified date:
17 October 2021