View Code? Open in Web Editor
NEW
This is a project that used cocoapods, simple encapsulation of KxSMB
License: MIT License
Objective-C 91.83%
Ruby 8.17%
kxsmb_pod's Introduction
- 👋 Hi, I’m @doge1024
- 👀 I’m interested in ...
- 🌱 I’m currently learning ...
- 💞️ I’m looking to collaborate on ...
- 📫 How to reach me ...
kxsmb_pod's People
Contributors
Watchers
kxsmb_pod's Issues
KxSMB rake时出错。log如下:
Compiling ../dynconfig/dynconfig.c
Compiling lib/version.c
Compiling ../lib/util/fault.c
../lib/util/fault.c:134:13: error: 'system' is unavailable: not available on iOS
result = system(cmdstring);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/stdlib.h:190:6: note:
'system' has been explicitly marked unavailable here
int system(const char *) DARWIN_ALIAS_C(system);
^
1 error generated.
The following command failed:
xcrun clang -std=gnu99 -no-cpp-precomp -miphoneos-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include -arch armv7 -mcpu=cortex-a8 -mfpu=neon -ftree-vectorize -pipe -Wno-trigraphs -fpascal-strings -Os -fembed-bitcode -g -fno-common -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I/Users/felix/Desktop/Felix/kxsmb/samba/source3 -I/Users/felix/Desktop/Felix/kxsmb/samba/source3/../lib/popt -I/Users/felix/Desktop/Felix/kxsmb/samba/source3/../lib/iniparser/src -Iinclude/autoconf -Iautoconf -Iautoconf/source3 -Iinclude -I./include -I. -I. -I./../lib/replace -I../lib/ccan/.. -I./librpc -I./.. -I./../lib/tdb_compat -I./../lib/talloc -I./../lib/tevent -I../lib/tdb/include -I../lib/ntdb -DHAVE_CONFIG_H -std=gnu99 -no-cpp-precomp -miphoneos-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include -arch armv7 -mcpu=cortex-a8 -mfpu=neon -ftree-vectorize -pipe -Wno-trigraphs -fpascal-strings -Os -fembed-bitcode -g -I/Users/felix/Desktop/Felix/kxsmb/tmp/include -Iinclude/autoconf -Iautoconf -Iautoconf/source3 -Iinclude -I./include -I. -I. -I./../lib/replace -I../lib/ccan/.. -I./librpc -I./.. -I./../lib/tdb_compat -I./../lib/popt -I/Users/felix/Desktop/Felix/kxsmb/samba/source3/lib -I.. -I./../lib/ldb/include -D_SAMBA_BUILD=3 -D_SAMBA_BUILD=3 -c ../lib/util/fault.c -o ../lib/util/fault.o
make: *** [../lib/util/fault.o] Error 1
rake aborted!
******** Build failed ********
/Users/felix/Desktop/Felix/kxsmb/Rakefile:42:in system_or_exit' /Users/felix/Desktop/Felix/kxsmb/Rakefile:219:in
block in buildArch'
/Users/felix/Desktop/Felix/kxsmb/Rakefile:218:in each' /Users/felix/Desktop/Felix/kxsmb/Rakefile:218:in
buildArch'
/Users/felix/Desktop/Felix/kxsmb/Rakefile:243:in block in <top (required)>' /Users/felix/.rvm/gems/ruby-2.6.0-preview2@global/gems/rake-12.3.1/exe/rake:27:in
<top (required)>'
Tasks: TOP => default => build_all => build_smb_armv7
(See full trace by running task with --trace)