Skip to content

Commit

Permalink
Specify resource paths in podspec
Browse files Browse the repository at this point in the history
This seems to fix the issue where the crosshairs image would sometimes fail to load (#208).
  • Loading branch information
NickEntin committed Feb 17, 2024
1 parent 047fd17 commit df8b7d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AccessibilitySnapshot.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Pod::Spec.new do |s|
s.subspec 'Core' do |ss|
ss.source_files = 'Sources/AccessibilitySnapshot/Core/Swift/Classes/**/*.swift', 'Sources/AccessibilitySnapshot/Core/ObjC/**/*.{h,m}'
ss.public_header_files = 'Sources/AccessibilitySnapshot/Core/ObjC/include/*.h'
ss.resources = 'Sources/AccessibilitySnapshot/Core/Swift/Assets/**/*.{strings,xcassets}'
ss.resource_bundles = {
'AccessibilitySnapshot' => ['Sources/AccessibilitySnapshot/Core/Swift/Assets/**/*.{strings,xcassets}']
}
Expand Down
2 changes: 1 addition & 1 deletion Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ EXTERNAL SOURCES:
:path: "../AccessibilitySnapshot.podspec"

SPEC CHECKSUMS:
AccessibilitySnapshot: d55ec4ea875392d4b753893cd132e522be031997
AccessibilitySnapshot: 19f165d0397a18f7dd8dbc5f3396e5670c75a1a4
iOSSnapshotTestCase: a670511f9ee3829c2b9c23e6e68f315fd7b6790f
Paralayout: 844978af530a061a31d849c7b554510190b9cddf
SnapshotTesting: 8caa6661fea7c8019d5b46de77c16bab99c36c5c
Expand Down

0 comments on commit df8b7d5

Please sign in to comment.