This is a project that used cocoapods, simple encapsulation of KxSMB
-
- in terminal run
git clone https://github.com/harddog/KxSMB_Pod.git
- in terminal run
-
- in terminal run
cd KxSMB_Pod
- in terminal run
-
- in terminal run
export samba_cv_big_endian=no
export samba_cv_little_endian=yes
export samba_cv_CC_NEGATIVE_ENUM_VALUES=yes
export libreplace_cv_HAVE_GETADDRINFO=no
export samba_cv_HAVE_WRFILE_KEYTAB=no
export smb_krb5_cv_enctype_to_string_takes_krb5_context_arg=no
export smb_krb5_cv_enctype_to_string_takes_size_t_arg=yes
export ac_cv_file__proc_sys_kernel_core_pattern=yes
rake
rm -r samba
rm -r tmp
mv -f ./libs ./KxSMB_Pod/Classes/KxSMB/libs
-
- After waiting for a long time, terminal show log
"copy samba/lib/util/talloc_stack.h -> libs"
(Make sure your Internet connection is very good)
- After waiting for a long time, terminal show log
-
- copy this folder to you project, add the following line to your Podfile:
pod 'KxSMB_Pod', :path => './KxSMB_Pod/KxSMB_Pod.podspec'
harddog, [email protected]
KxSMB_Pod is available under the MIT license. See the LICENSE file for more info.