3

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?

abhimuralidharan
  • 5,752
  • 5
  • 46
  • 70
  • When you run on the device choose the Release scheme and run it. Archive will automatically pickup Release of the scheme selected. – Satheesh May 30 '16 at 10:08
  • While using release build please remove the USB cable from device and launch the video manually.I read the above statement in the sdk documentation.It is causing the confusion. – abhimuralidharan May 30 '16 at 10:20
  • @satheeshwaran by changing the archive scheme setting,we can choose the dev/debug sdk to generate the ipa file. – abhimuralidharan Jun 01 '16 at 09:42

2 Answers2

0

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

Community
  • 1
  • 1
abhimuralidharan
  • 5,752
  • 5
  • 46
  • 70
0

It's very straightforward with Xcode:
enter image description here

For me it builds dylib release version this way. If you just do build, Xcode builds debug version.

David

us_david
  • 4,431
  • 35
  • 29