Newly purchased XT1030, bootloader unlocked, installed CM12.1 nightly. When I open the camera app it says "Insert an SD card before using the camera". The XT1030 doesn't have an external SD card, only internal storage. The closest thing to an answer I could conceive of was sdfix? Who knows anything about this issue?
When installing CM12, the instructions don't say to include Internal Storage during the wipe. I did a factory wipe, included Internal Storage and System this time, and then did an adb push to get the CM12 install files back on. The camera is working now.