iOS开发问题总结

一、Cocoapods问题

1、Search for existing GitHub issues similar to yours:

      If none exists, create a ticket, with the template displayed above, on:

      Be sure to first read the contributing guide for details on how to properly submit a ticket:

      RuntimeError - [Xcodeproj] Unknown object version.

iOS开发问题总结_第1张图片
iOS开发问题总结_第2张图片

        原因:就是xcode版本和CocoaPods 的版本不匹配  比如你用xcode8 你的cocoaPods 版本是1.0.1 . 就会出现此类问题。xcode8需要匹配cocoaPods1.1.0.

解决方法:

        就是更新cocoaPods的版本 ,在终端执行如下命令gem install cocoapods --pre,然后在相对应podfile文件所在路径下执行pod install 即可。



二、上架问题

1、Please sign in with an app-specific password 登录Application Loader 失败


iOS开发问题总结_第3张图片

解决方法:

    在Apple官网登陆你的账号,在管理密码的地方有一个Generate an App-Specific Password,生成专用密码。然后把这个密码复制下来,在Xcode上登你的账号就行了

你可能感兴趣的:(iOS开发问题总结)