Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankNine committed Mar 4, 2020
1 parent e168b2d commit 3f34ead
Show file tree
Hide file tree
Showing 18 changed files with 974 additions and 45 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/unity-crash-report/create-new-project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/unity-crash-report/exception.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/unity-crash-report/getting-started.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/unity-crash-report/install.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/unity-foreach/unity-4.7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/unity-foreach/unity-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 78 additions & 45 deletions index.html

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,44 @@
<description>&lt;p&gt;現在是美國西岸的 3/18 星期五的晚上,Game Developer Conference 16 應該是正式的告一段落了。自從回來台灣之後就再也沒回過美國了,自然最近幾屆 GDC 也都沒有參加。今天下午睡覺又被樓上鄰居吵起來之後,想趁這個時間寫寫我自己關於 GDC 的雜談。&lt;/p&gt;</description>
</item>

<item>
<title>修復 Apple 開發憑證</title>
<link>https://chunfuchao.com/posts/apple-worldwide-developer-relations-certificate-fix/</link>
<pubDate>Mon, 15 Feb 2016 17:15:55 +0000</pubDate>

<guid>https://chunfuchao.com/posts/apple-worldwide-developer-relations-certificate-fix/</guid>
<description>2/14 過後,舊有的 WWDR (Worldwide Developer Relations) 憑證就失效了。因為所有開發用的憑證使用的 issuer 都是這張憑證,所以現在你的開發憑證應該會長這樣(This certificate has an invalid issuer</description>
</item>

<item>
<title>Unity 的 foreach</title>
<link>https://chunfuchao.com/posts/unity-foreach/</link>
<pubDate>Tue, 05 Jan 2016 11:38:43 +0000</pubDate>

<guid>https://chunfuchao.com/posts/unity-foreach/</guid>
<description>&lt;p&gt;&lt;strong&gt;Update 8/10 2016 : Unity 5.3.5p8 導入了 Mono Compiler 的初步更新解決了這個問題,如果你的專案可以升級到 5.3.6 或是 5.4 之後的版本的話以下描述的問題就不會再發生了。&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;官方公告:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://forum.unity.com/threads/upgraded-c-compiler-on-5-3-5p8.417363/&#34;&gt;https://forum.unity.com/threads/upgraded-c-compiler-on-5-3-5p8.417363/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;因為最近有討論區的朋友提到 foreach 的 Garbage Collection 問題,所以想寫一篇為什麼 foreach 會有 Garbage Collection 的文章。這篇文章比較無趣一些,TD;LR 的話就是問題是 &lt;code&gt;IDisposable&lt;/code&gt; 不是 &lt;code&gt;IEnumerator&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/p&gt;</description>
</item>

<item>
<title>Unity CrashReport</title>
<link>https://chunfuchao.com/posts/unity-crash-report/</link>
<pubDate>Wed, 09 Dec 2015 15:37:12 +0000</pubDate>

<guid>https://chunfuchao.com/posts/unity-crash-report/</guid>
<description>&lt;p&gt;之前一直苦於收到客服信說遊戲閃退了,但是沒有什麼研究資料完全推斷不出到底發生什麼事情的窘況。雖然 Google Play 跟 iTunes Connect 後台會收集 Crash Dump,但是一個是收集 Java 一個是 il2cpp 看到也不知道對應到腳本的哪裡,沒有什麼實用價值。&lt;/p&gt;
&lt;p&gt;在 Google 的時候看到很多做 App 的人在推 Crashlytics ,不過 Crashlytics for Unity 還在 beta 然後我的測試資格一直沒下來。這禮拜不經意看到有人提到 Unity CrashReport API,試用了一下覺得不難整合,在這裡分享一下心得。&lt;/p&gt;
&lt;h1 id=&#34;heading&#34;&gt;注意事項:&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;之前有人回報安裝 CrashReport 後遊戲會在初始時閃退,官方在論壇上說已經修正。但是最近被人在 5.2.3 上面重開 issue ,如果不放心的話可能要再觀察一下。相關討論在:&lt;br&gt;
&lt;a href=&#34;http://forum.unity3d.com/threads/crash-initializing-the-reporting-system-on-android.311618/&#34;&gt;http://forum.unity3d.com/threads/crash-initializing-the-reporting-system-on-android.311618/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;目前不支援以 il2cpp 編譯的 iOS ,il2cpp 編譯的版本一遇到 unhandled exception 就會閃退讓 Crash Report 沒時間上傳。我自己有實驗過拿 Mono 編譯的可以上傳,但是 Mono 根本就不能上架 App Store。所以這篇文章先不會介紹 iOS 上面的設定,等到 Unity 官方解決問題後再說。相關討論在:&lt;br&gt;
&lt;a href=&#34;http://forum.unity3d.com/threads/getting-reports-on-android-but-not-ios.368421/&#34;&gt;http://forum.unity3d.com/threads/getting-reports-on-android-but-not-ios.368421/&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;</description>
</item>

<item>
<title>Unity on iOS9</title>
<link>https://chunfuchao.com/posts/unity-on-ios9/</link>
Expand Down
188 changes: 188 additions & 0 deletions posts/apple-worldwide-developer-relations-certificate-fix/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>修復 Apple 開發憑證 - Northern Wind</title>
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">


<meta name="author" content="Chun-Fu Chao" /><meta name="description" content="2/14 過後,舊有的 WWDR (Worldwide Developer Relations) 憑證就失效了。因為所有開發用的憑證使用的 issuer 都是這張憑證,所以現在你的開發憑證應該會長這樣(This certificate has an invalid issuer" />






<meta name="generator" content="Hugo 0.62.0 with theme even" />


<link rel="canonical" href="https://chunfuchao.com/posts/apple-worldwide-developer-relations-certificate-fix/" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">


<link href="/dist/even.a489c479.min.css" rel="stylesheet">



<meta property="og:title" content="修復 Apple 開發憑證" />
<meta property="og:description" content="2/14 過後,舊有的 WWDR (Worldwide Developer Relations) 憑證就失效了。因為所有開發用的憑證使用的 issuer 都是這張憑證,所以現在你的開發憑證應該會長這樣(This certificate has an invalid issuer" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://chunfuchao.com/posts/apple-worldwide-developer-relations-certificate-fix/" />
<meta property="article:published_time" content="2016-02-15T17:15:55+00:00" />
<meta property="article:modified_time" content="2016-02-15T17:15:55+00:00" />
<meta itemprop="name" content="修復 Apple 開發憑證">
<meta itemprop="description" content="2/14 過後,舊有的 WWDR (Worldwide Developer Relations) 憑證就失效了。因為所有開發用的憑證使用的 issuer 都是這張憑證,所以現在你的開發憑證應該會長這樣(This certificate has an invalid issuer">
<meta itemprop="datePublished" content="2016-02-15T17:15:55&#43;00:00" />
<meta itemprop="dateModified" content="2016-02-15T17:15:55&#43;00:00" />
<meta itemprop="wordCount" content="245">



<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="修復 Apple 開發憑證"/>
<meta name="twitter:description" content="2/14 過後,舊有的 WWDR (Worldwide Developer Relations) 憑證就失效了。因為所有開發用的憑證使用的 issuer 都是這張憑證,所以現在你的開發憑證應該會長這樣(This certificate has an invalid issuer"/>

<!--[if lte IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
<![endif]-->

<!--[if lt IE 9]>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/html5shiv.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dest/respond.min.js"></script>
<![endif]-->

</head>
<body>
<div id="mobile-navbar" class="mobile-navbar">
<div class="mobile-header-logo">
<a href="/" class="logo">Northern Wind</a>
</div>
<div class="mobile-navbar-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
<ul class="mobile-menu-list">

</ul>
</nav>
<div class="container" id="mobile-panel">
<header id="header" class="header">
<div class="logo-wrapper">
<a href="/" class="logo">Northern Wind</a>
</div>

<nav class="site-navbar">
<ul id="menu" class="menu">

</ul>
</nav>
</header>

<main id="main" class="main">
<div class="content-wrapper">
<div id="content" class="content">
<article class="post">
<div class="post-content">
<p>2/14 過後,舊有的 WWDR (Worldwide Developer Relations) 憑證就失效了。因為所有開發用的憑證使用的 issuer 都是這張憑證,所以現在你的開發憑證應該會長這樣(This certificate has an invalid issuer):</p>
<p><img src="/images/apple-worldwide-developer-relations-certificate-fix/invalid-issuer.png" alt="Invalid Issuer"></p>
<p>修復方式是刪除舊的 WWDR 憑證,然後安裝新的 WWDR 憑證,新的憑證可以在這裡找到:<br>
<a href="https://developer.apple.com/support/certificates/expiration/">https://developer.apple.com/support/certificates/expiration/</a></p>
<p>所有人應該都會有這張舊的 WWDR 憑證,但是我在一些機器上找不到,後來發現原因有兩個:</p>
<ol>
<li>它不一定在 login keychain 裡面</li>
<li>你的 Keychain Access 可能被設定成隱藏過期的憑證</li>
</ol>
<p>解除隱藏的選項在:View / Show Expired Certificates</p>
<p><img src="/images/apple-worldwide-developer-relations-certificate-fix/show-expired-certificates.png" alt="Show Expired Certificates"></p>
<p>過期的 WWDR 現在看應該會長這樣,這台機器上是被放到 System keychain:</p>
<p><img src="/images/apple-worldwide-developer-relations-certificate-fix/expired-certificate.png" alt="Expired Certificate"></p>
<p>刪除、安裝新的憑證即可解決問題。</p>
<p>參考資料:</p>
<p><a href="http://stackoverflow.com/questions/35390072/this-certificate-has-an-invalid-issuer-apple-push-services/35400712#35400712">http://stackoverflow.com/questions/35390072/this-certificate-has-an-invalid-issuer-apple-push-services/35400712#35400712</a></p>

</div>
</article>
</div>





<script src="https://utteranc.es/client.js"
repo="FrankNine/franknine.github.io"
issue-term="pathname"
theme="github-light"
crossorigin="anonymous"
async>
</script>
<noscript>Please enable JavaScript to view the <a href="https://github.com/utterance">comments powered by utterances.</a></noscript>

</div>
</main>

<footer id="footer" class="footer">
<div class="social-links">
<a href="FrankNine" class="iconfont icon-thub" title="thub"></a>
<a href="aaefiikmnnnr" class="iconfont icon-itter" title="itter"></a>
<a href="https://chunfuchao.com/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>

<div class="copyright">
<span class="power-by">
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
</span>



<span class="copyright-year">
&copy;
2010 -
2020
<span class="heart">
<i class="iconfont icon-heart"></i>
</span>
<span class="author">Chun-Fu Chao</span>
</span>
</div>
</footer>

<div class="back-to-top" id="back-to-top">
<i class="iconfont icon-up"></i>
</div>
</div>
<script type="text/javascript" src="/lib/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="/lib/slideout/slideout-1.0.1.min.js"></script>

<script type="text/javascript" src="/dist/even.26188efa.min.js"></script>








</body>
</html>
33 changes: 33 additions & 0 deletions posts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,43 @@ <h2 class="archive-year">2016</h2>
</a>
</span>
</div>

<div class="archive-post">
<span class="archive-post-time">
02-15
</span>
<span class="archive-post-title">
<a href="/posts/apple-worldwide-developer-relations-certificate-fix/" class="archive-post-link">
修復 Apple 開發憑證
</a>
</span>
</div>

<div class="archive-post">
<span class="archive-post-time">
01-05
</span>
<span class="archive-post-title">
<a href="/posts/unity-foreach/" class="archive-post-link">
Unity 的 foreach
</a>
</span>
</div>
<div class="collection-title">
<h2 class="archive-year">2015</h2>
</div>

<div class="archive-post">
<span class="archive-post-time">
12-09
</span>
<span class="archive-post-title">
<a href="/posts/unity-crash-report/" class="archive-post-link">
Unity CrashReport
</a>
</span>
</div>

<div class="archive-post">
<span class="archive-post-time">
11-07
Expand Down
38 changes: 38 additions & 0 deletions posts/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,44 @@
<description>&lt;p&gt;現在是美國西岸的 3/18 星期五的晚上,Game Developer Conference 16 應該是正式的告一段落了。自從回來台灣之後就再也沒回過美國了,自然最近幾屆 GDC 也都沒有參加。今天下午睡覺又被樓上鄰居吵起來之後,想趁這個時間寫寫我自己關於 GDC 的雜談。&lt;/p&gt;</description>
</item>

<item>
<title>修復 Apple 開發憑證</title>
<link>https://chunfuchao.com/posts/apple-worldwide-developer-relations-certificate-fix/</link>
<pubDate>Mon, 15 Feb 2016 17:15:55 +0000</pubDate>

<guid>https://chunfuchao.com/posts/apple-worldwide-developer-relations-certificate-fix/</guid>
<description>2/14 過後,舊有的 WWDR (Worldwide Developer Relations) 憑證就失效了。因為所有開發用的憑證使用的 issuer 都是這張憑證,所以現在你的開發憑證應該會長這樣(This certificate has an invalid issuer</description>
</item>

<item>
<title>Unity 的 foreach</title>
<link>https://chunfuchao.com/posts/unity-foreach/</link>
<pubDate>Tue, 05 Jan 2016 11:38:43 +0000</pubDate>

<guid>https://chunfuchao.com/posts/unity-foreach/</guid>
<description>&lt;p&gt;&lt;strong&gt;Update 8/10 2016 : Unity 5.3.5p8 導入了 Mono Compiler 的初步更新解決了這個問題,如果你的專案可以升級到 5.3.6 或是 5.4 之後的版本的話以下描述的問題就不會再發生了。&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;官方公告:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://forum.unity.com/threads/upgraded-c-compiler-on-5-3-5p8.417363/&#34;&gt;https://forum.unity.com/threads/upgraded-c-compiler-on-5-3-5p8.417363/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;因為最近有討論區的朋友提到 foreach 的 Garbage Collection 問題,所以想寫一篇為什麼 foreach 會有 Garbage Collection 的文章。這篇文章比較無趣一些,TD;LR 的話就是問題是 &lt;code&gt;IDisposable&lt;/code&gt; 不是 &lt;code&gt;IEnumerator&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/p&gt;</description>
</item>

<item>
<title>Unity CrashReport</title>
<link>https://chunfuchao.com/posts/unity-crash-report/</link>
<pubDate>Wed, 09 Dec 2015 15:37:12 +0000</pubDate>

<guid>https://chunfuchao.com/posts/unity-crash-report/</guid>
<description>&lt;p&gt;之前一直苦於收到客服信說遊戲閃退了,但是沒有什麼研究資料完全推斷不出到底發生什麼事情的窘況。雖然 Google Play 跟 iTunes Connect 後台會收集 Crash Dump,但是一個是收集 Java 一個是 il2cpp 看到也不知道對應到腳本的哪裡,沒有什麼實用價值。&lt;/p&gt;
&lt;p&gt;在 Google 的時候看到很多做 App 的人在推 Crashlytics ,不過 Crashlytics for Unity 還在 beta 然後我的測試資格一直沒下來。這禮拜不經意看到有人提到 Unity CrashReport API,試用了一下覺得不難整合,在這裡分享一下心得。&lt;/p&gt;
&lt;h1 id=&#34;heading&#34;&gt;注意事項:&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;之前有人回報安裝 CrashReport 後遊戲會在初始時閃退,官方在論壇上說已經修正。但是最近被人在 5.2.3 上面重開 issue ,如果不放心的話可能要再觀察一下。相關討論在:&lt;br&gt;
&lt;a href=&#34;http://forum.unity3d.com/threads/crash-initializing-the-reporting-system-on-android.311618/&#34;&gt;http://forum.unity3d.com/threads/crash-initializing-the-reporting-system-on-android.311618/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;目前不支援以 il2cpp 編譯的 iOS ,il2cpp 編譯的版本一遇到 unhandled exception 就會閃退讓 Crash Report 沒時間上傳。我自己有實驗過拿 Mono 編譯的可以上傳,但是 Mono 根本就不能上架 App Store。所以這篇文章先不會介紹 iOS 上面的設定,等到 Unity 官方解決問題後再說。相關討論在:&lt;br&gt;
&lt;a href=&#34;http://forum.unity3d.com/threads/getting-reports-on-android-but-not-ios.368421/&#34;&gt;http://forum.unity3d.com/threads/getting-reports-on-android-but-not-ios.368421/&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;</description>
</item>

<item>
<title>Unity on iOS9</title>
<link>https://chunfuchao.com/posts/unity-on-ios9/</link>
Expand Down
Loading

0 comments on commit 3f34ead

Please sign in to comment.