Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sidneyzeng committed Oct 5, 2021
1 parent 53ddeb4 commit 556c24a
Show file tree
Hide file tree
Showing 87 changed files with 7,248 additions and 0 deletions.
86 changes: 86 additions & 0 deletions docs/FAQ-android.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<!DOCTYPE HTML>
<html>
<head>
<title>iOS FAQ | TinyCrayon</title>
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/favicons/manifest.json">
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#5bbad5">

<meta name="theme-color" content="#ffffff"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>


<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

<link rel="stylesheet" type="text/css" href="/css/index.css">
<link rel="stylesheet" type="text/css" href="/css/iconfont.css">


</head>

<body >
<div class="logo text-center"><a href="/">TinyCrayon</a></div>
<header class="text-center">
<nav class="navbar navbar-fixed-top">
<ul class="nav">
<li ><a id="link-index" href="/">Home</a></li>
<li ><a id="link-guides" href="/guides-iOS/get-started.html">Guides</a></li>
<li ><a id="link-docs" href="/docs-iOS/index.html">Docs</a></li>
<li class="active"><a id="link-faq" href="/FAQ-iOS.html">FAQ</a></li>
</ul>
</nav>
</header>

<div class="main-content">
<div class="container">

</div>
</div>

<footer class="footer">
<div class="container">
<div class="footer-links clearfix">
<div class="link col-sm-4">
<a href="/contact-support.html">Contact Support</a>
</div>
<div class="link col-sm-4">
<a href="/privacy-policy.html">Privacy Policy</a>
</div>
<div class="link col-sm-4">
<a href="/terms-of-use.html">Terms of Use</a>
</div>
</div>
<p class="copyright">Copyright © 2017 TinyCrayon. All rights reserved</p>
</div>
</footer>

<!-- Bootstrap core JavaScript -->
<!-- Placed at the end of the document so the pages load faster -->

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<script src="/js/index.js"></script>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-39532290-1', 'auto');
ga('send', 'pageview');
</script>



</body>
</html>
165 changes: 165 additions & 0 deletions docs/FAQ-iOS.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
<!DOCTYPE HTML>
<html>
<head>
<title>iOS FAQ | TinyCrayon</title>
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/favicons/manifest.json">
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#5bbad5">

<meta name="theme-color" content="#ffffff"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>


<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

<link rel="stylesheet" type="text/css" href="/css/index.css">
<link rel="stylesheet" type="text/css" href="/css/iconfont.css">


</head>

<body >
<div class="logo text-center"><a href="/">TinyCrayon</a></div>
<header class="text-center">
<nav class="navbar navbar-fixed-top">
<ul class="nav">
<li ><a id="link-index" href="/">Home</a></li>
<li ><a id="link-guides" href="/guides-iOS/get-started.html">Guides</a></li>
<li ><a id="link-docs" href="/docs-iOS/index.html">Docs</a></li>
<li class="active"><a id="link-faq" href="/FAQ-iOS.html">FAQ</a></li>
</ul>
</nav>
</header>

<div class="main-content">
<div class="container">

