Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all 204402 articles
Browse latest View live

Adding a Developer Account Throws an Error

$
0
0

Just tried adding a Developer Account to the Xamarin Studio Preferences and I am receiving this error.

Any Help would be great!!

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Could not add internet password to keychain: The specified item already exists in the keychain. at MonoDevelop.MacInterop.Keychain.AddInternetPassword (System.Uri uri, System.String password) [0x0015f] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/src/addins/MacPlatform/MacInterop/Keychain.cs:774 at MonoDevelop.MacDev.Gui.DeveloperAccountManagerWidget.AddClicked (System.Object sender, System.EventArgs args) [0x0005d] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/md-addins/MonoDevelop.MacDev/MonoDevelop.MacDev/Gui/AppleDeveloperAccountsPanel.cs:365 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00054] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/corlib/System.Reflection/MonoMethod.cs:230 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00069] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/corlib/System.Reflection/MonoMethod.cs:238 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/corlib/System.Reflection/MethodBase.cs:114 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000d5] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/corlib/System/Delegate.cs:424 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/corlib/System/MulticastDelegate.cs:72 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/corlib/System/Delegate.cs:398 at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in :0 at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in :0 at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in :0


Unable to determine license edition. (XA9010)

$
0
0

I am running xamarin studio under starter edition but get the error Unable to determine license edition. (XA9010). Please help.

Textview is not displaying on iphone but works fine on emulator

$
0
0

Hi i am trying to develop ios app using xamarin. i created the screen with one textview ( with some text), when i try to test it using emulator it works great. But when i try to test on iphone ( with ios 7.0.4), it does not display the textview on the screen, and also no error message is displayed. please help me on this asap.

Thanks,

How to save UITableView data to DB?

$
0
0

Hey,

I stated to use Xamarin.iOS, and the first app i'm trying to build is a Notes App, just like defult Apple Notes app.

I'm using the recipe from Xamarin Recipes, and used UITableView to show the data, and TableSource class to manage cells and items.

The problem start when I want to save the data, so I will be able to load the notes after reopen the app. I'm using ADO.Net, and its working well. I tried to save the data to table contains to columns: ID & Text.

The issue is how to work with the DB table and at the same time with the UITableView. For example: I loaded few items, let say that they will get the ID from Db: 1, 2, 3, same as they are in UITableView indexpath. Now i'm deleting item number 2, and than item that was num 3, is now 2 in TableViwe.

When trying to access and edit item number 2(old 3) - Cant find him in the DB.

The reason for the problem is known, but how to fix it - I really dont know.

Any suggestion will be great.

Thanks, Tal.

Entitlements file "Entitlements.plist" not found

$
0
0

I am trying to run a simple app on an iOS device and receive this error message. The application runs fine in the emulator but can not get past this error when trying to run on an iPod Touch. I have looked around and not found any answers to this issue. Any help would be appreciated.

Is SQLite.Net Table method loading the entire table into a collection?

$
0
0

I've been using Praeclarum's SQLite.Net ORM for quite a long time, and my main method for querying from the database is the Table method. But today I realized that in the Xamarin documentation about using Using SQLite.Net ORM the following is stated:

The entire table is loaded into a collection prior to the Linq query executing, so performance of these queries could be slow for large amounts of data.

With the following example:

var apple = from s in db.Table<Stock>()
    where s.Symbol.StartsWith ("A")
    select s;
Console.WriteLine ("-> " + apple.FirstOrDefault ().Symbol);

I'm pretty sure that the entire table is not loaded, and by looking at the code it's fairly clear that the lambda expression is being parsed and converted to a SQL statement.

So... is the Xam's doc or sample wrong? Is there any case where the entire table is loaded? Was it added to a recent version (doesn't seems to) and the doc is outdated?

Can anyone throw some light?

Thanks.

Section Headerview with button

$
0
0

I have a tableviewcontroller, and in one of the section headers, I have a button. When the button is tapped, I insert additional elements into the section. If the button is tapped again, the elements are removed. This has the effect of a collapse/expand tree. The button and logic work fine for the most part.

The tableViewController is part of a navigation. If I navigate backward, then come back to this tableViewController, the button tap works, the code-behind is fired in debug mode, the code to insert and remove section elements fires, but the view never displays the extra elements.

Any ideas?

