Skip to content

v0.1.13

Compare
Choose a tag to compare
@ElizaSapir ElizaSapir released this 12 Feb 14:06
· 431 commits to develop since this release

Improvements

Google released dynamic IMA iOS SDK 3.4.1 that means you should change your podfile

before:

You had to attach IMA from Podfile:

pod 'GoogleAds-IMA-iOS-SDK', '3.3'

And make some manipulation on post_install:

post_install do |installer| 
    installer.pods_project.targets.each do |target| 
        target.build_configurations.each do |config| 
            config.build_settings['SWIFT_VERSION'] = '3.0'
            config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
            if target.name == "PlayKit"
                config.build_settings['OTHER_LDFLAGS'] = '$(inherited) -framework "GoogleInteractiveMediaAds"'
                config.build_settings['OTHER_SWIFT_FLAGS'] = '-DIMA_ENABLED'
                config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'IMA_ENABLED=1']
            end
        end 
    end 
end

after:

Don't attach IMA SDK from Podfile and change post_install to:

post_install do |installer| 
    installer.pods_project.targets.each do |target| 
        target.build_configurations.each do |config| 
            config.build_settings['SWIFT_VERSION'] = '3.0'
            config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
        end 
    end 
end

Cocoapods

https://cocoapods.org/pods/PlayKit

Fixed Bugs & Issues

  • Resolving memory leak issue with Plugins, we have found a bug with Apple's interoperability in Swift which causes a memory leak.
    We already opened a bug report at Apple bug tracker and Swift Jira (report #30478887 at apple bug tracker and in Swift Jira SR-3935).
  • podspec changes to support IMA 3.4.1