Just got the plugin from Prime31. Everything is fine in unity and followed the step to filled in the application ID but build failed in Xcode.
My error is:
ld: warning: directory ‘/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/System/Library/Frameworks’ following -F not found
Undefined symbols:
“OBJC_CLASS_MobclixAdViewiPhone_300x250", referenced from:
objc-class-ref-to-MobclixAdViewiPhone_300x250 in MobclixManager.o
"_OBJC_CLASS__MobclixAdViewiPad_300x250”, referenced from:
objc-class-ref-to-MobclixAdViewiPad_300x250 in MobclixManager.o
“OBJC_CLASS_MobclixAdViewiPhone_320x50", referenced from:
objc-class-ref-to-MobclixAdViewiPhone_320x50 in MobclixManager.o
"_OBJC_CLASS__MobclixAdViewiPad_468x60”, referenced from:
objc-class-ref-to-MobclixAdViewiPad_468x60 in MobclixManager.o
“OBJC_CLASS_Mobclix", referenced from:
objc-class-ref-to-Mobclix in MobclixBinding.o
(maybe you meant: _OBJC_CLASS__MobclixManager, OBJC_CLASS_MobclixAdViewController )
"_OBJC_CLASS__MobclixAdViewiPad_728x90”, referenced from:
objc-class-ref-to-MobclixAdViewiPad_728x90 in MobclixManager.o
“OBJC_CLASS$_MobclixAdViewiPad_120x600”, referenced from:
objc-class-ref-to-MobclixAdViewiPad_120x600 in MobclixManager.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Would anyone can give me a hand?
Had the same issue, fixed it by replacing binary library from Prime31 plugin with the one from original Mobclix distribution.
thanks hudbrog!
I tried your method but it still not work.
Is it copy the “mobclix.lib” and “mobclix.lib-nonthumb” folder’s files from “Mobclix SDK 4.2.2 for iOS” to “Assets/Editor/Mobclix” folder?
You appear to be using the iOS 4.1 SDK. I think you will need 4.2 to work with the plugin.
Just copy the new binary library
now just have one error but i cannot found out what wrong is it.
would anyone can give me a hand?
My error is:
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g+±4.2 failed with exit code 1
standard generic error you get there.
commonly rebuilding it from unity → XCode, there a clean all targets and potentially xcode restart will solve that one
Thanks for your fast reply, dreamora!
I tried your method, clean all targets, restart xcode and also restart my mac but no help…
any other solution?
I was having the same bunch of errors when attempting to compile in xcode. As @hudbrog said I took the file libMobclix_nonthumb.a from the mobclix SDK and replaced the same file in the mobclix folder (created by the plugin) in my xcode project, deleting references to the old one first. when dragging the file in I used copy to selected destination.
As for if the ads are working … not sure yet… but it is compiling so thats a step forward for now.