Thanks. I haven't tried 5.5.1 yet, but my build ended up succeeding after I rebooted my Mac (maybe something needed to be reloaded after all the Xcode / SDK changing I did) and removed the -no-framework config option (it was probably not intended for iOS, I think I only included it after seeing some message for the OS X build, and it forgot about it for iOS). I still don't know what the original problem was, but maybe this will be useful for someone.