-
-
Save dbeattie71/1b4daa60f025f982867436283201bddf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/sh -e | |
| #clone our private github repo with Xamarin project | |
| git clone git@github.com/our_xamarin_project.git | |
| cd our_xamarin_project | |
| #update homebrew | |
| brew update | |
| #install Xamarin.Studio, Xamarin.iOS, Xamarin.Android, Mono | |
| brew cask install xamarin-mdk xamarin-ios xamarin-studio xamarin-android | |
| #install nuget dependencies | |
| nuget install MoviesPrototype.iOS/packages.config | |
| # The license file is stored in the repo, we need to copy it to the ~/Library/MonoTouch as suggested here https://developer.xamarin.com/guides/ios/getting_started/installation/offline_activation/ | |
| cp Licenses/iOS/License.trial ~/Library/MonoTouch | |
| #Now log into the Xamarin developer@connect.com account | |
| ~/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool account login -u "$XAMARIN_USER" -p "$XAMARIN_PASSWORD" | |
| #And finally build the project | |
| ~/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool build MoviesPrototype.iOS/MoviesPrototype.iOS.csproj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment