发布APP时出现的问题

1.今天发布应用时,提示 The following URL schemes found in your app are not in the correct format:[wb 1054510268]. URL schemes need to begin with an alphabetic character,and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. Please see RFC 1738 for more detail. 

解决:工程的Target面板中,选择info可以看到有URL Types,其中就有一个URL scheme

2.the app references non-public selectors in payload

有时候xcode会报警告 The app references non-public selectors in Payload/app.app/app: cache, decoder, hasPhotoType ,这时可以用一下方法排查问题

打开终端,切换到程序目录下,然后输入

$ find .| grep -v .svn | grep "\.a"| grep -v "\.app"| xargs grep hasPhotoType

稍等片刻,终端便会输出包含警告的地方

你可能感兴趣的:(发布APP时出现的问题)