<blockquote>
<p dir="auto">Go 1.5.1 on OS X 10.10.5 with Xcode 7</p>
</blockquote>
<p dir="auto">It appears Go builds c archives with absolute addressing, which makes Xcode unhappy when using the resulting static library in a project:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(null): PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in __cgoexp_45a75e65c81e_Test from build/iphoneos/main.a(go.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie"><pre class="notranslate"><code class="notranslate">(null): PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in __cgoexp_45a75e65c81e_Test from build/iphoneos/main.a(go.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
</code></pre></div>
<p dir="auto">I made a sample test project here: <a href="https://github.com/swisspol/Go-Bridge">https://github.com/swisspol/Go-Bridge</a></p>
<p dir="auto">When including the generated gomobile iOS framework into another iOS framework, calling gomobile generated method from the wrapper framework causes linker failure with message "ld: illegal text-relocation to 'type..eq.[0]string'"</p>