user1028028
user1028028

Reputation: 6433

Can't build project with latest XCode

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

Answers (2)

iOS Developer
iOS Developer

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

Himanshu Gupta
Himanshu Gupta

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

Related Questions