Skip to content

Instantly share code, notes, and snippets.

We at Vectornator faced the same issue with our graphic design software and found the following workaround for it, managed to upload the binary and just passed the review.
First of all make sure that you’re on the latest version of Sierra and than archive your app as usually. Once your app was archived right click it and choose show in Finder. Open the package contents and open this file inside of it: /Products/Application/yourApp.app/info.plist
In there you have to change all the DTXXX Values to be the same as in the latest version of Xcode 8.
DTXcode - “0833”
DTSDKName - “iphoneos10.3"
DTSDKBuild - “14E8301”
DTPlatformName - “iphoneos”
DTCompiler - “com.apple.compilers.llvm.clang.1_0”
// general elements
html, body, div, span, applet, object, iframe,
// heading elements
h1, h2, h3, h4, h5, h6,
// text elements
p, blockquote, pre,
// inline elements
a, abbr, address, big, br, cite, code, del, dfn, em, hr, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
// styling elements
(function() {
var _write = document.write;
document.write = function(t) {
t = '<!--##DEFER'+t+'DEFER##-->';
return 'v'=='v' ? _write(t) : _write.call(document, t);
}
})();
function resolve() {
document.body.innerHTML = document.body.innerHTML.replace(/<!--##DEFER(.+)DEFER##-->/g, '$1');
select *
from wp_posts wp
where post_date > '2015-02-01'
order by wp.id desc
select distinct post_status
from wp_posts wp
where post_date > '2015-02-01'
<?php
function unicode_decode ( $string )
{
function decode_unicode ( $c )
{
return ( ( $c = ( isset ( $c[3] ) ? $c[3]
:
( isset ( $c[2] ) ? hexdec ( $c[2] )
:
hexdec ( $c[1] ) ) ) ) < 0x80 ? chr ( $c )