iosobjective-ciphonedrmwidevine

How to handle framework with dev and release versions in iOS?


In my project I am using a framework which contain simulator,dev and release version.How can I test the release sdk?What are the particulars that I have to check?

As far as I know ,I can change the scheme and create a release build.I want to know if it will automatically choose the release sdk or not?

Or do I have to create an archive and install as ipa file?If I can install the app via xcode do I have to remove the cable and launch the app manually?


Solution

  • If it helps someone :

    If you have separate release sdk and dev sdk, you can select either of them as required by editing the scheme setting (Product->Scheme->edit scheme).

    As you can see in the image below,You can set the build configuration separately for running,testing,profiling,archiving etc.

    For testing the release sdk,you can select the build configuration to release and properly setting the framework search path,header search path etc in the buildsettings and run the code.

    By changing the archive scheme setting to release,we can choose the dev/debug sdk to generate the ipa file for development deployment(Check out the following link for more details).You may have to use the development provisioning profile to do so.

    Link 1

    Link 2

    Link 3

    enter image description here