Discussion Forums  >  Self Hosted Control Panels

Replies: 5    Views: 122

us_david
Code is Art
Profile
Posts: 41
Reg: Dec 27, 2010
San Francisco
410
08/29/13 09:06 PM (12 years ago)

Making Buzztouch Apps Compatible with Older version of IOS/Android

Hello, I am running into some problem after upraging to 2.1.8. The code generated by 2.1.8 is compatible with IOS6. If a user of my app is running IOS6 that would be fine. But some user prefer IOS5.1. But the code would not compile for IOS5.1 because of the vast changes in IOS new SDKs! How do you make your buzztouch app compatible with older version of IOS/android without painfully going through source code to make SDK specific changes? How do you deal with this problem? Feng
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
08/29/13 09:13 PM (12 years ago)
2.1.8 self-hosted still supports iOS 5. Certain plugins may not, but most do. For those that don't, you're simply out of luck - they were probably never intended to work with iOS 5.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
08/29/13 09:14 PM (12 years ago)
I still target 5.1 for most of my projects, as I haven't needed a whole lot of 6.0 only functionality. I'm sure iOS7 will change that, since there's so much difference in design.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/29/13 09:16 PM (12 years ago)
Hi Feng, SF, awesome, I'm hoping to get up there in a few weeks to watch some America's Cup racing. Sailing is my favorite pastime! You're asking a good question. But, because you mention 2.1.8 I'll assume you're self hosting the control panel. OK. But, self hosting or not self hosting doesn't change whether or not your iOS app will support old devices, new devices, or any devices. The control panel's purpose is to package up a series of screens (plugins) that you then compile using Xcode. This is what makes it an app - you compiling a bunch of objective C into an installable app. So far so good... The version your iOS app supports, or doesn't support is related to lots of different settings in your Xcode project. This of course also means the Objective C in your project (from the Buzztouch Core and the Plugins you're using) must also support the version you're hoping to target. This leads to some obvious questions and design decisions you'll need to make. How far back do you want to go? How difficult will it be to support your decision? The Buzztouch Core you get form your control panel, along with the plugins you're using will compile and run without any issues and should be OK in iOS 5.1. If it's not, we'll need to go from there and see what you're running into :-) Hope this helps...
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
08/29/13 10:00 PM (12 years ago)
Also, if plugins aren't compatable with older versions, we try to put that in the plugin description so you know before you buy it.
 
us_david
Code is Art
Profile
Posts: 41
Reg: Dec 27, 2010
San Francisco
410
like
08/30/13 01:22 AM (12 years ago)
I was using Xcode 4.6. The base SDK is IOS5.1 and deployment target is set as: IOS 5.1. When the code compiles I am getting errors: /Users/dc/work/Project/Apps/generalhospital-iOS-BTv3/BT_Config/generalhospital_appDelegate.m:1218:11: Use of undeclared identifier 'UIInterfaceOrientationMaskPortrait'; did you mean 'UIInterfaceOrientationPortrait'? I believe this is in the core of buzz touch. Buzztouch version is 2.1.8. The error goes away if base SDK is IOS6.1. I had similar issues when API function name changes. So I was thinking that it would be great if : 1) there is setting in buzztouch server that allows me to select compatible OS (SDK) versions; 2) and there is setting in plugins that will also allow me to set SDK versions If such mechanism exists then when I select IOS 5.1, buzz touch will generate the correct code both for its core and plugins. Does this make sense or is it possible....? feng
 

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.