FATAL EXCEPTION:main from ListView and Adapter

$
0
0

I am getting the following error on my Android App. Up until about 20 minutes ago it was working fine.

[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: SaintSource.SaintSource, PID: 5497
[AndroidRuntime] java.lang.NullPointerException
[AndroidRuntime]    at android.widget.AbsListView.obtainView(AbsListView.java:2265)
[AndroidRuntime]    at android.widget.ListView.makeAndAddView(ListView.java:1790)
[AndroidRuntime]    at android.widget.ListView.fillDown(ListView.java:691)
[AndroidRuntime]    at android.widget.ListView.fillFromTop(ListView.java:752)
[AndroidRuntime]    at android.widget.ListView.layoutChildren(ListView.java:1630)
[AndroidRuntime]    at android.widget.AbsListView.onLayout(AbsListView.java:2091)
[AndroidRuntime]    at android.view.View.layout(View.java:14785)
[AndroidRuntime]    at android.view.ViewGroup.layout(ViewGroup.java:4631)
[AndroidRuntime]    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
[AndroidRuntime]    at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
[AndroidRuntime]    at android.view.View.layout(View.java:14785)
[AndroidRuntime]    at android.view.ViewGroup.layout(ViewGroup.java:4631)
[AndroidRuntime]    at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
[AndroidRuntime]    at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
[AndroidRuntime]    at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
[AndroidRuntime]    at android.view.View.layout(View.java:14785)
[AndroidRuntime]    at android.view.ViewGroup.layout(ViewGroup.java:4631)
[AndroidRuntime]    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
[AndroidRuntime]    at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
[AndroidRuntime]    at android.view.View.layout(View.java:14785)
[AndroidRuntime]    at android.view.ViewGroup.layout(ViewGroup.java:4631)
[AndroidRuntime]    at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1985)
[AndroidRuntime]    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1742)
[AndroidRuntime]    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:998)
[AndroidRuntime]    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5582)
[AndroidRuntime]    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
[AndroidRuntime]    at android.view.Choreographer.doCallbacks(Choreographer.java:562)
[AndroidRuntime]    at android.view.Choreographer.doFrame(Choreographer.java:532)
[AndroidRuntime]    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
[AndroidRuntime]    at android.os.Handler.handleCallback(Handler.java:733)
[AndroidRuntime]    at android.os.Handler.dispatchMessage(Handler.java:95)
[AndroidRuntime]    at android.os.Looper.loop(Looper.java:137)
[AndroidRuntime]    at android.app.ActivityThread.main(ActivityThread.java:4998)
[AndroidRuntime]    at java.lang.reflect.Method.invokeNative(Native Method)
[AndroidRuntime]    at java.lang.reflect.Method.invoke(Method.java:515)
[AndroidRuntime]    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
[AndroidRuntime]    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
[AndroidRuntime]    at dalvik.system.NativeStart.main(Native Method)
[Process] Sending signal. PID: 5497 SIG: 9

In my GetView override method I have the following:

if (view == null) {
view = context.LayoutInflater.Inflate (Resource.Layout.saint_row, parent, false);
}

and obviously the view is an adapter.

I did change the above line from this:

if (view == null) {
view = context.LayoutInflater.Inflate (Resource.Layout.saint_row, null);
}

It worked for about 30 seconds then started throwing the exception again.


MapsAndLocationDemo_v3 (Google Play Services) build error

$
0
0

Hi,

We are trying to get the MapsAndLocationDemo_v3 Solution to Build. We added the Google Play Services Component (Right Click "Components" then "Get More Components". This loads the Xamarin Component Store and we select "Google Play Services"). If we then "Rebuild Solution" we get the following compilation error :-

mono.com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListenerImplementor is not abstract and does not override abstract method onP2PDisconnected(java.lang.String) in com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListener public class RoomStatusUpdateListenerImplementor

This is the configuration we are using :-

Xamarin.Android 4.8.00013 Google Play services rev. 10 Xamarin Google Play Services Component Windows 7 64 bit jdk1.7.0_25 Visual Studio 2010 Debug Build Configuration Android SDK Tools 22.0.5 Clean All, Rebuild All : Yes

So far we have :- Updated Xamarin.Android to the latest version Updated Google Play services to the latest version in the Android SDK Manager Installed the latest version of the JDK

