Remove unnecessary no warnings
Fixed a bug

When execute PublishOptionNobuild::Callback methods before init_app, it had failed compile.