Skip to content

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_PTPusher" #241

@samuelrabini

Description

@samuelrabini

I followed all the instruction to install Pusher using Cocoapods and at first run I had no problemi while compiling the solution. Now I'm receiving the error:

Undefined symbols for architecture x86_64:
"OBJC_CLASS$_PTPusher"

Here is my Podfile:

target 'MyEvo' do
pod 'libPusher', git: 'https://github.com/pusher/libPusher.git', branch: 'push-notifications'

target 'MyEvoTests' do
inherit! :search_paths
# Pods for testing
end

target 'MyEvoUITests' do
inherit! :search_paths
# Pods for testing
end

end

Don't where's the problem.
The build fails as soon as I adde the line:

self.pusher = [PTPusher pusherWithKey:APP_KEY delegate:self encrypted:YES];

in the AppDelegate.h

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