Reason of mkapp and app size increase

When I have fixed some code and then mkapp.

1. Why the size of app is always increased ??

2.What should I do to avoid increasing the size??

of course if you add some code, the size of the compiled binary will be increased….

I did not add a code but deleted some code that not used. but the size is increased. Why??

i don’t know, you can delete the compiled folder and retry

or you can port your code to a helloworld application and see if the size is reduced