Can't publish Ad Hoc with Windows. Keeps saying "Building iOS Game..." [SOLVED]

triqui

  • *
  • Posts: 16
Hello,

When trying to Publish->Publish iOS App (Ad Hoc) I just see the animated dialog saying "Building iOS Game..." but nothing happens.

I compiled all the required fields under preferences and mobile game settings, but still nothing.

Is there something I am missing?

Thank you

« Last Edit: March 07, 2012, 07:44:54 pm by Jon »

Rob

  • *
  • Posts: 1268
Can you go to sw and do Debug -> Generate Logs and post the log here. Thanks.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

triqui

  • *
  • Posts: 16
Here it is, thank you

[LOG] Mirroring logs to the standard output...
[LOG] Current Working Directory: C:\Program Files\StencylWorks
[LOG] Reading... global
[LOG] Finished reading lang/en/global.lang
[LOG] Reading... prefs
[LOG] Finished reading lang/en/prefs.lang
[LOG] Reading... gamedg
[LOG] Finished reading lang/en/gamedg.lang
[LOG] Reading... spritedg
[LOG] Finished reading lang/en/spritedg.lang
[LOG] Reading... tset
[LOG] Finished reading lang/en/tset.lang
[LOG] Reading... actor
[LOG] Finished reading lang/en/actor.lang
[LOG] Reading... scene
[LOG] Finished reading lang/en/scene.lang
[LOG] Reading... snippet
[LOG] Finished reading lang/en/snippet.lang
[LOG] Reading... blocks
[LOG] Finished reading lang/en/blocks.lang
[LOG] Reading... blockhelp
[LOG] Finished reading lang/en/blockhelp.lang
[LOG] Initializing StencylWorks
[LOG] Failed to load Growl library
[LOG] Loading: help\help\en\html\main\index
[LOG] Exists: false
[LOG] URL: index.html
[LOG] Dir:
[LOG] {}
[LOG] false
[LOG] Activated: Welcome Center
[LOG] Checking workspace writability: temp
[LOG] Response: user:ios
[LOG] Logged in as: triqui
[LOG] Usergroup: Registered
[LOG] Thanks for subscribing to iStencyl Pro.
[ERR] Attempting to log in
[LOG] Connected to StencylTalk as: triqui@stencyl.com/stencyl-1331108717430
[LOG] Refreshing friends list
[LOG] 200
[LOG] http://www.stencyl.com/sw/updater/getVersions/stencylworksBeta
[LOG] HTTP/1.1 200 OK
<r>
<server status = '200' version = '1beta' time = '1299439687' />   <version required="false" build="415" name="1.4.1" month="01" day="23" year="12" />
   <version required="false" build="414" name="1.4.0" month="01" day="22" year="12" />
   <version required="false" build="413" name="1.3.4" month="12" day="19" year="11" />
   <version required="false" build="412" name="1.3.3" month="12" day="14" year="11" />
   <version required="false" build="411" name="1.3.2" month="12" day="12" year="11" />
   <version required="false" build="410" name="1.3.1" month="12" day="10" year="11" />
   <version required="false" build="409" name="1.3.0" month="12" day="09" year="11" />
   <version required="false" build="408" name="1.2.1" month="10" day="27" year="11" />
   <version required="false" build="407" name="1.2.0" month="10" day="26" year="11" />
   <version required="false" build="406" name="1.1.1" month="09" day="13" year="11" />
   <version required="false" build="405" name="1.1.0" month="09" day="08" year="11" />
   <version required="false" build="404" name="1.0.4" month="07" day="23" year="11" />
   <version required="false" build="403" name="1.0.3" month="07" day="21" year="11" />
   <version required="false" build="402" name="1.0.2" month="06" day="30" year="11" />
   <version required="false" build="401" name="1.0.1" month="05" day="31" year="11" />
   <version required="false" build="400" name="1.0.0" month="05" day="18" year="11" />
   <version required="false" build="399" name="0.9.9" month="05" day="18" year="11" />
