souyuz
souyuz copied to clipboard
Switch an iOS SDK at build time
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!
Hi, any suggestions?
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
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.
closed since stale