Skip to content

Commit

Permalink
Fix the error: 'sharedApplication' is unavailable: not available on i…
Browse files Browse the repository at this point in the history
…OS (App Extension)
  • Loading branch information
bit3725 committed Jul 11, 2019
1 parent c203f44 commit 37c3625
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions RNActionExtensionSwift/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ target 'RNActionExtensionSwift-tvOS' do
end

end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
end
end
end
2 changes: 1 addition & 1 deletion RNActionExtensionSwift/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,6 @@ SPEC CHECKSUMS:
React-RCTWebSocket: fca087d583724aa0e5fef7d911f0f2a28d0f2736
yoga: 616fde658be980aa60a2158835170f3f9c2d04b4

PODFILE CHECKSUM: faa3a913f9002c55240d4296e0f85da2c832a25f
PODFILE CHECKSUM: 218059a7325324ed3958a2d4481e3adcc3bf206b

COCOAPODS: 1.7.3

0 comments on commit 37c3625

Please sign in to comment.