linphone-developers
[Top][All Lists]
Advanced

[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.


Guillaume BIENKOWSKI
http://www.belledonne-communications.com/
sip:address@hidden


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.

Cheers.

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
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

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