DESKPLATE ブログ -9ページ目

DESKPLATE ブログ

中野/高円寺/荻窪/吉祥寺/三鷹周辺でアプリ開発業者をお探しなら!
スマホアプリ開発 DESKPLATE のブログです!

Xcode 4.5 でのUITableViewControllerを継承したクラスでは、initWithStyleメソッドが効かないっぽい。すべてPlainになる。
TableViewController *targetViewController = [[TableViewController alloc] initWithStyle:UITableViewStyleGrouped];

こういう場合は、IBを使った方が確実。
TableViewController *controller = [[[TableViewController alloc] initWithNibName:@"TableViewController" bundle:nil]autorelease];
i-mobileの広告SDKでこんなエラーが出た場合

id: file is universal (3 slices) but does not contain a(n) armv7s slice: imobileAds.framework/imobileAds for architecture armv7s

$DESKPLATE ブログ

Build Settingsで valid architectures にarmv6を追加してarmv7sを削除。
armv6, armv7 を指定。

iOS6実機でも動くようになる。
i-mobileのiPhoneアプリ向け広告
SDK実装時に
[__NSCFString objectFromJSONString]: unrecognized selector sent to instance のエラーが出て広告が表示されない場合

マニュアルと違ったやり方で解決
JSONKit.frameworkではなく、JSONKitのソースコード自体をプロジェクト内にインポート

JSONKit.mのCompiler Flagsに「-ObjC」または「-fno-objc-arc」をつける

これで上記のエラーが解決し、広告が正常に表示されるようになる
exception occurred when creating mzcontentproviderupload for provider. (1004)

こんなエラーで止まる場合

Appleのサーバーの一時的なエラーのようです。
しばらくしたらそのまま通過しました。

ここでもそんな風に報告されてる
Failed to submit to the appStore while validation is OK

 I try to submit an app to the appStore using xcode 4.3.1.
 Validation is ok but when the upload starts I get the following messages:

 - Apple's web service operation was not successful
 - Unable to authenticate the package: 383327395.itsmp 
 - Exception occurred when creating MZContentProviderUpload for provider. (1004)

 Does anyone already got this and found a solution?

https://discussions.apple.com/thread/3822193?start=0&tstart=0