soumya
soumya

Reputation: 3811

XCODE 6.4 - Undefined symbols for architecture armv7 error

My which was working fine until GCM integration, now give below error.

Undefined symbols for architecture armv7 error

I am using the Architecture sam as that of sample app provided by google HERE

enter image description here

But it is giving below error after using GCM code for Appdelegate.m

enter image description here

If anyone has faced problem ,please help me in resolving this issues..

Upvotes: 0

Views: 1382

Answers (2)

soumya
soumya

Reputation: 3811

This solved my issue by add "$inhertied" to linker flags in targets

enter image description here

Upvotes: 1

Duncan C
Duncan C

Reputation: 131426

It sounds like the GCM library only has object code for the simulator and is failing when you try to build it for your iOS device.

That's strange. Usually the problem is the opposite - vendors supply compiled code only for the device and it fails when you build for the simulator.

I haven't used GCM before so I don't have any specific info to give you. Try building for the simulator and for iOS devices, not the different errors, and then read up on how you build GCM for the simulator and for iOS devices.

Upvotes: 1

Related Questions