1. iPad版引用第三方庫Crash,提示『xxxx.bundle> (not yet loaded)』
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/63B2586A-271B-44B9-B552-61E0E65E5E1F/QiuBai.app/RMX_XIBs.bundle> (not yet loaded)' with name 'RMXLivePlayViewController''
原因:第三方庫支持最低iOS8,而Podfile的platform為iOS7,導(dǎo)致無法生成通用的nib文件
解決:修改Podfile支持最低版本為iOS8.0,platform :ios, "8.0",pod update就OK了
2. 新浪微博請求授權(quán)顯示錯誤提示「redirect_ui_mismatch」
解決:登錄http://open.weibo.com ,選擇[管理中心]->[我的應(yīng)用]->["您的應(yīng)用名"]->展開左側(cè)[應(yīng)用信息]->[高級信息]->OAuth2.0 授權(quán)設(shè)置 右上角[編輯]->在框里填入回調(diào)地址即可.(前期測試應(yīng)用時隨便填個公司主頁即可.兩個地址可以相同)
[來自:http://blog.csdn.net/typingios/article/details/9110073]
3. 無法彈出actionSheet,提示『[Warning: Attempt to present on which is already presenting』
// 上一個actionSheet點擊選項后調(diào)用(錯誤原因:上一個actionSheet dismiss動畫沒有結(jié)束導(dǎo)致新的actionSheet無法彈出,比如舉報)
//- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
//{
// [[[UIApplication sharedApplication].delegate window] makeKeyAndVisible];
// _blockDelegate((int)buttonIndex,actionSheet.cancelButtonIndex == buttonIndex);
//}
// 上一個actionSheet動畫結(jié)束后回調(diào)(正確姿勢)- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex
{
[[[UIApplication sharedApplication].delegate window] makeKeyAndVisible];
_blockDelegate((int)buttonIndex,actionSheet.cancelButtonIndex == buttonIndex);
}
[來自:http://www.iganlei.cn/codeing/ios/600.html]
3. AppleID開發(fā)者費用支付成功,只收到訂單確認郵件,確無法創(chuàng)建應(yīng)用
可能原因與解決方案:支付訂單姓名與真實姓名不同,訂單無法正常處理。一般要等5-7個工作日Apple客服人員聯(lián)系修改,當然你可以直接撥打蘋果開發(fā)者聯(lián)盟電話修改訂單姓名(400-670-1855)