Reputation: 6433
I just updated XCode to the latest version to use the iOs 7.1 Simulator. Ever since I can't build the project anymore
Undefined symbols for architecture i386:
"VRightWebiOS::SetSecurityCallbackDelegate(id<VRSecurityCallback>)", referenced from:
-[VXManager open:securityDelegate:] in VXManager.o
If I try to build for device I get the same thing but with architecture arm7 instead of i386. This didn't happen before the update and I have not modified the project file since...
Upvotes: 3
Views: 570
Reputation: 76
In the header (ViewRightWebiOS.h), try changing
void SetSecurityCallbackDelegate(id<VRSecurityCallback> securityCallbackDelegate);
to
void SetSecurityCallbackDelegate(id securityCallbackDelegate);
Xcode 5.1 seems to have changed the way the Objective-C++ source is linked. Not sure how.
Upvotes: 6
Reputation: 207
Try the following steps.It may solve your problem. Goto build settings>Architecture>valid architecture and remove armv64 if present.Keep only armv7 and armv7s.
Upvotes: -1