- Home /
How do I make a permanent change to an iOS class file?
Can someone tell me how to make a change to an objective-c file (.mm/.h) that is permanent?
I'm having a problem where every time I make a new build for my iOS device, I have to modify iPhone_sensors.mm and iPhone_sensors.h (after loading the Unity built project into Xcode) due to this problem.
I would think that the Unity iOS class files exist somewhere in the project structure and I could just modify the main source.
Someone please tell me this is do-able : P
Nothing? How about, "it's not possible", or "good luck with that", or "bug in unity", but nothing? Unity developers have nothing to say?
It amazes me how I find answers for lots of my problems by looking at solutions here, but I've asked a total of 5 questions in the last two years and I have never received an answer to ANY of my questions.
Do I smell or wtf?
Your answer
![](https://koobas.hobune.stream/wayback/20220612110446im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Magnifying Glass Unity iOS 0 Answers
Unity for iOS: UnityPause(BOOL) 0 Answers
How to return a native (iOS/Android) UIview object to Unity 0 Answers
iPad simulator and Objective-C code 1 Answer
Render 1 more frame after OnApplicationPause on iOS 6 Answers