error: 'ADBannerContentSizeIdentifierPortrait' undeclared (first use in this function)

ビルド時に下記のようなエラーメッセージが表示された場合、 [ERROR] /Users/xxxx/setuppath/Titanium Studio Workspace/Mobile/build/iphone/Classes/TiUIiOSAdViewProxy.m:32: error: 'ADBannerContentSizeIdentifierLandscape' undeclared (first use in this function) [ERROR] Error: Traceback (most recent call last): 恐らく、SDKのバージョンがあっていない事が原因かと思われます。 [INFO] Titanium SDK version: 1.7.1 [INFO] iPhone Device family: universal [INFO] iPhone SDK version: 4.1 [INFO] iPhone simulated device: iphone ちなみに上記のようなメッセージが出ている場合は確実かと… こんな場合は、Xcodeの更新をして下さい。 私の場合、「Xcode 3.2.6 and iOS SDK 4.3」をインストールしたところ、 無事、解決しました。

コメント