Skip to content

Commit 8e431e8

Browse files
committed
fix(canvas-ios): podspec
1 parent 1ee91c8 commit 8e431e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CanvasNative.podspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ Pod::Spec.new do |s|
1818
s.source = { :git => "https://github.com/nativescript/canvas.git", :tag => "#{s.version}" }
1919

2020
s.pod_target_xcconfig = {
21-
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "${PODS_ROOT}/CanvasNative/frameworks"',
21+
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "${PODS_ROOT}/CanvasNative/Dist"',
2222
'ENABLE_BITCODE' => 'YES',
23+
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => '"arm64"',
2324
}
2425
s.swift_versions = ['4.0','4.2', '5.0']
2526
s.vendored_frameworks = 'packages/canvas/src-native/canvas-ios/CanvasNative/Dist/CanvasNative.xcframework'
26-
s.preserve_paths = 'CanvasNative.xcframework'
27+
s.preserve_paths = 'packages/canvas/src-native/canvas-ios/CanvasNative/Dist/CanvasNative.xcframework'
2728
end

0 commit comments

Comments
 (0)