Skip to content

Commit

Permalink
Merge pull request #103 from TheRogue76/feature/fix-import-for-cocoapods
Browse files Browse the repository at this point in the history
fix: update Foundation.swift for cocoa pods
  • Loading branch information
fumito-ito authored Oct 26, 2024
2 parents 9c2131c + c10b07a commit dc98332
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GRMustache.swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/groue/GRMustache.swift.git', :tag => s.version }
s.source_files = 'Sources/**/*.{h,m,swift}', 'ObjC/**/*.{h,m,swift}'
s.module_name = 'Mustache'
s.swift_version = '5.0'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.swift_version = '5.9'
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '9.0'
s.requires_arc = true
s.framework = 'Foundation'
Expand Down
2 changes: 2 additions & 0 deletions Sources/Foundation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
// THE SOFTWARE.

import Foundation
#if canImport(GRMustacheKeyAccess)
import GRMustacheKeyAccess
#endif

/// GRMustache provides built-in support for rendering `NSObject`.
extension NSObject : MustacheBoxable {
Expand Down

0 comments on commit dc98332

Please sign in to comment.