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