</r>
[LOG] Initializing... 20 : Blue Circle
[LOG] Initializing... 21 : Blue Circle
[LOG] Initializing... 29 : Congratz Background
[LOG] Initializing... 11 : Destroyed Counter
[LOG] Initializing... 8 : Game Background
[LOG] Initializing... 10 : Game Music
[LOG] Initializing... 7 : Green Bullet
[LOG] Initializing... 6 : Green Bullet
[LOG] Initializing... 1 : Green Circle
[LOG] Initializing... 0 : Green Circle
[LOG] Initializing... 28 : Level Content
[LOG] Initializing... 26 : Level Intro
[LOG] Initializing... 25 : Level Intro
[LOG] Initializing... 27 : Level Title
[LOG] Initializing... 15 : Purple Bullet
[LOG] Initializing... 14 : Purple Bullet
[LOG] Initializing... 13 : Purple Circle
[LOG] Initializing... 12 : Purple Circle
[LOG] Initializing... 5 : Red Bullet
[LOG] Initializing... 4 : Red Bullet
[LOG] Initializing... 3 : Red Circle
[LOG] Initializing... 2 : Red Circle
[LOG] Initializing... 24 : Splash Background
[LOG] Initializing... 18 : Yellow Bullet
[LOG] Initializing... 19 : Yellow Bullet
[LOG] Initializing... 16 : Yellow Circle
[LOG] Initializing... 17 : Yellow Circle
[LOG] Loading Sound 10
[LOG] Loading attribute into tree: Players
[LOG] Loading attribute into tree: Tiles
[LOG] Loading attribute into tree: Doodads
[LOG] Loading attribute into tree: Actors
[LOG] Loading attribute into tree: Bullets
[LOG] Loading attribute into tree: Circles
[LOG] Loading attribute into tree: Regions
[LOG] Loading attribute into tree: Lose Anyway
[LOG] Loading attribute into tree: Level Number
[LOG] Loading attribute into tree: Yellow Circles
[LOG] Loading attribute into tree: Circles Needed
[LOG] Loading attribute into tree: Purple Circles
[LOG] Loading attribute into tree: Green Circles
[LOG] Loading attribute into tree: Circles Destroyed
[LOG] Loading attribute into tree: Blue Circles
[LOG] Loading attribute into tree: Level Message
[LOG] Device OS: null
[LOG] Simulator OS: null
[LOG] Reading header for Scene: 2 ()
[LOG] From: scenes/2.xml
[LOG] Reading header for Scene: 2 ()
[LOG] From: scenes/2.xml
[LOG] Activated: Game Center
[ERR] Could not delete file: C:\Users\User\AppData\Local\Temp\stencyl3783391295442455514\sandbox\build\code
[LOG] Reading header for Scene: 2 ()
[LOG] From: scenes/2.xml
[LOG] Took 7711ms
[LOG] games\Circle Chain\resources\9.fnt
[LOG] games\Circle Chain\resources\9.png
[LOG] Could not parse: games\Circle Chain\resources\arial.ttf
[LOG] Could not parse: games\Circle Chain\resources\C&C Red Alert [LAN].ttf
[LOG] Could not parse: games\Circle Chain\resources\data.xml.bak
[LOG] Frame was maximized
[LOG] Action: Generate Logs
[ERR] Could not delete file: C:\Users\User\stencylWorksTempLogs
[LOG] Copy file from: logs\03-06-2012_0000_PM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0000_PM.log
[LOG] Copy file from: logs\03-06-2012_0051_PM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0051_PM.log
[LOG] Copy file from: logs\03-06-2012_0534_PM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0534_PM.log
[LOG] Copy file from: logs\03-06-2012_0928_AM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0928_AM.log
[LOG] Copy file from: logs\03-06-2012_0930_AM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0930_AM.log
[LOG] Copy file from: logs\03-07-2012_0924_AM.log to: C:\Users\User\stencylWorksTempLogs\03-07-2012_0924_AM.log
[LOG] Write String out as file to: C:\Users\User/stencylWorksTempLogs/Config.log
[LOG] Action: Publish iOS App (Ad Hoc)
[LOG] Checking Prereqs
[LOG] This is an Ad Hoc build, using the profile at: C:\Program Files\StencylWorks\games\Circle Chain\Circle_Chain_Stencyl_profile.mobileprovision
[ERR] Could not locate bundleID. Skipping...
[LOG] Generate Project
java.io.FileNotFoundException: sandbox\project.pbxproj (Impossibile trovare il percorso specificato)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(Unknown Source)
   at java.io.FileOutputStream.<init>(Unknown Source)
   at stencyl.sw.util.FileUtil.writeStringToFile(FileUtil.java:144)
   at stencyl.sw.io.write.resource.XCodeProjectWriter.generateProject(XCodeProjectWriter.java:1218)
   at stencyl.sw.io.write.resource.XCodeProjectWriter.writeProject(XCodeProjectWriter.java:325)
   at stencyl.sw.app.filewatcher.ExternalAppLauncher.generateIPA(ExternalAppLauncher.java:255)
   at stencyl.sw.app.App$13.doInBackground(App.java:942)
   at stencyl.sw.app.App$13.doInBackground(App.java:939)
   at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[LOG] Copy directory from: plaf\ios\template\Base to: games-ios\Circle Chain
