Skip to content
This repository was archived by the owner on Jul 27, 2019. It is now read-only.
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

all_load flag requested for AdobeCreativeSDKImage is causing duplicated symbol error #36

@claudioredi

Description

@claudioredi

Hi,
Using the flag all_load is causing on my project this error: duplicate symbol '_main'.

Would it be possible to replace all_load by force_load which seems to be less invasive and more granular?

Also it's a little uncertain to me why this flag is necessary. According what I have read, it exists to workaround this problem that was already resolved:

For 64-bit and iPhone OS applications, there is a linker bug that prevents -ObjC from loading objects files from static libraries that contain only categories and no classes. The workaround is to use the -all_load or -force_load flags. -all_load forces the linker to load all object files from every archive it sees, even those without Objective-C code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions