Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-3458

requiring all_load linker flag is bad practice and breaks other SDKs with Objective-C categories

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.9.0
    • Component/s: cordova-ios
    • Labels:

      Description

      all_load is bad practice and breaks other SDKs with Objective-C categories. Here is a description of the problem and why all-load is bad:
      http://stackoverflow.com/questions/2906147/what-does-the-all-load-linker-flag-do

      Simple solution: use force_load instead, simple fix!

      With a requirement on all_load linker flag, integrating Cordova with other SDKs will result in duplicate symbol errors.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shazron Shazron Abdullah
                Reporter:
                songz Song Zheng
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified