Skip to content

Instantly share code, notes, and snippets.

View prashantvc's full-sized avatar
:octocat:
Working

Prashant Cholachagudda prashantvc

:octocat:
Working
View GitHub Profile

Keybase proof

I hereby claim:

  • I am prashantvc on github.
  • I am prashantvc (https://keybase.io/prashantvc) on keybase.
  • I have a public key whose fingerprint is BACA CBA8 71C6 B16D 91C7 4E9C 125A AF01 0B76 4C2C

To claim this, I am signing this object:

XBuild Engine Version 12.0
Mono, Version 4.0.4.0
Copyright (C) 2005-2013 Various Mono authors
Build started 12-10-2015 17:57:18.
__________________________________________________
Project "/Users/prashantvc/Projects/SuperCoolApp/SuperCoolApp.sln" (Build target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Release|iPhone".
Target Build:
public class Camera
{
void TakePicture (object sender, EventArgs args)
{
Init ();
picker.SourceType = UIImagePickerControllerSourceType.Camera;
_callback = Callbak;
PresentViewController (picker, true, null);
using Xamarin.Forms;
using System.Diagnostics;
namespace TBTest
{
public class App : Application
{
public App ()
{
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using Xamarin.Forms;
using System.ComponentModel;
namespace ListBinding
{
public class NamedColor : INotifyPropertyChanged
using System;
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms;
using SplitTest;
using SplitTest.iOS;
using MonoTouch.UIKit;
[assembly:ExportRenderer(typeof(MyMasterPage), typeof(MyMasterPageRenderer))]
namespace SplitTest.iOS

Apple App rejection for using non-public APIs

Apple rules changes over time so it's possible some selector were marked private recently.

Using Link SDK assemblies only or Link all assemblies flags in your Project Options will usually fix this issue.

Addionally you can find the libaries/part of the code that are still using the private API's in your project with the help of strings or find commands.

This will help you workaround code that is still using private APIs after linking

MT1008: Failed to launch the simulator: Could not find a part of the path

This usually happens when symbolic link is removed in your /usr/bin directory on the Mac Build Host. To resolve this, you will first need to uninstall the software using one of the below methods:

  • Option 1: You could uninstall Xamarin Studio from /Applications/Xamarin Studio.app and then manually delete all the following directories
/Developer/MonoTouch
/Developer/MonoAndroid
using System;
using Xamarin.Forms;
using System.Diagnostics;
namespace AndroidAnimation
{
public class App
{
public static Page GetMainPage ()
{
using Xamarin.Forms;
namespace TabPageTestCase
{
public class App
{
public static Page GetMainPage ()
{
return new TabbedDemoPage ();
}