0
我已經開發了一個應用程序使用libspotify.framework應用程序運行良好,但它提供了一個錯誤在iTunes上提交時,錯誤是「無效的簽名,嵌套的應用程序捆綁Spotify路徑[Macify.app/Contents/框架/ libspotify.framework]沒有簽名「請參閱atttched圖像,並幫助我CocoaLibspotify框架
我已經開發了一個應用程序使用libspotify.framework應用程序運行良好,但它提供了一個錯誤在iTunes上提交時,錯誤是「無效的簽名,嵌套的應用程序捆綁Spotify路徑[Macify.app/Contents/框架/ libspotify.framework]沒有簽名「請參閱atttched圖像,並幫助我CocoaLibspotify框架
是的,我經過更多的努力研究後發現這個問題的解決方案。 解決方案: 1)轉到xcode中的項目導航器,點擊「構建階段」。 2)將出現一個按鈕「添加構建階段」點擊此。 3)將被打開,然後列表點擊「添加運行腳本」 4)複製下面的代碼並粘貼有:
my $infoplist_path = "$ENV{BUILT_PRODUCTS_DIR}/$ENV{FRAMEWORKS_FOLDER_PATH}/libspotify.framework/Resources/Info.plist";
#open the info plist
open(my $input, "<", $infoplist_path) or die "Can't open Info.plist: $!";
my $outputstring = "";
#loop through each line until we find CFBundleExecutable, then substitute the next line
while (+<$input>) {
$outputstring .= "$_";
if (/[\t ]+<key>CFBundleExecutable<\/key>\n/) {
my $line = +<$input>;
$line =~ s/([\t ]+<string>)(.*?)(<\/string>)/$1.(libspotify).$3/eg;
$outputstring .= $line;
}
}
#write back out to Info.plist
open(my $output, ">", $infoplist_path) or die "Can't open Info.plist: $!";
print $output $outputstring;
5)我相信,如果任何人有這個問題,那麼它會用得到解決這段代碼。