誰かが私がこのエラーを解決するのを手伝ってもらえますか?私が取り組んでいた別の微調整でこれを使用し、intValueを取得することは問題ではありませんでしたが、何らかの理由で今、theosを介してWeeAppPluginを作成しています
typedef enum {
appleSMS = 0,
biteSMSClient = 1
} WSSMSClient;
typedef enum {
appleTwitter = 0,
twitkaflyClient = 1
} WSTwitterClient;
static WSSMSClient *smsClient;
static WSTwitterClient *twitterClient;
- (void)loadSettings {
[_settings release];
_settings = [[NSDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.michaelpoole.weesocial.plist"];
smsClient = [[_settings objectForKey:@"smsClient"] intValue];
twitterClient = [[_settings objectForKey:@"twitterClient"] intValue];
}
エラーは
WeeSocialController.m:213: warning: assignment makes pointer from integer without a cast
WeeSocialController.m:214: warning: assignment makes pointer from integer without a cast