[LOG] Copy directory from: plaf\ios\template\Base\Classes to: games-ios\Circle Chain\Classes
[LOG] Copy Duration: 33
[LOG] Copy directory from: plaf\ios\template\Base\Headers to: games-ios\Circle Chain\Headers
[LOG] Copy Duration: 61
[LOG] Copy Duration: 177
[LOG] Write String out as file to: games-ios/Circle Chain/Classes/ApplicationDelegate.m
[LOG] Write String out as file to: games-ios/Circle Chain/\Application-Info.plist
java.lang.NullPointerException
   at java.io.FileInputStream.<init>(Unknown Source)
   at stencyl.sw.util.FileUtil.copy(FileUtil.java:220)
   at stencyl.sw.io.write.resource.XCodeProjectWriter.writeProject(XCodeProjectWriter.java:486)
   at stencyl.sw.app.filewatcher.ExternalAppLauncher.generateIPA(ExternalAppLauncher.java:255)
   at stencyl.sw.app.App$13.doInBackground(App.java:942)
   at stencyl.sw.app.App$13.doInBackground(App.java:939)
   at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[LOG] Action: Generate Logs
[ERR] Could not delete file: C:\Users\User\stencylWorksTempLogs
[LOG] Copy file from: logs\03-06-2012_0000_PM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0000_PM.log
[LOG] Copy file from: logs\03-06-2012_0051_PM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0051_PM.log
[LOG] Copy file from: logs\03-06-2012_0534_PM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0534_PM.log
[LOG] Copy file from: logs\03-06-2012_0930_AM.log to: C:\Users\User\stencylWorksTempLogs\03-06-2012_0930_AM.log
[LOG] Copy file from: logs\03-07-2012_0924_AM.log to: C:\Users\User\stencylWorksTempLogs\03-07-2012_0924_AM.log

Jon

  • *
  • Posts: 17524
>> java.io.FileNotFoundException: sandbox\project.pbxproj (Impossibile trovare il percorso specificato)

I fixed this bug in 2.0.

If you're not open to using 2.0, I think you can work around it by creating a folder called "sandbox" under the StencylWorks application directory.

triqui

  • *
  • Posts: 16
this worked, but now it's asking for

AppScaffold.xcodeproj

directory, I created it but it deletes it on the fly when I try to publish the app.

I think I'll get 2.0

triqui

  • *
  • Posts: 16
for your info, I solved it creating a AppScaffold.xcodeproj folder in plaf/ios/template/Base

Thank you