iphone cocos2d app and iAd - iphone

I have an iphone 3 device running iOS 3.1.2, I developed a game using cocos2d, i implemented iAd in the lite version (free app), what i did is that i made the iAd framework role "weak" instead of "required", and i made the base SDK iOS 4.2 as it is, and the deployment target iOS 3.1.2.
first problem: i couldnt test the application on my device (iphone 3 - iOS 3.1.2).
Second problem : when the application is submitted to the app store, iphone 4 devices could run it normally and iAd appears, but iphone 3 devices, when getting into the view containing iAd the application hangs and quit.
any help please,
i have been in this problem for a while
regards

I don't understand your question. Why could you not test on your device? What happens when you try to run it on your device?

Related

Release iPhone App iOS7

I developed an iPhone app that works on iOS 6 and iOS 7 but not in iOS 5 or iOS 4.3
I want to release this app to App Store.
Will the store reject my app because it is not work in iOS 4.3 or the Store accepts the apps that work on iOS 7 as its the new thing?
Hope anyone got my mean.
No problem with that. Keep your deployment target as iOS 6.0. That will be fine
If your app is just for iOS 6 and iOS 7 that is fine it will just be restricted to device with that iOS on them. As long as you have set your Deployment Target to be 6.0 it will work fine and not be rejected. And unless your app goes against the Apple Review Guidelines you will be fine.
Additional note that isn't in the guidelines
Your app must work on retina 4 inch (iPhone 5) otherwise it will be rejected.
Good luck with your submission.

XCode 4.5.2 why can I run apps built for iPhone on an iPad?

I've recently upgraded to xCode 4.5.2 and attempted to resubmit an app to the app store. The apple minion has run my app on an iPad and it does not work. So the app got rejected.
I tried it again and again, and the only way I can make it fail is if I run it on an iPad. My question is: Why can I run the app that is intended for an iPhone on an iPad if I use xCode?
There's not storyboard file for iPad
The targetted device family is iPhone
There isn't even an icon file for iPad, so it just shows trimmed
launch image on the iPad's home screen
I cannot see the app that I published if I search for it on the app
store if I use iPad
The bug that I'm running into involves treading and core data. Is my data model compiled for iPhone only, and not for iPad?

is Store Kit framework working on i OS 6 Simulator?

I implemented In App Purchase in my application. It is working fine on iPhone 5.1.
I know Store Kit is not working on iPhone Simulator 5.1.
But on i OS 6 simulator, i can connect to App store and i get alert for confirmation In App Purchase. But the transaction is failed with error on iOS 6 Simulator.
Any one please explain reason for this.
Simulator
For this release, iOS Simulator does not support testing In-App Purchase. Please use a device to test your apps that use this feature.
iOS 6.0 Release Notes
On Xcode 4.5.2 and iOS 5 and iOS 6 it works fine.
I try in simulators for iPhone 5 and 4, and on all iPads too.
There is only a little delay in the simulator, but the transaction is fully functionally
I see that is very important the configuration in iTunesConnect.
In my opinion is better to check the ItunesConnect config before change the code.
the docs say that IAP can be fully tested in the sim, except for hosted content:

Is it possible to run App in all iPad Versions?

I am developing an application for both iPhone and iPad, and i build the app with the deployment target of iOS 5.1, now i confused whether the Application will run in all version of iPad. Sorry for this newbie question, since i am new to development. Please help me with your valuable solutions.
With an iOS 5.1 target, yes. (It will run on all iPads having iOS 5.1 or later).
But be aware that iOS 6 will no longer be supported on the first-gen iPad, and that the first-gen iPad has a lot less memory than the later models, which you may need to take into account if your app is "heavy".
If your app runs on iOS 5.1, it will run on any device that runs on iOS 5.1, whether it is iPad or iPhone.

iPhone App to transfer message over bluetooth but device is not getting connected

I am working on this iPhone app with which you can send message to other connected device. I have gone through following tutorial
http://vivianaranha.com/apple-gamekit-bluetooth-integration-tutorial/
Everything seems to be fine. No memory leaks or anything like that. Now I installed this application on iPad and iTouch. iPad is running 4.3.5 and iTouch is running 4.2.1. I am using X Code 4.0 with iOS 4.3 as base sdk. I set my targets to 4.0 in X Code for above project (like Target->Messenger->summary->deployment target->4.0) similarly for project.
Now when I run application and try to connect it with other device, it shows only looking for nearby iOS devices and nothing happens further. But when I set deployment target to 4.3 and install same app on iPad, that iPad can detect iTouch but not able to connect it.
Can anyone tell me why is this happening and how to deal with it ?
Regards,
Sumit
Did u try using Xcode Simulator to connect your iPod Touch by Blue Tooth?
Then it can make more sure that your programming run correctly.