Hi,
I have lots of problems with getting Sparrow working with iPad targets... I've tried both Sodeso templates and scaffold project. I've changed "Base SDK" to 3.2, "Target Device Family" to iPad, "iPhone OS Deployment Target" to iPhone 3.2 and simulator to iPad, but I still get of error (XCode 3.2.3), that there is no i386 architecture to compile. No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=i386, VALID_ARCHS=armv6 armv7).
iPad templates
(6 posts) (3 voices)-
Posted 1 year ago #
-
Hi!
Sorry for the trouble -- I will add a scaffold project for an iPad project soon.
First of all, the "Base SDK" has to be "iPhone Device 4.0". Don't worry, I know that the iPad runs with 3.2 currently, but that does not matter (if Sparrow calls 4.x functions, it checks if they are available). The Deployment Target has to be at least "iPhone OS 3.0", so that should be OK.
The active architecture should be "armv6", though, at least if you compile for the device. I think that must be the problem.
Please tell me if that helped you -- otherwise, I will have a look at it again!
Posted 1 year ago # -
Great!
It was all about "Base SDK"
Posted 1 year ago # -
Great to hear that it works now!
Daniel
Posted 1 year ago # -
O.K I had the same error (ONLY_ACTIVE_ARCH=YES, active arch=i386, VALID_ARCHS=armv6 armv7), with the template from Sodeso.
Make sure you change your project to Simulator instead of device, do a clean and it fixes it...
The only other issues I found when creating a building a ipad app is the scale variables set for iphone in the "sparrow", somehow these are not compatible with sdk3.2 ??
I just commented these out and did a clean - recompile all working for ipad...
Posted 1 year ago # -
The scale methods of the UIKit classes are not available in SDK 3.2; however, Sparrow checks at runtime if they are available, and won't use them if they are not.
So, if you use "iPhone SDK 4.x" as your base sdk, no errors or warnings should be shown.
Posted 1 year ago #
Reply
You must log in to post.