Skip to content

Commit

Permalink
Revert "libffi update to v3.4.6 and remove libffi.a replace by libffi…
Browse files Browse the repository at this point in the history
….xcframework"

This reverts commit 693a25a.
  • Loading branch information
SilverFruity committed Aug 15, 2024
1 parent d4e736a commit 93bc2d0
Show file tree
Hide file tree
Showing 22 changed files with 455 additions and 2,012 deletions.
6 changes: 5 additions & 1 deletion OCRunner.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ s.author = { "SilverFruity" => "[email protected]" }
s.ios.deployment_target = "9.0"
s.source = { :git => "https://github.com/SilverFruity/OCRunner.git", :tag => "#{s.version}" }
s.source_files = "OCRunner/**/*.{h,m,c,mm}"
s.vendored_frameworks = 'OCRunner/libffi/libffi.xcframework'
s.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
}
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.vendored_libraries = 'OCRunner/libffi/libffi.a'
s.dependency "ORPatchFile", "1.2.3"
end

12 changes: 6 additions & 6 deletions ...i.xcframework/ios-arm64/Headers/ffi/ffi.h → OCRunner/libffi/ffi.h
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#ifdef __arm64__

#include <ffi_arm64.h>
#include "ffi_arm64.h"


#endif
#ifdef __x86_64__
#ifdef __i386__

#include <ffi_x86_64.h>
#include "ffi_i386.h"


#endif
#ifdef __arm__

#include <ffi_armv7.h>
#include "ffi_arm.h"


#endif
#ifdef __i386__
#ifdef __x86_64__

#include <ffi_i386.h>
#include "ffi_x86_64.h"


#endif
Loading

0 comments on commit 93bc2d0

Please sign in to comment.