Debug help

Debug help

Cancelled

Job Description

I recently finished coding my project but I need help with a warning that keeps popping up. The app runs fine on the simulator but when I run it on my device it crashes at the loading screen and I get this error:

ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in -[CrimeViewController robberyPLASMAGUN] from /Users/CANITO/Library/Developer/Xcode/DerivedData/Gangstas-bdjeefmxyiuktbgactlfcmgjvavk/Build/Intermediates/Gangstas.build/Debug-iphoneos/Gangstas.build/Objects-normal/armv7/CrimeViewController.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

My viewcontroller.m file is a big file and when I remove all the code from the specific file the error goes away and the app runs fine. I don't know what to do ? I need all the code in that specific file in order for my game to function. Please help.

P.S.
PAY IS ADJUSTABLE DEPENDING ON HOW WELL YOU CAN HELP ME FIX THIS.

Arique