Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Problem with iAds — Gideros Forum

Problem with iAds

ar2rsawseenar2rsawseen Maintainer
edited September 2012 in General questions
Hello all,
today I first time tried out a Gideros to export Xcode project and try it on IOS device. And I have some problems with iAds plugin.
Basically if I use this iads code:
if application:getDeviceInfo() == "iOS" then
	require "iad"
	if iad and iad.isAvailable() then
		banner = iad.Banner.new(iad.Banner.TOP, iad.Banner.LANDSCAPE)
		banner:show()  -- show it because newly created banners are not visible by default
	end
end
export project to xcode and launch it on my device or simulator I get "Thread1:EXEC_BAD_ACCESS(code=2,address=0x20)" on line
void updateFramePosition()
{
	CGRect frame = view_.frame; //Thread1:EXEC_BAD_ACCESS(code=2, address=0x20)
Is there anything I need to add to the project? I see that iads framework is already added, etc. So what am I doing wrong, and where should I look for more clues/errors/logs in xcode, etc. Really new to all xcode/ios stuff.

Comments

Sign In or Register to comment.