We have also tried MapsAndLocationDemo_v2 which involved :- Installing Ant Setting the PATH Environment Variables for ANT_HOME, JAVA_HOME and ANDROID_HOME Compiling the google-play-services_lib using Ant However this would not Build either e.g. compilation error :-

'Android.Gms.Games.MultiPlayer.ParticipantEntityCreator' does not implement interface member 'Android.OS.IParcelableCreator.NewArray(int)'
C:\MapsAndLocationDemo_v2\GooglePlayServices\obj\Debug\generated\src\Android.Gms.Games.MultiPlayer.ParticipantEntityCreator.cs

On the plus side we have managed to successfully create a Google Maps v2 API Key using our Package Name and SHA-1 Fingerprint which goes in the AndroidManifest.xml

Anyone out there got any ideas why we cannot get the MapsAndLocationDemo_v3 Solution to Build ?

Many thanks

Whats the best way to make a list cell to change its color when clicked without transparent BG?

$
0
0

If i use some style my list ends to not appear to be clicked and the only way i can think about doing that is inside the adapter but im using onListItemClick outside the adapter.cs, so there's a beter way for me to do that?

Emulator not emulating

$
0
0

I loaded the free version of Xamarin for Android. I cannot get the Emulator running to save my life. I tried all of them. I just loaded up the default Tasky sample app and I get no errors. All I get is the screenshot below. I have the latest version of Xamarin studio and my laptop is running Windows 8 64bit, WHAT GIVES!?

Project theme in layout designer

$
0
0

Hey guys

I was just wondering whether it is possible to have the Android Layout designer show a custom user created theme. When I select the theme it only shows all the android defaults. Does anyone have a way to achieve this?

Help on mono or Xamarin project -beginner-

$
0
0

Hi everyone! I am a Grad Student in Turkey. Trying to accomplish my IT project about Mono. The subject of my project is to develop a software with Mono.My advisor is not helping me about the area or the size of the so-developed software,so I am asking help from you guys. Since I am a newbie on c# and Mono (xamarin) ,I will give so much detail what I have done so far. I hope you can direct me which direction I should go and ensure me about whether I am doing it right or wrong. Again, my project subject is only “develop a software with mono”.Here what I have done: 1-I researched Mono’s history and dowloaded “mono-3.2.3-gtksharp-2.12.11-win32-0” from mono-project.com. My PC :Win7 64bit, Visual StudioExpress2010 and .NET Framework 4 2-I could not make that run on my computer. And I asked similar question to stackoveflow forum and came up with “monodevelop” answer. So I downloaded “gtk-sharp-2.12.22” and “Xamarin Studio 4.0.13”. And I got confused about change in name Monodevelop or Xamarin (?). 3- As an idea of my project , I found a working music player c# codes from the net and tried it on Xamarin Studio. It was running smoothly. After this long intro , I am asking questions regarding on these issues 1- My idea is to work on music player c# codes on Mono and manage to run it on other platforms.(i.e. Android) . Can I do that? 2- Else, what should I do to show a simple program also runs in other platform? 3- Do you think am using the right compiler (XamarinStudio,Mono,Monodevelop)? I am also attaching the music player’s codes.Any help\comment will be appreciated.

[Help] Can not reference Renci.SSHNet

$
0
0

I am referencing the Renci SSH library in my project and I am trying to execute the code. I get an error saying: UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Renci.SshNet.Session' from assembly 'Renci.SshNet, Version=2013.4.7.0, Culture=neutral, PublicKeyToken=null'.

SOLVED: Compilation hangs without error after update OS X @ Xamarin.iOS 7.0.2 / 4.0.13 (38)

$
0
0

Compilation hangs without error after update OS X @ Xamarin.iOS 7.0.2 / 4.0.13 (38) / OS X 10.9

I've updated to OS X 10.9 and was unable to compile anymore previously compilable apps without any changes made to Xcode and Xamarin. XCode is v4.6.3.

Compilation of Debug/Release builds for the simulator works well and without problems, after changed the linker options. Compilation of AppStore and AdHoc builds fail. there is no error. The compilations hangs simply infinite.

i notice that lipo and xcrun push my cpu to full load until i abort the compilation.

below is the compiler output of a very simple app, that worked before perfectly.

anyone have an idea? i was not able to find a solution by myself until now.


