I'm getting this when i build in XCode after installing pushwoosh

Ld /Users/User/Library/Developer/Xcode/DerivedData/NetHappy-djmfxetmivkxmnadacldujpjbsan/Build/Products/Debug-iphoneos/NetHappy.app/NetHappy normal armv7
    cd /Applications/MAMP/htdocs/APP/NetHappy3/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk -L/Users/User/Library/Developer/Xcode/DerivedData/NetHappy-djmfxetmivkxmnadacldujpjbsan/Build/Products/Debug-iphoneos -L/Applications/MAMP/htdocs/APP/NetHappy3/platforms/ios/NetHappy/Plugins/com.pushwoosh.plugins.pushwoosh -F/Users/User/Library/Developer/Xcode/DerivedData/NetHappy-djmfxetmivkxmnadacldujpjbsan/Build/Products/Debug-iphoneos -filelist /Users/User/Library/Developer/Xcode/DerivedData/NetHappy-djmfxetmivkxmnadacldujpjbsan/Build/Intermediates/NetHappy.build/Debug-iphoneos/NetHappy.build/Objects-normal/armv7/NetHappy.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -lz -framework CoreLocation -framework SystemConfiguration -framework QuartzCore -framework CFNetwork -framework AudioToolbox -framework PushKit -framework StoreKit -framework AssetsLibrary /Users/User/Library/Developer/Xcode/DerivedData/NetHappy-djmfxetmivkxmnadacldujpjbsan/Build/Products/Debug-iphoneos/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework EventKit -framework EventKitUI -lstdc++ -Xlinker -dependency_info -Xlinker /Users/User/Library/Developer/Xcode/DerivedData/NetHappy-djmfxetmivkxmnadacldujpjbsan/Build/Intermediates/NetHappy.build/Debug-iphoneos/NetHappy.build/Objects-normal/armv7/NetHappy_dependency_info.dat -o /Users/User/Library/Developer/Xcode/DerivedData/NetHappy-djmfxetmivkxmnadacldujpjbsan/Build/Products/Debug-iphoneos/NetHappy.app/NetHappy

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_PushNotificationManager", referenced from:
      objc-class-ref in PushNotification.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And i really have no idea what's going on. It's driving me nuts, i've tried everything I can think of and i'm just throwing hours at it and getting nowhere.

What's annoying, is I DID have it working on a previous project. I started from scratch on this one, installed pushwoosh via the git repo and now it won't work.

asked 12 Aug '15, 17:37
tehmooo's gravatar image

tehmooo
113

edited 12 Aug '15, 17:38

RIGHT: got it. My solution was a missing file in my Link Binary Libraries - Click the plus > Add Other... > then add the PushWoosh file in the root of th epushwoosh plugin folder.

permanent link
answered 13 Aug '15, 09:17
tehmooo's gravatar image

tehmooo
113

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×353
×190
×165

question asked: 12 Aug '15, 17:37

question was seen: 1,249 times

last updated: 13 Aug '15, 09:17