How to run app on Xcode simulator?

Newbie here,

How is everyone making screenshots for their iOS apps?

I’ve made my first iOS app and I want to run it on the Xcode 4.6 simulator to take screenshots, my iPhone is the 3S model and the resolution isn’t high enough for the Apple App store.
They require; 960x640, 960x600, 640x960 or 640x920 pixels.

I think my only options are to buy a newer iPhone :frowning: or run it on the Xcode simulator, is there some way I can use the Corona simulator to get satisfactory screenshots? The text boxes always seem to look different compared to when it runs on a iPhone device. [import]uid: 221800 topic_id: 36499 reply_id: 336499[/import]

Googled it:

http://stackoverflow.com/questions/7092613/how-to-get-iphone-application-snapshot-with-simulator-window
[import]uid: 50459 topic_id: 36499 reply_id: 144784[/import]

Use coronas simulator to take the screen shots
here is some qick and dirty code that dose the job
remember to not zoom in or out in the simulator to get the correct size

[code]
module(…, package.seeall)

function render(x,y)

if (x==nil) then x =display.contentWidth*.5 end
if (y==nil) then y =display.screenOriginY end

local btn = display.newRect(20,20,40,40)
btn:setFillColor(255,0,0)
btn.x = x
btn.y = y
btn:addEventListener(“tap”,function()
btn.alpha = 0
timer.performWithDelay( 300,function( )

local temp = display.captureScreen(true)
temp:removeSelf()
temp = nil
btn.alpha = 1
end,1)

end)
end

[/code] [import]uid: 147488 topic_id: 36499 reply_id: 144786[/import]

OK thanks, but how do you launch your App in the xcode simulator?
From what I’ve read you copy it into the simulator applications folder, but I don’t have the same path. Had anything changed in 4.6 from the older versions? [import]uid: 221800 topic_id: 36499 reply_id: 144787[/import]

I just select build for simulator then when its done
the simulator starts
[import]uid: 147488 topic_id: 36499 reply_id: 144788[/import]

see the build for option

fund the image on google images search
[import]uid: 147488 topic_id: 36499 reply_id: 144790[/import]

Googled it:

http://stackoverflow.com/questions/7092613/how-to-get-iphone-application-snapshot-with-simulator-window
[import]uid: 50459 topic_id: 36499 reply_id: 144784[/import]

Use coronas simulator to take the screen shots
here is some qick and dirty code that dose the job
remember to not zoom in or out in the simulator to get the correct size

[code]
module(…, package.seeall)

function render(x,y)

if (x==nil) then x =display.contentWidth*.5 end
if (y==nil) then y =display.screenOriginY end

local btn = display.newRect(20,20,40,40)
btn:setFillColor(255,0,0)
btn.x = x
btn.y = y
btn:addEventListener(“tap”,function()
btn.alpha = 0
timer.performWithDelay( 300,function( )

local temp = display.captureScreen(true)
temp:removeSelf()
temp = nil
btn.alpha = 1
end,1)

end)
end

[/code] [import]uid: 147488 topic_id: 36499 reply_id: 144786[/import]

OK thanks, but how do you launch your App in the xcode simulator?
From what I’ve read you copy it into the simulator applications folder, but I don’t have the same path. Had anything changed in 4.6 from the older versions? [import]uid: 221800 topic_id: 36499 reply_id: 144787[/import]

I just select build for simulator then when its done
the simulator starts
[import]uid: 147488 topic_id: 36499 reply_id: 144788[/import]

see the build for option

fund the image on google images search
[import]uid: 147488 topic_id: 36499 reply_id: 144790[/import]

Googled it:

http://stackoverflow.com/questions/7092613/how-to-get-iphone-application-snapshot-with-simulator-window
[import]uid: 50459 topic_id: 36499 reply_id: 144784[/import]

Use coronas simulator to take the screen shots
here is some qick and dirty code that dose the job
remember to not zoom in or out in the simulator to get the correct size

[code]
module(…, package.seeall)

function render(x,y)

if (x==nil) then x =display.contentWidth*.5 end
if (y==nil) then y =display.screenOriginY end

local btn = display.newRect(20,20,40,40)
btn:setFillColor(255,0,0)
btn.x = x
btn.y = y
btn:addEventListener(“tap”,function()
btn.alpha = 0
timer.performWithDelay( 300,function( )

local temp = display.captureScreen(true)
temp:removeSelf()
temp = nil
btn.alpha = 1
end,1)

end)
end

[/code] [import]uid: 147488 topic_id: 36499 reply_id: 144786[/import]

OK thanks, but how do you launch your App in the xcode simulator?
From what I’ve read you copy it into the simulator applications folder, but I don’t have the same path. Had anything changed in 4.6 from the older versions? [import]uid: 221800 topic_id: 36499 reply_id: 144787[/import]

I just select build for simulator then when its done
the simulator starts
[import]uid: 147488 topic_id: 36499 reply_id: 144788[/import]

see the build for option

fund the image on google images search
[import]uid: 147488 topic_id: 36499 reply_id: 144790[/import]

Googled it:

http://stackoverflow.com/questions/7092613/how-to-get-iphone-application-snapshot-with-simulator-window
[import]uid: 50459 topic_id: 36499 reply_id: 144784[/import]

Use coronas simulator to take the screen shots
here is some qick and dirty code that dose the job
remember to not zoom in or out in the simulator to get the correct size

[code]
module(…, package.seeall)

function render(x,y)

if (x==nil) then x =display.contentWidth*.5 end
if (y==nil) then y =display.screenOriginY end

local btn = display.newRect(20,20,40,40)
btn:setFillColor(255,0,0)
btn.x = x
btn.y = y
btn:addEventListener(“tap”,function()
btn.alpha = 0
timer.performWithDelay( 300,function( )

local temp = display.captureScreen(true)
temp:removeSelf()
temp = nil
btn.alpha = 1
end,1)

end)
end

[/code] [import]uid: 147488 topic_id: 36499 reply_id: 144786[/import]

OK thanks, but how do you launch your App in the xcode simulator?
From what I’ve read you copy it into the simulator applications folder, but I don’t have the same path. Had anything changed in 4.6 from the older versions? [import]uid: 221800 topic_id: 36499 reply_id: 144787[/import]

I just select build for simulator then when its done
the simulator starts
[import]uid: 147488 topic_id: 36499 reply_id: 144788[/import]