Open GoogleCodeExporter opened 9 years ago
Can someone who also develops for iOS test this patch to ensure it works on
their system? Bonus points if you're using a different version of xcode.
Original comment by dgrogan@chromium.org
on 13 Jun 2013 at 4:45
Verified that the patch fixes the build on Xcode 4.6.2 when running "make
PLATFORM=IOS". Thanks!
Original comment by ashoema...@gmail.com
on 13 Jun 2013 at 6:47
Works for me, please get this merged. I would also propose to replace the
hardcoded Xcode path by a call to `xcode-select --print-path`. See the attached
pathfile. This fixes issues when you're using multiple versions of Xcode (e.g.
with developer previews).
Original comment by luke.cle...@gmail.com
on 24 Jun 2013 at 12:53
Attachments:
Verified works with xcode 4.6.3
Original comment by aatk...@litl.com
on 1 Jul 2013 at 6:59
This patch just happens to work for you because your CXX points to the same
compiler that lives in the default xctoolchain. If you install a different
compiler in your PATH, this patch will stop working.
Attached is a proper patch uses the tools in the default xctoolchain and—as
suggested by luke—reads the xcode root path from xcode-select.
$ make PLATFORM=IOS && lipo -info libleveldb.a
...
Architectures in the fat file: libleveldb.a are: armv6 armv7 i386
Original comment by ras...@notion.se
on 27 Jul 2013 at 10:35
Attachments:
I don't see how that is any better as it apparently still has assumptions about
your XCode being in /Applications/Xcode.app?
I think a separate bug needs logging about fixing builds for both OS/X and iOS
to work if you have an XCode 5 developer preview installed alongside, and are
using Xcode-select
Original comment by dentaroo@gmail.com
on 28 Jul 2013 at 5:30
Original issue reported on code.google.com by
dentaroo@gmail.com
on 11 Jun 2013 at 6:08Attachments: