tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
09/29/12 05:10 PM (13 years ago)

Buzztouch v1.5 and Xcode 4.5 Errors. How do I get it to work?

I am getting to the stage where I do need to update my v1.5 apps to just give them a refresh, however, in Xcode, it just comes up with a load of errors. I do realise that v1.5 is now being discontinued, because the code is starting to get outdated, but I am just looking to update my current apps. The Simulator or the real device will not build the app for me. I can't really go back to a previous version of Xcode, because all of my Devices are on iOS 6, which I cant go back. The errors that I get are below BT_viewController.m:154:60: Use of undeclared identifier 'ADBannerContentSizeIdentifierLandscape' BT_viewController.m:156:59: Use of undeclared identifier 'ADBannerContentSizeIdentifierPortrait' BT_viewController.m:172:59: Use of undeclared identifier 'ADBannerContentSizeIdentifierLandscape' BT_viewController.m:174:59: Use of undeclared identifier 'ADBannerContentSizeIdentifierPortrait' Those are the four errors I get. I do get tons of issues, but I'm not really bothered about them. So is there any way I could fix these errors? Thanks,
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/29/12 05:12 PM (13 years ago)
As some one suggested. Try this "clear the adbanner error by adding #import <iAd/iAd.h> to the .h file where the error is at the top of the page" Cheers. Miguel
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
09/29/12 05:20 PM (13 years ago)
Would this add iAds to my app. iAds is the last thing I want blipping up.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
09/29/12 09:22 PM (13 years ago)
iAds will show in your apps only if you have enabled the option for advertisements on each screens. There is an option to turn on the ads but by default it is set to negative value.
 
Tony @ Buzztouch
buzztouch Evangelist
Profile
Posts: 528
Reg: Mar 05, 2011
Saint Louis, Mi...
24,620
like
09/29/12 10:25 PM (13 years ago)
Just delete the iAd sections in your app if you don't want them. Don't sweat it I freaked out the first few times now it takes 2 secs to delete the lines of code and after you clean and build you are back to normal. Good luck
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/30/12 01:31 AM (13 years ago)
The iAds references and "issues" described here should not appear if you downloaded your source code AFTER iOS 6 was released. We updated this iAd stuff the same day iOS 6 came out. If you're working with an older project, or, like you say a v1.5 project, you'll run into some gotcha's. There's an awesome guide in the How To's about "upgrading a 1.5 app for iOS 6. Have a look at it. Good stuff.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.