You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Song Zheng (JIRA)" <ji...@apache.org> on 2013/05/23 00:32:20 UTC

[jira] [Created] (CB-3458) requiring all_load linker flag is bad practice and breaks other SDKs with Objective-C categories

Song Zheng created CB-3458:
------------------------------

             Summary: requiring all_load linker flag is bad practice and breaks other SDKs with Objective-C categories
                 Key: CB-3458
                 URL: https://issues.apache.org/jira/browse/CB-3458
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.7.0
            Reporter: Song Zheng
            Assignee: Shazron Abdullah
             Fix For: 2.8.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira