xamarin-studio

Xamarin iOS ipa file size issue

元气小坏坏 提交于 2019-12-11 12:54:32
问题 Project structure with PCL based approach: Project X (solution) Core (Base project with autofac for Ioc based setup) Project (90% of code common for droid and ios) Project.Droid (Droid settings, renderers and graphics. ) Project.iOS (iOS settings, renderers and graphics. ) I have gone through all possible options to reduce ipa file size. esp with linking. I have used 'Link all' and stripping debug code, optimizing image etc. Final ipa size is 77 MB. Here are the details of file sizes after

Mono + Xcode: How to author a library in C# using Xamarin Studio, and consume it in a CocoaTouch project within Xcode?

元气小坏坏 提交于 2019-12-11 12:07:31
问题 For an iOS app that will eventually be ported to Android/Winphone, I would love to be able to write some re-usable libraries in c#, but author the iOS UI in traditional Obj-C and reference the library written in c# from Xcode and consume it from Obj-C. I've found lots of docs that talk about going the other way via bindings (Obj-C -> C#), but not much pertaining to my question. Also, a similar question was asked 4 years ago here, but a lot has changed in the ecosystem, the info seems out of

Linking libz.dylib and libsqlite3.dylib in Xamarin iOS Project

北慕城南 提交于 2019-12-11 10:09:50
问题 I created a Xamarin iOS binding project that requires the following frameworks: SystemConfiguration.framework CoreTelephony.framework libz.dylib libsqlite3.dylib I added the following line in my iOS binding project to the linkwith.cs file: Frameworks = "SystemConfiguration CoreTelephony" This seems to work correctly and tell that project to include these frameworks when binding. From what I have read, it sounds like the remaining 2 libraries need to be added as linker flags in the project

Portable Class Library project - reference assemblies not installed?

人走茶凉 提交于 2019-12-11 08:15:19
问题 I'm using Xamarin Studio Version 4.2.3 on a Mac (Starter Edition; Mono 3.2.6; Xamarin.Android Version 4.12.1; Xamarin.iOS Version 7.2.02). I created a blank solution. I added an Android application project and an iPhone application project. Both build and run okay. Now I've added a Portable Class Library project which I want to link to from my application projects. However! My Portable Class Library project is showing up an error in my References folder for the .NET Portable Subset reference,

Enable bitcode in Xamarin iOS

安稳与你 提交于 2019-12-11 06:27:42
问题 I've developed a cross platform for iOS and android using Xamarin Forms. My app uses several screens and some tjird party dependencies such as Facebook, google maps and firebase. Everything works good until I went to compile it in release mode. Assuming I want to support both armv7 and arm64, these are the app size: * without linking and optimization: 103mb. * with full optimization (link all + LLVM): 73mv. With the optimization and without armv7 I'm getting 40mb - that's my desired result

have anyone tried to install prism template pack in Xamarin studio on Mac?

断了今生、忘了曾经 提交于 2019-12-11 06:19:24
问题 I have tried to install same, but no success. Getting below error. Could not get information from repository: http://addins.monodevelop.com/Alpha/Mac/6.1.5/main.mrep. Xamarin studio Version (On Mac ) Version: 6.1.5 (Build 0) 回答1: Try manually downloading the .mpack file and add it. You can grab the file from here: http://addins.monodevelop.com/Project/Index/226 Once you have the .mpack downloaded, follow these steps to install it from Xamarin Studio. Go to the Xamarin Studio -> Add-ins menu

Unable to add Xamarin Facebook SDK package in Xamarin.Forms Droid solution due to dependencies

喜夏-厌秋 提交于 2019-12-11 06:07:50
问题 I'm struggling adding the Facebook Android package (tried both with Nuget and component manager) to the Droid solution on my Xamarin.Forms project. It seems there's some kind of incompatibility between the package Xamarin.Forms and its dependencies and Facebook SDK package dependencies. If I remove the package Xamarin Forms (and all its dependencies), the Facebook Android SDK package installs OK (with dependencies), but I can't add Forms after adding Facebook SDK because of dependencies

Navigation.PushAsync(new Page()) is not working for some pages in Xamarin.Forms

三世轮回 提交于 2019-12-11 04:53:15
问题 I am using Xamarin.Forms and trying to implement an app with Navigation. I Created a Xamarin.Forms shared project solution and added my first two pages. They work correctly and so does the navigation. I added another page and linked them up the same way as the first two and it does not work. I click the button to navigate to the view and nothing happens. I wire up both of the views like such btnPurchase.Clicked += (s, e) => this.Navigation.PushAsync(new PurchasePage()); btnContactUs.Clicked +

Targetting ios 7 but supporting ios 5+ monotouch

人走茶凉 提交于 2019-12-11 04:01:15
问题 I have an application that targeted iOS7 at its info.plist file. Now I want to target iOS 7 . Also I have a plan to support iOS 5 and iOS 6 too. I mean that I want my clients be able to download my application whether they are running iOS 5.X or 6.X or iOS 7. Is it possible? 回答1: Yes that is certainly possible. You need to set the deployment target of your project to Version 5.0. To do that, open the Project Options, navigate to the "IOS Application" Tab and change the "Deployment Target"

Where to find 'Missing Marketing Icon'

房东的猫 提交于 2019-12-11 02:09:16
问题 I published an application to apple app store and I got a message which says that I'm missing marketing icon as I'm using iOS 11. where can I add this 1024X1024 png marketing icon in xamarin studio? I'm using xamarin studio 6.3, xcode 9.0 回答1: I faced same issue with Xamarin v.6.3 and xcode 9.0. After long search and long tries, here is how i solve it: Add 1024x1024.png icon to your project. (Make sure the png file dose not have Alpha or transparent). you can use Export option in Preview