Forum
Discuss the development using our network APIs with other users. This is your opportunity to exchange tips and advice and to share ideas.

AS24 Objective-C SDK

Author Message
Dominik Freier
Topic creator
registered since: 07.01.2012
Posts: 1
Ich habe mir gerade das Objective-C SDK heruntergeladen. Leider bekomme ich da erstmal hunderte von Warnings. Z.B. in dieser Zeile:

VehicleSearchParametersAvailabilityBegin *begin = [[VehicleSearchParametersAvailabilityBegin alloc] initWith:@""];

Warning: Incompatible Objective-C types 'struct NSString *', expected 'struct TelekomServiceStatusResponse *' when passing argument 1 of 'initWith:' from distinct Objective-C type


Kann mir das leider überhaupt nicht erklären.. Hatte sonst noch jemand Probleme damit?


[This article was edited 1 times, at last 09.01.2012 at 13:29.]
ReplyProfile
Author Message
Florian Schneider
registered since: 18.05.2011
Posts: 2
Hallo,

das liegt daran, dass im Projekt unter Targets/AS24/Build Settings/Build Options nicht der default C/C++/Objective C Compiler eingestellt ist.
Diesen einfach auf "Apple LLVM compiler 3.0" umstellen, dann sollten die Warnings verschwinden.

Grüße
Florian
ReplyProfile