I'm trying to build an iOS application and I'm hitting an error in debug mode.

```
ld: b/bl/blx thumb2 branch out of range (17330692 max is +/-16MB): from xxxx (0x0204CC28) to zzzz (0x030D4010) in 'yyyy' from libMyLib.a(MyObject.o) for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

```

This only happens for an iOS debug build. iOS-Simulator is fine in both modes.

I came across "[This page](https://groups.google.com/forum/#!msg/pdfnet-sdk/b4EoBiH_zjc/J-9oLJgdPPUJ)".

Which suggests this issue is known to Apple `(rdar://16186742)`. But the workaround does me little good. i.e.

```
The work around is to rearrange the source files in the project build phases and/or libraries in the Link Binary with Libraries section. With a few re-arrangements this problem should go away.

```

I spent way too much time re-arranging the library link order. That moved the problem between different `*.a` files but did not fix it.

Is there any proper solution for this issue?

"xcode 5.0.1" installed.