美文网首页
iOS 开发中常见的问题及解决方案

iOS 开发中常见的问题及解决方案

作者: yyggzc521 | 来源:发表于2019-03-12 17:03 被阅读0次
    1. 第一次在开发者中心创建APP ID遇到的问题
      We recommend using a reverse-domain name style string (i.e., com.domainname.appname). It cannot contain an asterisk (*).
    意思是说:我们建议使用反向域名样式字符串(即com.domainname.appname)。它不能包含星号(*)

    可以这么写 com.sf.zhifubao 作为APP的bundle ID

    1. 使用Xcode9打包上传的警告提示
      SDK Version Issue. This app was built with the iOS 11.4 SDK. Starting March 2019, all iOS apps submit
    从2019年3月开始就不能再用xcode10.1以下的版本打包提交审核了,苹果是准备放弃iOS9的用户了
    1. ios Xcode 10 Multiple commands produce 问题
      解决方案:File -> Workspace Settings
      参考
    2. 'Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (5) must be equal to the number of rows contained in that section before the update (5), plus or minus the number of rows inserted or deleted from that section (0 inserted, 1 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).'
      解决方案:崩溃代码全部放在主线程
      参考
    3. xcode10 libstdc++.6.0.9.dylib libstdc++.6.dylib libstdc++.dylib三个库报错解决方案
      以下3个路径下面的文件中添加上面的三个库
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/
    
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
    
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
    
    

    参考

    1. has denied the launch request.
      Internal launch error: process launch failed: failed to get the task for process 3989
      解决方案:最终发现在debug环境下用的是生产证书在调试,所以一直弹窗提示。最后改为测试证书就没事了

    相关文章

      网友评论

          本文标题:iOS 开发中常见的问题及解决方案

          本文链接:https://www.haomeiwen.com/subject/wrchyqtx.html