Breinige Projektmappe: BAUER GROUP Portal App (Ad-Hoc|iPhone)

Bereinige: BAUERGROUP.Portal.Client.Application.iOS (Ad-Hoc|iPhone) Removing output files... Bereinigen abgeschlossen

Bereinige: BAUERGROUP.Shared.Toolbox.iOS (Release) Removing output files... Bereinigen abgeschlossen

Erzeuge Projektmappe: BAUER GROUP Portal App (Ad-Hoc|iPhone)

BAUERGROUP.Shared.Toolbox.iOS (Release) wird erzeugt Performing main compilation...

Optimizing content files

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/Resources/Images/NoInternet.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/obj/Release/resources/Images/NoInternet.png"

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/Resources/Images/NoInternet@2x.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/obj/Release/resources/Images/NoInternet@2x.png" /Library/Frameworks/Mono.framework/Versions/3.2.3/bin/mcs /noconfig "/r:/Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll" -nostdlib "/out:/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/bin/Release/BAUERGROUP.Shared.Toolbox.iOS.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/MonoTouch.Dialog-1.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" /nologo /warn:4 /debug:full /optimize+ /codepage:utf8 "/define:MOBILE;IOS" /t:library "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/UI/LoadingOverlay.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/Networking/Reachability.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/UI/NoInternetOverlay.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/System/SimpleLogging.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/System/Logging.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/System/FileCompare.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/System/FileUtils.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/Properties/AssemblyInfo.cs" "/res:/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/obj/Release/resources/Images/NoInternet.png,__monotouch_content_Images_fNoInternet.png" "/res:/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/obj/Release/resources/Images/NoInternet@2x.png,__monotouch_content_Images_fNoInternet@2x.png" Erzeugung abgeschlossen -- 0 Fehler, 0 Warnungen

BAUERGROUP.Portal.Client.Application.iOS (Ad-Hoc|iPhone) wird erzeugt

Detecting signing identity... Provisioning Profile: "---" (---) Signing Identity: "--- (---)" App ID: "42L24497ZH.com.bauer-group.portal.client.application.ios" Performing main compilation... /Library/Frameworks/Mono.framework/Versions/3.2.3/bin/mcs /noconfig "/r:/Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll" -nostdlib "/out:/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUP_Portal_Client_Application_iOS.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/MonoTouch.Dialog-1.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Json.dll" "/r:/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/bin/Release/BAUERGROUP.Shared.Toolbox.iOS.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" /nologo /warn:4 /debug:full /optimize+ /codepage:utf8 "/define:MOBILE;IOS" /t:exe "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Main.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/AppDelegate.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Properties/AssemblyInfo.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/RemoteHostMonitor.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Classes/BGHtmlElement.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/BGDialogViewController.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Classes/BGJsonElement.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Classes/AppSettings.cs" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Classes/UpdateData.cs" Compilation succeeded - 2 warning(s)

/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Classes/BGHtmlElement.cs(103,34): warning CS0672: Member BAUERGROUP.Portal.Client.Application.iOS.Classes.BGHtmlElement.BGWebViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)' overrides obsolete memberMonoTouch.UIKit.UIViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)'. Add the Obsolete attribute to

BAUERGROUP.Portal.Client.Application.iOS.Classes.BGHtmlElement.BGWebViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)'
/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol related to previous warning)
/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Classes/BGJsonElement.cs(860,29): warning CS0219: The variable
nSUrlConnection' is assigned but its value is never used

Copying content files Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/data.json' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/data.json' Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-72@2x.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-72@2x.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-72@2x.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-72@2x.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-72.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-72.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-72.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-72.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon@2x.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon@2x.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon@2x.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon@2x.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-Small-50@2x.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-Small-50@2x.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-Small-50@2x.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-Small-50@2x.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-Small-50.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-Small-50.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-Small-50.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-Small-50.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-Small@2x.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-Small@2x.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-Small@2x.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-Small@2x.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-Small.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-Small.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Icon-Small.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Icon-Small.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-568h@2x.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-568h@2x.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-568h@2x.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-568h@2x.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-Landscape@2x~ipad.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-Landscape@2x~ipad.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-Landscape@2x~ipad.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-Landscape@2x~ipad.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-Landscape~ipad.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-Landscape~ipad.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-Landscape~ipad.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-Landscape~ipad.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default@2x~iphone.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default@2x~iphone.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default@2x~iphone.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default@2x~iphone.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default~iphone.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default~iphone.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default~iphone.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default~iphone.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-Portrait@2x~ipad.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-Portrait@2x~ipad.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-Portrait@2x~ipad.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-Portrait@2x~ipad.png" Copying '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-Portrait~ipad.png' to '/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-Portrait~ipad.png'

