Reputation: 3811
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
But it is giving below error after using GCM code for Appdelegate.m
If anyone has faced problem ,please help me in resolving this issues..
Upvotes: 0
Views: 1382
Reputation: 3811
This solved my issue by add "$inhertied" to linker flags in targets
Upvotes: 1
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