Hi,
I just upgraded to new xCode 4.5.2 and got new Corona build 971. All works fine in the simulator but when I build and run the game on device, only black screen comes up. If I build the same code with older Corona (before iOS6) all works just fine. Where is the problem? [import]uid: 27699 topic_id: 33121 reply_id: 333121[/import]
Ok I know what it is. If you use analytics’s in new daily builds it crashes on device. Why there is no Flurry? any information regarding this situation?
[import]uid: 27699 topic_id: 33121 reply_id: 131509[/import]
Hey, @ugi4l, you might want to report this as bug. Since Corona Labs is considering 971 as public release candidate, I think they should be made aware of this.
Naomi [import]uid: 67217 topic_id: 33121 reply_id: 131522[/import]
Starting with build 971 you have to specifically declare the analytics variable like this:
local analytics = require("analytics")
.
previously you could get away with just using require(“analytics”) but that doesn’t work anymore.
[import]uid: 70847 topic_id: 33121 reply_id: 131533[/import]
Ok I know what it is. If you use analytics’s in new daily builds it crashes on device. Why there is no Flurry? any information regarding this situation?
[import]uid: 27699 topic_id: 33121 reply_id: 131509[/import]
Hey, @ugi4l, you might want to report this as bug. Since Corona Labs is considering 971 as public release candidate, I think they should be made aware of this.
Naomi [import]uid: 67217 topic_id: 33121 reply_id: 131522[/import]
Starting with build 971 you have to specifically declare the analytics variable like this:
local analytics = require("analytics")
.
previously you could get away with just using require(“analytics”) but that doesn’t work anymore.
[import]uid: 70847 topic_id: 33121 reply_id: 131533[/import]
Swipeware is correct - and Naomi, yes, 971 was the candidate, now released.
Tom comments on this in a few other threads, RE new requiring. Should entirely solve the issue.
Peach
[import]uid: 52491 topic_id: 33121 reply_id: 131658[/import]
Swipeware is correct - and Naomi, yes, 971 was the candidate, now released.
Tom comments on this in a few other threads, RE new requiring. Should entirely solve the issue.
Peach
[import]uid: 52491 topic_id: 33121 reply_id: 131658[/import]
Thanks for all the information. But it still doesn’t work. I reported a bug with drop from device console as it works fine in the simulator :/.
Cheers [import]uid: 27699 topic_id: 33121 reply_id: 132051[/import]
That’s strange. I’m using Xcode 4.5.2 with build 2012.971. I’m on an iMac with OSX 10.8.2.
I use Flurry analytics in my apps with no crashing issues.
I’ve successfully tested on iPad 1, 2 and 3 + iPad mini, iPod Touch 3rd, 4th and 5th gen and also on Android 2.3.6 (Galaxy S) and 4.2 (Google Nexus).
The iDevices are running a mix of iOS 5 and iOS 6. I don’t officially support iOS 4.3 anymore, so I can’t speak for that version.
Could it be that you’ve overlooked to change some require statements? [import]uid: 70847 topic_id: 33121 reply_id: 132073[/import]
That is interesting… I check the require few times, I checked the console from device and is says that Analytics’s library is not available. I’ll keep testing. maybe download Corona again to be sure. Thanks for all the help anyway. [import]uid: 27699 topic_id: 33121 reply_id: 132108[/import]
Hmmm… One thing that comes to mind is case sensitivity.
Make sure you’re only using lower-case letters in the require, like local analytics = require(“analytics”).
Also the Lua variables are case-sensitive, so make sure you’re using the same case as in your definition. [import]uid: 70847 topic_id: 33121 reply_id: 132132[/import]
Thanks for all the information. But it still doesn’t work. I reported a bug with drop from device console as it works fine in the simulator :/.
Cheers [import]uid: 27699 topic_id: 33121 reply_id: 132051[/import]
That’s strange. I’m using Xcode 4.5.2 with build 2012.971. I’m on an iMac with OSX 10.8.2.
I use Flurry analytics in my apps with no crashing issues.
I’ve successfully tested on iPad 1, 2 and 3 + iPad mini, iPod Touch 3rd, 4th and 5th gen and also on Android 2.3.6 (Galaxy S) and 4.2 (Google Nexus).
The iDevices are running a mix of iOS 5 and iOS 6. I don’t officially support iOS 4.3 anymore, so I can’t speak for that version.
Could it be that you’ve overlooked to change some require statements? [import]uid: 70847 topic_id: 33121 reply_id: 132073[/import]
That is interesting… I check the require few times, I checked the console from device and is says that Analytics’s library is not available. I’ll keep testing. maybe download Corona again to be sure. Thanks for all the help anyway. [import]uid: 27699 topic_id: 33121 reply_id: 132108[/import]
Hmmm… One thing that comes to mind is case sensitivity.
Make sure you’re only using lower-case letters in the require, like local analytics = require(“analytics”).
Also the Lua variables are case-sensitive, so make sure you’re using the same case as in your definition. [import]uid: 70847 topic_id: 33121 reply_id: 132132[/import]
Now it’s super weird…
I build Sample App and it works. I copy code from sample app to my game and it crashes… Not sure what it could be. I did a test where I deleted everything from my main file and only left copied flurry stuff and it crashed on device… I can’t see any reason for it. Does flurry now requires anything extra what I can’t see in example app? Something is build.settings or something?
[import]uid: 27699 topic_id: 33121 reply_id: 132675[/import]
Ok [import]uid: 58338 topic_id: 33121 reply_id: 132685[/import]
Got it.
After stripping while app and searching in all the files I found this in build.settings:
components = {“openfeint”}
This bad boy was crashing Flurry. Previously all worked ok and there was no problem but with flurry update this started to cause all the hassle. I’m happy to have it behind me :).
Thanks for all the help. [import]uid: 27699 topic_id: 33121 reply_id: 132764[/import]