I have a Mac OS X app that consists of a main target and a dependent framework. Since enabling code-signing on my Mac OS X app, I noticed Xcode rebuilds the main target every time I run it, even if I haven't touched a line of code.
This is a problem because the dependent framework needs to know the CRC of the main target file. Every time Xcode rebuilds the main target, the CRC changes.
Before code-signing, I would build the main target once, generate the CRC, enter the CRC into my framework code, and build the main target again. Xcode would notice only the framework changed so it wouldn't rebuild the main target.
Any suggestions?
There is actually an option in Xcode to run without building the code first. Select the "Run Without Building" option under Product > Perform Action. The hotkey for this is ctrl + cmd + R.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With