<div class="relative">
<h1 class="page-header">TinyCrayon FAQs</h1>
<div class="platforms">
<div class="platform active">
<a href="/FAQ-iOS.html">
<img src="/img/iOS_active.png">
<span>iOS</span>
</a>
</div>
<div class="platform">
<a href="/android-coming-soon.html">
<img src="/img/android_gray.png">
<span>Android</span>
</a>
</div>
</div>
<br>
<h2>General FAQs</h2>
<hr>
<h4>Where can I ask questions?</h4>
<ul>
<li><a href="http://stackoverflow.com/questions/ask">Stack Overflow</a>, get yourself some internet points. One of the advantages of using Stack Overflow is that the answer is then easily accessible for others.</li>
<li><a href="https://github.com/TinyCrayon/TinyCrayon-iOS-SDK/issues">Github</a>, use github issue tracker to report bugs or require new features.</li>
<li><a href="mailto:service@tinycrayon.com?Subject=TinyCrayon SDK support" target="_top">Email Support</a>, if you meet any problem with TinyCrayon SDK, feel free to contact us via: service@tinycrayon.com</li>
</ul>
<br>
<h4>What's the price of TinyCrayon SDK?</h4>
<p>TinyCrayon SDK is provided under <a href="https://github.com/TinyCrayon/TinyCrayon-iOS-SDK/blob/master/LICENSE">the MIT license</a> and you can use it in your projects for free.</p>
<br>
<h2>Xcode build/run errors</h2>
<hr>
<h4>dyld: Library not loaded: @rpath/libswiftCore.dylib</h4>
<pre>dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/xinzeng/Library/Developer/CoreSimulator/Devices/F1EBDBEF-20FD-44EA-8F8C-836B6971AA64/data/Containers/Bundle/Application/FEE7C741-7633-4FBE-A2B6-6FF894197D40/TCMaskPopView.app/Frameworks/TCMask.framework/TCMask
Reason: image not found
(lldb) </pre>
<p>TinyCrayon is written in swift, if your project is using Objective-C, set <strong>Always Embed Swift Standard Libraries</strong> to be YES in your Build Settings.
<br/>Check out <a href="/guides-iOS/get-started.html#settings-for-objc">Settings for Objective-C</a> for more details.
</p>
<br>
<h4>dyld: Library not loaded: @rpath/TCMask.framework/TCMask</h4>
<pre>dyld: Library not loaded: @rpath/TCMask.framework/TCMask
Referenced from: /Users/xinzeng/Library/Developer/CoreSimulator/Devices/F1EBDBEF-20FD-44EA-8F8C-836B6971AA64/data/Containers/Bundle/Application/31BC97C6-A4ED-40F9-BE2B-568AFCAC8174/TCMaskPopView.app/TCMaskPopView
Reason: image not found</pre>
<p>Make sure TCMask.framework is added as <strong>Embeded Binaries</strong> for your target application, check out <a href="http://localhost:5000/guides-iOS/get-started.html#add-the-sdk">Add the SDK</a> for more details.</p>
<br>
<h4>ld: framework not found Pods_ProjectName</h4>
<pre>ld: framework not found Pods_ProjectName
clang: error: linker command failed with exit code 1 (use -v to see invocation)</pre>
<p>This error usually happens when you install TinyCrayon SDKs using CocoaPods, to solve it, in targets setting <strong>Linked Frameworks and Libraries</strong>, remove <strong>Pods_ProjectNam</strong>.</p>
<br>
<h2>Xcode build/run warnings</h2>
<hr>
<h4>objc[8689]: Class PLBuildVersion</h4>
<pre>objc[8689]: Class PLBuildVersion is implemented in both
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11725b998)
and
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11707d880).
One of the two will be used. Which one is undefined.</pre>
<p>The warning can be ignored safely, it is introduced by Google Admob SDK, which is internally used by TinyCrayon.</p>
<br>
<h4>[MC] System group container for</h4>
<pre>[MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/UserName/Library/Developer/CoreSimulator/Devices/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
YYYY-MM-DD HH:MM:SS.XXXXX ProjectName[8689:741104] [MC] Reading from private effective user settings.</pre>
<p>The warning can be ignored safely, it is introduced by Google Admob SDK, which is internally used by TinyCrayon.</p>
<br>
<h4>&lt;Google:HTML&gt; You are currently using version X.X.X of the SDK</h4>
<pre><Google:HTML> You are currently using version X.X.X of the SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/admob/ios/rel-notes.</pre>
<p>The warning can be ignored safely, it is introduced by Google Admob SDK, which is internally used by TinyCrayon.</p>
<br>
<h4>&lt;Google&gt; To get test ads on this device</h4>
<pre><Google> To get test ads on this device, call: request.testDevices = @[ @"0123456789abcdef0123456789abcdef" ];</pre>
<p>To git rid of the warning, you just need to add test devices to TCMaskView settings:</p>
<ul>
<li><em>Swift</em>: maskView.testDevices = ["0123456789abcdef0123456789abcdef"]</li>
<li><em>Objective-C</em>: maskView.testDevices = @[ @"0123456789abcdef0123456789abcdef" ];</li>
</ul>
<br>

</div>
</div>

<footer class="footer">
<div class="container">
<div class="footer-links clearfix">
<div class="link col-sm-4">
<a href="/contact-support.html">Contact Support</a>
</div>
<div class="link col-sm-4">
<a href="/privacy-policy.html">Privacy Policy</a>
</div>
<div class="link col-sm-4">
<a href="/terms-of-use.html">Terms of Use</a>
</div>
</div>
<p class="copyright">Copyright © 2017 TinyCrayon. All rights reserved</p>
</div>
</footer>

<!-- Bootstrap core JavaScript -->
<!-- Placed at the end of the document so the pages load faster -->

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<script src="/js/index.js"></script>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-39532290-1', 'auto');
ga('send', 'pageview');
</script>



</body>
</html>
Loading

0 comments on commit 556c24a

Please sign in to comment.