NimbleKit - fast iOS app development

NimbleKit 1.9.8.1 is released!

Anything about NimbleKit SDK

Re: NimbleKit 1.9.8.1 is released!

Postby ryubr » Sat Oct 29, 2011 12:44 am

cactuscraig wrote:App already approved by Apple this morning in 55 minutes. The double-tap requirement appears to be fixed.


Great Thanks :-) I sent one update for my app also today almost at the same time as you but no luck as yours :-)
ryubr
NimbleKit Expert
 
Posts: 445
Joined: Fri Jun 19, 2009 5:36 am

Re: NimbleKit 1.9.8.1 is released!

Postby cactuscraig » Sat Oct 29, 2011 1:53 am

they seem to like me...
User avatar
cactuscraig
 
Posts: 846
Joined: Thu Feb 03, 2011 5:15 pm
Location: Scottsdale, AZ

Re: NimbleKit 1.9.8.1 is released!

Postby ludolphus » Sat Oct 29, 2011 1:31 pm

Ok partly fixed, one app works. It has a navigation controller and a tab bar controller. As mentioned by Sunny you have to create the tab bar first and then the navcontroller. The app in which this works now with Xcode 4.2 SDK5.0 and IOS5 only has 4 tabs.

In another app it still does not work and gives this error:

Code: Select all
 *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITabBarController setSelectedViewController:] only a view controller in the tab bar controller's list of view controllers can be selected.'


This app has 8 tabs (but even with only 6 it gives the same result) and therefor a 'More' button is created automatically by IOS. The tabs 'in-view' work fine, but as soon as I choose one from the more list, the app crashes with above error.

Code: Select all
         var navController;
         function onPageShown(caller) {
            navController = new NKNavigationController();
            navController.setTitle("Title");
            navController.show();
         }

I tried moving the NKNavigationController outside onpageshown to the <head> section and the <body> section but it all ends in the same crash. It is just the call to NKNavigationController that causes the crash.

The strange thing is, this code works fine when I move the tab out of the more section (by using the on screen edit option).
Regards, Steve
ludolphus
 
Posts: 34
Joined: Sat Apr 30, 2011 11:30 pm
Location: The Netherlands

Re: NimbleKit 1.9.8.1 is released!

Postby ludolphus » Sat Oct 29, 2011 1:55 pm

Hmmm, it's even worse. Just created a test app with just 6 tabs. The tabs get added just fine. Selecting one on the 'more' list crashes the app. What's worse is that if 7 or more tabs are added, the app crashes on launch.

same error:
Code: Select all
NSInvalidArgumentException', reason: '-[UITabBarController setSelectedViewController:] only a view controller in the tab bar controller's list of view controllers can be selected.'


Attaching the sample project source html files. Build with Xcode 4.2, SDK5.0, run on 5.0 simulator
Attachments
tabbar-navcontroller-crashtestapp.zip
tabbar navcontroller test app crash on IOS5
(5.88 KiB) Downloaded 33 times
Regards, Steve
ludolphus
 
Posts: 34
Joined: Sat Apr 30, 2011 11:30 pm
Location: The Netherlands

Re: NimbleKit 1.9.8.1 is released!

Postby ludolphus » Sat Oct 29, 2011 2:26 pm

And another problem when Archiving for AppStore submit:

"iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6"

Deployment target is set to 3.1, when setting to 4.3 or higher this error does not occur, but then the app won't work on older devices.

To make sure I got the latest 1.9.8.1 release, I re-downloaded the NK installer again and re-installed it. No change.
Regards, Steve
ludolphus
 
Posts: 34
Joined: Sat Apr 30, 2011 11:30 pm
Location: The Netherlands

Re: NimbleKit 1.9.8.1 is released!

Postby cactuscraig » Sat Oct 29, 2011 4:51 pm

I have experienced the last error and changed the build architectures to just the following
armv6
armv7

I removed what was in there and app was approved.
My iPad app is 7 tabs all on screen at once no issue,
Same app is also for iPhone but organized down to 3 tabs.
User avatar
cactuscraig
 
Posts: 846
Joined: Thu Feb 03, 2011 5:15 pm
Location: Scottsdale, AZ

Re: NimbleKit 1.9.8.1 is released!

Postby Dilemma Apps » Sat Oct 29, 2011 4:58 pm

Seems to be an issue when buying items through in-app purchase, it retrieves the information, but when buying a product it is returning -1 as the result and "Error 0", Cannot Connect to iTunes Store,

This is for an app which is out and working correctly on previous Nimblekit version,

Can anyone else confirm this with their Apps
User avatar
Dilemma Apps
 
Posts: 137
Joined: Tue Jan 04, 2011 7:59 pm
Location: Kent, UK

Re: NimbleKit 1.9.8.1 is released!

Postby ludolphus » Sun Oct 30, 2011 12:10 am

cactuscraig wrote:I have experienced the last error and changed the build architectures to just the following
armv6
armv7

I removed what was in there and app was approved.
My iPad app is 7 tabs all on screen at once no issue,
Same app is also for iPhone but organized down to 3 tabs.


Ok thanks, chaining build architectures to armv6 and armv7 was a simple fix and it worked.

But for the other app with 8 tabs it is not an option to re-organize to just 5, because I'm using the the set badge option for most of them for push notifications. And it should just work, it works in every other app not developed with NK. So for know my conclusion is that there is still a small problem in 1.9.8.1 with the tab bar controller. But if not and I'm doing something wrong, please someone show me the correct way.
Regards, Steve
ludolphus
 
Posts: 34
Joined: Sat Apr 30, 2011 11:30 pm
Location: The Netherlands

Re: NimbleKit 1.9.8.1 is released!

Postby sunny » Sun Oct 30, 2011 3:36 am

I'd be glad to fix the problem, make a sample project and send to a.voloshyn@gmail.com and I'll see what's wrong and fix.
User avatar
sunny
Staff
 
Posts: 2666
Joined: Sat May 30, 2009 5:18 am
Location: Palo Alto, California

Re: NimbleKit 1.9.8.1 is released!

Postby ryubr » Sun Oct 30, 2011 4:37 pm

Dilemma Apps wrote:Seems to be an issue when buying items through in-app purchase, it retrieves the information, but when buying a product it is returning -1 as the result and "Error 0", Cannot Connect to iTunes Store,

This is for an app which is out and working correctly on previous Nimblekit version,

Can anyone else confirm this with their Apps


Do you still get this error? I'm on 1.9.6 so I'm cautious about upgrade since I need this feature. One thing I knows that different versions of an app without a submit could make the in-app not working until the new version be approved. But I'm not sure its the case. Sunny can you confirm this?
ryubr
NimbleKit Expert
 
Posts: 445
Joined: Fri Jun 19, 2009 5:36 am

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest