[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Error compile to archive proyect

From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-developers] Error compile to archive proyect
Date: Wed, 25 Jun 2014 11:13:20 +0200

Also, liblinphone-sdk is _not_ compiled for arm64, so you will run into link errors afterwards.


On Tue, Jun 24, 2014 at 8:53 PM, Gonzalo Larralde <address@hidden> wrote:
Are you including arm64 into the architectures you want to build the project for? 

When archiving, the compiler makes a binary for each architecture selected, and then when it tries to compile for 64 bits, taking into account that NSInteger is long instead of int, and NSUInteger unsigned long instead of unsigned int, it fails because you'll lose precision if the cast is made implicitly. 

Just change the return type to NSUInteger to match the return type of count, or cast it to int.


On Mon, Jun 23, 2014 at 8:46 PM, <address@hidden> wrote:
Hi list, i need your support.

Wen try to compile linphone to upload to appstore return this error

error: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' in the XMLRPCCConnectionManager.m

#pragma mark -

- (NSArray *)activeConnectionIdentifiers {
    return [myConnections allKeys];

- (int)numberOfActiveConnections {
    return [myConnections count]; <---- in this line

#pragma mark -

Some body know how to resolve, thanks...

Linphone-developers mailing list

Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]