This bundle is invalid. The bundle at path Payload/***.app/Frameworks/AFNetworking.framework has an invalid CFBundleIdentifier 'org.cocoapods.AFNetworking com.alamofire.AFNetworking' There are invalid characters(characters that are not dots, hyphen and alphanumerics) that have been replaced with their code point 'org.cocoapods.AFNetworking\u0020com.alamofire.AFNetworking' CFBundleIdentifier must be present, must contain only alphanumerics, dots, hyphens and must not end with a dot. [see the Core Foundation Keys at https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-102070-TPXREF105]
因?yàn)樘O(píng)果審核 UIWebView 無(wú)法使用,現(xiàn)將 AFNetworking 從 3.2.1 升級(jí)到去除 UIWebView 的 4.0 版本肮塞,模擬器運(yùn)行一氣呵成無(wú)礙坑赡,打包編譯卻報(bào)錯(cuò)绅项,多方查找原因冒版,最后在 AFNetworking 的 GitHub 上找到了相關(guān)Issues#4559
解決方案:cocopods 版本 1.6 升級(jí)到 1.9.3 然后重新 pod install 重新打包編譯驗(yàn)證成功