我正在尝试 iOS 的 Markdown 库并找到绕过 - https://github.com/Uncodin/bypass
要运行一个必须安装 Boost。我正在使用 Mountain Lion/XCode/iOS 7。我下载了版本 1_54_0 并尝试通过说明进行安装。
问题是 './b2 install' 正在寻找 'usr' 中的 'local',这在我的系统中不存在。我检查过。
我在很多地方搜索过,但找不到 Mountain Lion/XCode 5/iOS 7 的解决方案。我也尝试过使用 boost.sh 脚本,正如一些人所建议的那样,但这也没有证明是有效的。
有没有人遇到过这个问题?如何解决这个问题?请帮忙。
更新 1:
Xcode 错误 -
/Users/username/iPhone Projects/Git Hub/bypass/src/parser.h:27:10: 'boost/algorithm/string.hpp' 文件未找到
运行在此处回答中提到的 boost.sh :如何在 OS X 10.8.4 上为 iOS 模拟器 (6.1) 编译 Boost 1.54.0 (1.54)?
Cleaning everything before we start to build...
=================================================================
Done
cp: /Users/ajeetkumar/Downloads/src/boost_1_54_0/tools/build/v2/user-config.jam-bk: No such file or directory
BOOST_VERSION: 1.54.0
BOOST_LIBS: random regex graph random chrono thread signals filesystem system date_time
BOOST_SRC: /Users/ajeetkumar/Downloads/src/boost_1_54_0
IOSBUILDDIR: /Users/ajeetkumar/Downloads/ios/build
OSXBUILDDIR: /Users/ajeetkumar/Downloads/osx/build
PREFIXDIR: /Users/ajeetkumar/Downloads/ios/prefix
IOSFRAMEWORKDIR: /Users/ajeetkumar/Downloads/ios/framework
OSXFRAMEWORKDIR: /Users/ajeetkumar/Downloads/osx/framework
IPHONE_SDKVERSION: 7.0
XCODE_ROOT: /Applications/Xcode.app/Contents/Developer
COMPILER: clang++
=================================================================
Done
Unpacking boost into /Users/ajeetkumar/Downloads/src...
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
=================================================================
Done
./boost.sh: line 171: cd: /Users/ajeetkumar/Downloads/src/boost_1_54_0: No such file or directory
Bootstrapping (with libs random,regex,graph,random,chrono,thread,signals,filesystem,system,date_time)
./boost.sh: line 175: ./bootstrap.sh: No such file or directory
=================================================================
Done
Updating boost into /Users/ajeetkumar/Downloads/src/boost_1_54_0...
cp: /Users/ajeetkumar/Downloads/src/boost_1_54_0/tools/build/v2/user-config.jam: No such file or directory
./boost.sh: line 139: /Users/ajeetkumar/Downloads/src/boost_1_54_0/tools/build/v2/user-config.jam: No such file or directory
=================================================================
Done
./boost.sh: line 184: cd: /Users/ajeetkumar/Downloads/src/boost_1_54_0: No such file or directory
./boost.sh: line 187: ./bjam: No such file or directory
./boost.sh: line 188: ./bjam: No such file or directory
=================================================================
Done
./boost.sh: line 191: ./bjam: No such file or directory
=================================================================
Done
./boost.sh: line 194: ./b2: No such file or directory
=================================================================
Done
./boost.sh: line 202: cd: /Users/ajeetkumar/Downloads/src/boost_1_54_0: No such file or directory
Splitting all existing fat binaries...
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_random.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_random.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_random.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_random.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_random.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_random.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_regex.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_regex.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_regex.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_regex.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_regex.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_regex.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_graph.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_graph.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_graph.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_graph.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_graph.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_graph.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_random.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_random.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_random.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_random.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_random.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_random.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_chrono.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_chrono.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_chrono.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_chrono.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_chrono.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_chrono.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_thread.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_thread.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_thread.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_thread.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_thread.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_thread.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_signals.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_signals.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_signals.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_signals.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_signals.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_signals.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_filesystem.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_filesystem.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_filesystem.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_filesystem.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_filesystem.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_filesystem.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_system.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_system.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_system.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_system.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_system.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_system.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_date_time.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_date_time.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: iphone-build/stage/lib/libboost_date_time.a (No such file or directory)
cp: iphonesim-build/stage/lib/libboost_date_time.a: No such file or directory
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_date_time.a (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: can't open input file: osx-build/stage/lib/libboost_date_time.a (No such file or directory)
Decomposing each architecture's .a files
Decomposing libboost_random.a...
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
Decomposing libboost_regex.a...
ar: ../libboost_regex.a: No such file or directory
ar: ../libboost_regex.a: No such file or directory
ar: ../libboost_regex.a: No such file or directory
ar: ../libboost_regex.a: No such file or directory
ar: ../libboost_regex.a: No such file or directory
ar: ../libboost_regex.a: No such file or directory
Decomposing libboost_graph.a...
ar: ../libboost_graph.a: No such file or directory
ar: ../libboost_graph.a: No such file or directory
ar: ../libboost_graph.a: No such file or directory
ar: ../libboost_graph.a: No such file or directory
ar: ../libboost_graph.a: No such file or directory
ar: ../libboost_graph.a: No such file or directory
Decomposing libboost_random.a...
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
ar: ../libboost_random.a: No such file or directory
Decomposing libboost_chrono.a...
ar: ../libboost_chrono.a: No such file or directory
ar: ../libboost_chrono.a: No such file or directory
ar: ../libboost_chrono.a: No such file or directory
ar: ../libboost_chrono.a: No such file or directory
ar: ../libboost_chrono.a: No such file or directory
ar: ../libboost_chrono.a: No such file or directory
Decomposing libboost_thread.a...
ar: ../libboost_thread.a: No such file or directory
ar: ../libboost_thread.a: No such file or directory
ar: ../libboost_thread.a: No such file or directory
ar: ../libboost_thread.a: No such file or directory
ar: ../libboost_thread.a: No such file or directory
ar: ../libboost_thread.a: No such file or directory
Decomposing libboost_signals.a...
ar: ../libboost_signals.a: No such file or directory
ar: ../libboost_signals.a: No such file or directory
ar: ../libboost_signals.a: No such file or directory
ar: ../libboost_signals.a: No such file or directory
ar: ../libboost_signals.a: No such file or directory
ar: ../libboost_signals.a: No such file or directory
Decomposing libboost_filesystem.a...
ar: ../libboost_filesystem.a: No such file or directory
ar: ../libboost_filesystem.a: No such file or directory
ar: ../libboost_filesystem.a: No such file or directory
ar: ../libboost_filesystem.a: No such file or directory
ar: ../libboost_filesystem.a: No such file or directory
ar: ../libboost_filesystem.a: No such file or directory
Decomposing libboost_system.a...
ar: ../libboost_system.a: No such file or directory
ar: ../libboost_system.a: No such file or directory
ar: ../libboost_system.a: No such file or directory
ar: ../libboost_system.a: No such file or directory
ar: ../libboost_system.a: No such file or directory
ar: ../libboost_system.a: No such file or directory
Decomposing libboost_date_time.a...
ar: ../libboost_date_time.a: No such file or directory
ar: ../libboost_date_time.a: No such file or directory
ar: ../libboost_date_time.a: No such file or directory
ar: ../libboost_date_time.a: No such file or directory
ar: ../libboost_date_time.a: No such file or directory
ar: ../libboost_date_time.a: No such file or directory
Linking each architecture into an uberlib ( libboost_random.a libboost_regex.a libboost_graph.a libboost_random.a libboost_chrono.a libboost_thread.a libboost_signals.a libboost_filesystem.a libboost_system.a libboost_date_time.a => libboost.a )
rm: /Users/ajeetkumar/Downloads/ios/build//libboost.a: No such file or directory
...armv6
ar: obj/.o: No such file or directory
...armv7
ar: obj/.o: No such file or directory
...armv7s
ar: obj/.o: No such file or directory
...i386
./boost.sh: line 252: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin//ar: No such file or directory
rm: /Users/ajeetkumar/Downloads/osx/build/*/libboost.a: No such file or directory
...osx-i386
./boost.sh: line 256: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin//ar: No such file or directory
...x86_64
./boost.sh: line 259: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin//ar: No such file or directory
Framework: Building /Users/ajeetkumar/Downloads/ios/framework/boost.framework from /Users/ajeetkumar/Downloads/ios/build...
Framework: Setting up directories...
Framework: Creating symlinks...
Lipoing library into /Users/ajeetkumar/Downloads/ios/framework/boost.framework/Versions/A/boost...
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//lipo: empty archive with no architecture specification: /Users/ajeetkumar/Downloads/ios/build/armv6/libboost.a (can't determine architecture for it)
Aborted: Lipo /Users/ajeetkumar/Downloads/ios/framework failed