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 9, 2019
1 parent a1df9ac commit 048dd75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions RNActionExtension/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ target 'RNActionExtension-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 RNActionExtension/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: 5800dc387fb5d86a94ae813fc6c7929dc2cd1497
PODFILE CHECKSUM: 6148acb70773981b5f430b8344591cf54d893872

COCOAPODS: 1.7.3

0 comments on commit 048dd75

Please sign in to comment.