Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Your app is using a type that requires xamarin.ios business edition or higher, System.ServiceModel

$
0
0

Hi guys.

I am having this problem which has cold-stopped our project. We are making a new very simple Xamarin Forms application for iOS and Android platforms. So, when it comes to Android everything compiles, runs and publishes just fine. So the problem arises when it comes to iOS, from last week while trying to build the project the following appears: You are using features which require Xamarin.iOS Business edition or higher.

When clicking on "Find out more about these features", it reveals that "Your app is using a type that requires xamarin.ios business edition or higher. Your app using the types 'System.ServiceModel.ClientBase'" and it goes on to list many types of the Systsem.ServiceModel namespace. Please note that I am aware that I am using the System.ServiceModel namespace, I do intend to invoke a WCF service, and have already added a proxy to the pcl module, generated with slsvcutil, all of which is running ok on the xam.forms android platform.

What I am using:

Xamarin Studio
Version 5.9.5 (build 9)
Runtime:
Mono 4.0.3 ((detached/d6946b4)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400030020

Apple Developer Tools
Xcode 6.4 (7720)

Xamarin.iOS
Version: 8.10.4.46 (Indie Edition)

Xamarin.Android
Version: 5.1.5.3 (Indie Edition)

What I have tried:

Using a different clean Mac, and install older versions of the Xamarin Studio and tools:
- Xamarin Studio on Mac (have tried with every version from 8.10.0 to 8.10.4.46 - May to Aug 2015)
- Xamarin.iOS (have tried with every version from 5.9.1 to 5.9.5 - May to Aug 2015)
- Creating a new empty Xamarin.Forms project with these older versions, while adding just the WCF proxy that I will be using to the pcl module
- Trying to build on a virtualized clean mac
- Trying to build on a physical clean mac

The build output I am getting:

Xamarin.iOS 8.10.4 Indie Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk
MTOUCH: error MT9006: Using type 'System.ServiceModel.ClientBase'1' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.EndpointAddress' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.BasicHttpSecurityMode' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.BasicHttpBinding' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.ServiceContractAttribute' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.OperationContractAttribute' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.IClientChannel' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.ICommunicationObject' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.FaultException' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.CommunicationException' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.IContextChannel' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.IExtensibleObject1' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.ClientBase1' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.EndpointAddress' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.BasicHttpSecurityMode' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.BasicHttpBinding' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.ServiceContractAttribute' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.OperationContractAttribute' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.IClientChannel' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.ICommunicationObject' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.FaultException' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.CommunicationException' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.IContextChannel' requires Business (or higher) license.
MTOUCH: error MT9006: Using type 'System.ServiceModel.IExtensibleObject'1' requires Business (or higher) license.
    Task "MTouch" execution -- FAILED

We got through the entire development process pretty good until last week we could not compile anymore the iOS project, because of the mentioned messages. Would really appreciate any help , any alternative whatsoever that could let us continue the release of the iOS version.

Thank you, and regards.


Viewing all articles
Browse latest Browse all 77050

Trending Articles