<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>IOS on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek/categories/iOS/</link>
    <description>Recent content in IOS on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Mon, 22 Feb 2021 16:04:55 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek/categories/iOS/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>framework not found</title>
      <link>https://index.zshipu.com/geek/post/iOS/framework-bot-found/</link>
      <pubDate>Mon, 22 Feb 2021 16:04:55 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/iOS/framework-bot-found/</guid>
      <description>问题：在build的时候framework not found 解决： 添加需要的framework 确定framework齐全的情况下，就是系统添加了冗余的framework编译需求，找到require列表删除即可 project.xcodeproj文件---&amp;gt;显示包内容---&amp;gt;proje</description>
    </item>
    <item>
      <title>libstdc&#43;&#43;缺失问题</title>
      <link>https://index.zshipu.com/geek/post/iOS/libstdc/</link>
      <pubDate>Thu, 07 Jan 2021 16:04:55 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/iOS/libstdc/</guid>
      <description>问题：libstdc++ not found 原因：libstdc++ was deprecated 5 years ago,we should update project to use libc++ 解决：更新工程或者下载库到当前工程，下载地址 https://github.com/zhangjk4859/zhangjk4859.github.io/raw/zjk/files/libstdc&amp;ndash;master.zip 下载完成以后执行对应.sh文件即可 参考：1.https://github.com/devdawei/libstdc- 2.https://www.jianshu.com/p/e694782b8740</description>
    </item>
    <item>
      <title>Xcode12,iOS14，app启动慢</title>
      <link>https://index.zshipu.com/geek/post/iOS/slow-app-launch-time-after-updating-to-ios-14-and-xcode-12/</link>
      <pubDate>Thu, 07 Jan 2021 12:38:38 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/iOS/slow-app-launch-time-after-updating-to-ios-14-and-xcode-12/</guid>
      <description>问题：启动app会白屏很长一段时间，即使是一个全新的app 解决方案： In the Xcode menu,go to product &amp;gt; scheme &amp;gt; edit scheme open the info tab Uncheck the debug executables checkbox 参考：1. https://stackoverflow.com/questions/63929122/slow-app-launch-time-after-updating-to-ios-14-and-xcode-12 2.https://developer.apple.com/forums/thread/651012</description>
    </item>
    <item>
      <title>链表是什么</title>
      <link>https://index.zshipu.com/geek/post/iOS/what-is-link-list/</link>
      <pubDate>Wed, 06 Jan 2021 00:23:22 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/iOS/what-is-link-list/</guid>
      <description>链表了解吗 Linked list is a sequence of links which contains items Link - Each link of a linked list can store a data called an element Next - Each link of a linked list contains a link to the next link called Next LinkedList - A Linked List contains the connection link to the first link called First Linked list can be visualized as a chain of nodes,where every node points to hte next node ![image]( Simple linked list -item navigation is forward only doubly linked list - items can be navigated forward and backward circular linked list - last item contains link of the first element as next and the first element has a link to the last element as previous. 双向链表是什么 同上，节点有前</description>
    </item>
    <item>
      <title>字典取值为空崩溃问题</title>
      <link>https://index.zshipu.com/geek/post/iOS/dic-nil/</link>
      <pubDate>Fri, 13 Nov 2020 10:24:39 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/iOS/dic-nil/</guid>
      <description>今天后台报错 [_NSPlaceholderData initWithBase64Encoding:]: nil string argument Foundation -[NSData(NSData) base64Encoding] 经过检查问题发生在字典取出值没有判空就传递给方法使用，细节也要注意，养成良好的编码习惯 NSString *urlstr = dic[@&amp;#34;imgBase64&amp;#34;]; NSData *data = [[NSData alloc] initWithBase64Encoding:urlstr]; 正确的代码 id obj = dic[@&amp;#34;imgBase64&amp;#34;]; if (obj &amp;amp;&amp;amp; [obj isKindOfClass:[NSString class]]) { NSString *urlstr = (NSString *)obj; NSData *data = [[NSData alloc] initWithBase64Encoding:urlstr]; }</description>
    </item>
    <item>
      <title>2020-11安装cocoapods问题</title>
      <link>https://index.zshipu.com/geek/post/iOS/cocoapods/</link>
      <pubDate>Thu, 12 Nov 2020 18:48:08 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/iOS/cocoapods/</guid>
      <description>今天安装pods发生无法下载问题， Unable to download data from XXX 切换了镜像源解决 查看镜像源 gem sources -l 删除淘宝镜像源 -r remove sudo gem sources -r https://ruby.taobao.org/ 添加新的镜像源 -a add sudo gem sources -a https://rubygems.org 安装 sudo gem install cocoapods 成功 Successfully installed cocoapods-1.10.0 Parsing documentation for cocoapods-1.10.0 Done installing documentation for cocoapods after 2 seconds 参考：https://blog.csdn.net/li_ph/article/details/438</description>
    </item>
    <item>
      <title>static-lib</title>
      <link>https://index.zshipu.com/geek/post/iOS/static-lib/</link>
      <pubDate>Thu, 12 Nov 2020 12:35:48 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/iOS/static-lib/</guid>
      <description>static lib a unit of code linked at compile time,which does not change&#xA;Dynamic lib a unit of code and/or assets linked at runtime that may change only Apple is allowed to create dynamic libraries for iOS&#xA;Software Framework a compiled set of code that accomplished a task,hence,you can actually have a static framework or a dynamic framework,which are typically just the compiled versions of the above.&#xA;source：https://stackoverflow.com/questions/15331056/library-static-dynamic-or-framework-project-inside-another-project</description>
    </item>
  </channel>
</rss>
