NeoMAD 4.8.1 release notes

June 16, 2021

NeoMAD Extensions

Security

The Security extension enables to control if a device is rooted or jailbroken.

See Security documentation for further details.

Update Pod support for iOS specific code

This is a compatibility break change for projects using pods for specific code in NeoMAD 4.8.0.

NeoMAD specific code can now rely on pods for iOS. In NeoMAD 4.8.0, the Podfile was added to the project and then a declaration of the path to the Podfile in the URS was required for NeoMAD to build the project:

<urs>
    [...]
    <specific>
        <ios>
            <pod path="path/to/Podfile"/>
        </ios>
    </specific>
</urs>

This is no longer possible. The pods must now be declared directly in the URS:

<urs>
    [...]
    <specific>
        <ios>
            <podfile minTargetVersion="10.0">
                <property>use_frameworks!</property>
                <property isGlobal="true">source 'https://github.com/CocoaPods/Specs.git'</property>
                <pod name="OneSignal" version="2.14.3"/>
            </podfile>
        </ios>
    </specific>
</urs>
  • <podfile minTargetVersion=”10.0”>: main entry of the podfile section where minTargetVersion is the minimum iOS version supported by the project.
  • <property isGlobal=”true”>use_frameworks!</property>: a property (lines) to add to the PodFile. By default, it is added to the target in the Podfile. Use isGlobal to apply it to all the Podfile.
  • <pod name=”OneSignal” />: a pod to add to the project. version, git, commit, branch, tag or path can be set as attribut depending of the origin of the pod

As an example, the previous pod declaration will generate the following Podfile (target name is automatically set by NeoMAD)

platform :ios, '10.0'
source 'https://github.com/CocoaPods/Specs.git'

target 'MyTarget' do
    use_frameworks!
    pod 'OneSignal', '2.14.3'
end