Skip to content

Instantly share code, notes, and snippets.

@vood
Last active April 24, 2016 20:06
Show Gist options
  • Select an option

  • Save vood/09abc126da98a53836f5 to your computer and use it in GitHub Desktop.

Select an option

Save vood/09abc126da98a53836f5 to your computer and use it in GitHub Desktop.
#!/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
@vood

vood commented Feb 3, 2016

Copy link
Copy Markdown
Author

There are two errors I'm seeing:
First

Checking licenses...
Sync error: You have reached the maximum number of activations.

Second

Xamarin Studio Build Tool
�=$<50>error: The Starter Edition of Xamarin.iOS does not support building outside of Xamarin Studio. Please go to https://store.xamarin.com to upgrade to the Business Edition.

Please let me know what i'm doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment