1. iPad版引用第三方庫(kù)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''
原因:第三方庫(kù)支持最低iOS8算色,而Podfile的platform為iOS7勺择,導(dǎo)致無法生成通用的nib文件
解決:修改Podfile支持最低版本為iOS8.0,platform :ios, "8.0",pod update就OK了
2. 新浪微博請(qǐng)求授權(quán)顯示錯(cuò)誤提示「redirect_ui_mismatch」
解決:登錄http://open.weibo.com ,選擇[管理中心]->[我的應(yīng)用]->["您的應(yīng)用名"]->展開左側(cè)[應(yīng)用信息]->[高級(jí)信息]->OAuth2.0 授權(quán)設(shè)置 右上角[編輯]->在框里填入回調(diào)地址即可.(前期測(cè)試應(yīng)用時(shí)隨便填個(gè)公司主頁(yè)即可.兩個(gè)地址可以相同)
[來自:http://blog.csdn.net/typingios/article/details/9110073]
3. 無法彈出actionSheet各谚,提示『[Warning: Attempt to present on which is already presenting』
// 上一個(gè)actionSheet點(diǎn)擊選項(xiàng)后調(diào)用(錯(cuò)誤原因:上一個(gè)actionSheet dismiss動(dòng)畫沒有結(jié)束導(dǎo)致新的actionSheet無法彈出,比如舉報(bào))
//- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
//{
// [[[UIApplication sharedApplication].delegate window] makeKeyAndVisible];
// _blockDelegate((int)buttonIndex,actionSheet.cancelButtonIndex == buttonIndex);
//}
// 上一個(gè)actionSheet動(dòng)畫結(jié)束后回調(diào)(正確姿勢(shì))- (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ā)者費(fèi)用支付成功到千,只收到訂單確認(rèn)郵件昌渤,確無法創(chuàng)建應(yīng)用
可能原因與解決方案:支付訂單姓名與真實(shí)姓名不同,訂單無法正常處理憔四。一般要等5-7個(gè)工作日Apple客服人員聯(lián)系修改膀息,當(dāng)然你可以直接撥打蘋果開發(fā)者聯(lián)盟電話修改訂單姓名(400-670-1855)