Fix Implicitly Unwrapped nil value error in `XcodeSpec`