Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Linker error from cocoapods install #163

@arthurpark

Description

@arthurpark

Hi, I'm trying to integrate RN with code push to existing iOS app.

Integrating RN was successful (using cocoa pods).
Then I tried to add Code Push using cocoapods. pod install ran fine with code push, but when I tried to build the project, I get a linker error.

Here's the error message (truncated some paths)

duplicate symbol _OBJC_IVAR_$_SSZipArchive._zip in: ...libCodePush.a(SSZipArchive.o)
duplicate symbol _OBJC_IVAR_$_SSZipArchive._path in: ...libCodePush.a(SSZipArchive.o)
duplicate symbol _OBJC_CLASS_$_SSZipArchive in: ...libCodePush.a(SSZipArchive.o)
duplicate symbol _OBJC_METACLASS_$_SSZipArchive in: ...libCodePush.a(SSZipArchive.o)
duplicate symbol _OBJC_IVAR_$_SSZipArchive._filename in: ...libCodePush.a(SSZipArchive.o)

ld: 5 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

SSZipArchive was in already Podfile before adding code push.

Can you help me? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions