<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: naoyashiga</title>
    <description>The latest articles on DEV Community by naoyashiga (@naoyashiga).</description>
    <link>https://dev.to/naoyashiga</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F372084%2Fa925136f-b781-4eac-b77f-1d159f1dc99a.jpeg</url>
      <title>DEV Community: naoyashiga</title>
      <link>https://dev.to/naoyashiga</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naoyashiga"/>
    <language>en</language>
    <item>
      <title>Flutter iOS build error: 
os.makedirs(destination, 0744) from rlm_lldb.py</title>
      <dc:creator>naoyashiga</dc:creator>
      <pubDate>Fri, 29 Jan 2021 11:58:00 +0000</pubDate>
      <link>https://dev.to/naoyashiga/flutter-ios-build-error-os-makedirs-destination-0744-from-rlmlldb-py-157</link>
      <guid>https://dev.to/naoyashiga/flutter-ios-build-error-os-makedirs-destination-0744-from-rlmlldb-py-157</guid>
      <description>&lt;h1&gt;
  
  
  Error message
&lt;/h1&gt;

&lt;p&gt;This error happened when I use Firebase. I don't know why Realm code has problems...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;error: module importing failed: Traceback (most recent call last):
  File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;
  File "/Users/[your_name]/Library/Application Support/Realm/rlm_lldb.py", line 37
    os.makedirs(destination, 0744)
                                ^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Solution
&lt;/h1&gt;

&lt;p&gt;This is the newest code compatible with Python 3.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/realm/realm-cocoa/blob/master/plugin/rlm_lldb.py"&gt;https://github.com/realm/realm-cocoa/blob/master/plugin/rlm_lldb.py&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
    </item>
    <item>
      <title>Solution commands when Flutter build error happened</title>
      <dc:creator>naoyashiga</dc:creator>
      <pubDate>Wed, 27 Jan 2021 23:35:08 +0000</pubDate>
      <link>https://dev.to/naoyashiga/solution-commands-when-flutter-build-error-happened-i2l</link>
      <guid>https://dev.to/naoyashiga/solution-commands-when-flutter-build-error-happened-i2l</guid>
      <description>&lt;h1&gt;
  
  
  Check the error details
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;flutter run &lt;span class="nt"&gt;--verbose&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  flutter clean
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;flutter clean
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Reinstall pod files
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;flutter clean
&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-rf&lt;/span&gt; ios/Pods
&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-rf&lt;/span&gt; ios/.symlinks
&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-rf&lt;/span&gt; ios/Flutter/Flutter.framework
&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-rf&lt;/span&gt; ios/Flutter/Flutter.podspec
&lt;span class="nb"&gt;rm &lt;/span&gt;ios/Podfile
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Update flutter
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;flutter upgrade
flutter clean
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Change flutter channel
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;flutter channel
flutter channel stable
flutter clean
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Clear Xcode cache
&lt;/h1&gt;

&lt;p&gt;This is the solution about Xcode freeze.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-rf&lt;/span&gt; ~/Library/Caches/com.apple.dt.Xcode
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Remoce Derived Data
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-rf&lt;/span&gt; ~/Library/Developer/Xcode/DerivedData/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Remove cache by Xcode Tools
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xcrun &lt;span class="nt"&gt;--kill-cache&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Remove the app and settings on simulator
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xxcrun simctl erase all
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Remove CocoaPods cache
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pod cache clean &lt;span class="nt"&gt;--all&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Update Cocoapods itself
&lt;/h1&gt;

&lt;p&gt;If you need sudo permission, please use sudo.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[sudo] gem update cocoapods
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you use old gem version, please update gem.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gem update --system
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>flutter</category>
      <category>ios</category>
    </item>
  </channel>
</rss>
