souyuz icon indicating copy to clipboard operation
souyuz copied to clipboard

Switch an iOS SDK at build time

Open luigifilannino opened this issue 6 years ago • 3 comments

Hi all, I am using souyuz plugin to build my Xamarin hybrid apps (I am in a Jenkins CI environment that starts build on a Mac build server with full Visual Studio 2017 installed) choosing between two iOS SDK installed respectively in /Applications/Xcode8.app and /Applications/Xcode9.app directories.

There is a way to change the sdk dir path at build time in the Fastfile or in my pipeline Jenkins or in any other files ? I tried to change the default iOS SDK set in Visual Studio for Mac -> Preferences -> Projects -> SDK Locations -> Apple -> /Applications/Xcode8.app in many ways without success.

Thank's in advance for the help!

luigifilannino avatar Mar 08 '18 09:03 luigifilannino

Hi, any suggestions?

luigifilannino avatar Mar 12 '18 10:03 luigifilannino

Hi @luigifilannino ,

this is nothing souyuz can help you with, unfortunatly. The only way (that I know of) to change the iOS SDK is through Visual Studio's settings, as you described.

If we gather information if and how we can pass SDK locations as arguments to msbuild. There is a good chance we get this implemented in souyuz, though.

regards

voydz avatar Mar 15 '18 08:03 voydz

HI @luigifilannino , by change the sdk dir path do you mean the version of Xcode to use? In that case, I believe the xcversion action of Fastlane can help you. If it is something else, I am not sure what can be the solution.

letsbondiway avatar Aug 08 '20 13:08 letsbondiway

closed since stale

voydz avatar Sep 13 '23 06:09 voydz