Optimizing png for iOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -q -iphone -f 0 "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/Resources/Default-Portrait~ipad.png" "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app/Default-Portrait~ipad.png" Erzeugung abgeschlossen -- 0 Fehler, 2 Warnungen

**Compiling to native code /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/obj/iPhone/Ad-Hoc/mtouch-cache" --nomanifest --nosign -dev "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUPPortalClientApplicationiOS.app" -r "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/Shared/BAUERGROUP.Shared.Toolbox.iOS/bin/Release/BAUERGROUP.Shared.Toolbox.iOS.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/MonoTouch.Dialog-1.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Json.dll" -linksdkonly -sdk "6.1" -targetver "6.1" --abi=armv7+llvm,armv7s+llvm "/Users/KarlBauer/Documents/Development/Projects/BAUER GROUP/BAUER_GROUP_Portal_App/iOS/bin/iPhone/Ad-Hoc/BAUERGROUP_Portal_Client_Application_iOS.exe" Xamarin.iOS 7.0.2 Indie Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk

^^^^ thats the last output ^^^^**


Introduce yourself

$
0
0

Welcome to the Xamarin forums! This is the place for you to introduce yourself to the forum community. Tell us a little bit about yourself. Where are you from? What kind of applications do you develop? What's your favorite mobile device?

How to reattach debugger to Android Device without re-deploying the app?

$
0
0

I'm trying to debug an app on my device, but when I hit an exception, it's fatal and crashes the app.

I'd like to simply reattach the debugger and keep going rather than wait the 60+ seconds for the app to redeploy. Is there a way to do this?

I'm currently doing all of my development in Visual Studio.

PCL in Xamarin Studio

$
0
0

Hi,

I have problem with configure Portable Class Library support on Xamarin Studio. It seems like some profiles in Project Options->Build->General are missing. I cannot set Target Frameworks for Android, iOS and Windows Phone in the same time. As I saw in 'Introduction to Portable Class Libraries' there should be possible. What system component is responsible for target profiles?

I spent a lot of hours to make PCL working in Xamarin Studio. I try to configure PCL in Xamarin Studio without installing Visual Studio (any version). I wonder if it's even possible? What I've done till now:

  1. Installing Xamarin for Windows /starter edition/ (Xamarin Studio 4.2.2, Xamarin.Android 4.10.1)
  2. Installing Mono MDK (http://download.mono-project.com/archive/3.2.3/windows-installer/mono-3.2.3-gtksharp-2.12.11-win32-0.exe)
  3. Installing PortableLibraryTools.exe (with /buildmachine argument)
  4. Installing NetFx_PortableLibraryReferenceAssemblies46.exe
  5. Installing .NET 4.5 framework I'm not quite sure about order, because I tried a lot of possiblities.

How to configure Xamarin Studio (starter) to use PCL for Android,iOS and Windows Phone? (What system components should be installed)

Thanks in advance!

vs 2012 without a Mac getting "Application Name is not set in iOS Application Property Page"

$
0
0

I know doc says we need a Mac to deploy and publish apps but I am just trying to find out how wasy is to develop a ios app using vs 2012 and debug using an ios emulator. I am trying the hello world app. Getting the following exception.

"Application Name is not set in iOS Application Property Page. Identifier is not set in iOS Application Property Page".

want to know how can get past the exception and try to run the app in VS without a Mac. I sit possible?

Thanks

Xamarin Studio: Object reference not set to an instance of an object

$
0
0

Hello all, this is probably very simple, but I still can't see why it's happening. I would like to use Xamarin Studio 4.0.10 on my Mac OS X, v. 10.8.5. I have some simple programs, such as the ones attached, which run on online compilers, but in Xamarin, I only get

Build failed. Object reference not set to an instance of an object Build: 1 error, 0 warnings

Does anyone know why that happens? Thank you very much!

Viewing all 204402 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>