I use OpenFeint and Prime32 Social Networking plugins. When i use them separatly in different projects - all works correctly,
when i import plugins into same Unity project and build XCode project occur duplicate symbols issue
ld: duplicate symbol _FBIsDeviceIPad in /Game/NEWSOH9/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv6/FBConnectGlobal.o and /Game/NEWSOH9/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv6/FBDialog-4450E698E96B852D.o
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g+±4.2 failed with exit code 1
ld: duplicate symbol _FBIsDeviceIPad in /Game/NEWSOH9/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/FBConnectGlobal.o and /Game/NEWSOH9/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/FBDialog-4450E698E96B852D.o
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g+±4.2 failed with exit code 1
Both OpenFeint Plugin and SocialNetworking Plugins uses FBConnect.h/.m FBDialog.h/.m from Facebook - occurs conflict between duplicate code. Need remove duplicate files and all works.
I renamed all SocialPlugin’s classes and all variables… Build succeeded. BUT
After allowing use of my app in official Facebook application my game is not restored. If I restored it manually it sais that login failed. Any suggestions?