Create iOS games with Stencyl - (Launched on Dec. 15)


Photics

  • *
  • Posts: 718
Wow, I was happy to see the iOS book project as a template.

But unfortunately, I wasn't able to test it out. It won't build in the simulator and Xcode won't find my device. I'm a bit busy tonight, but I'm thinking this could be something fun to play with tomorrow.

Simulator isn't running? That's pretty unusual. What does it say?

It says this...

Quote
12/10/11 8:31:07 AM   com.apple.launchd.peruser.501[213]   (com.apple.iPhoneSimulator:com.apple.managedconfiguration.profiled) Bug: launchd_core_logic.c:4598 (24498):2
12/10/11 8:31:07 AM   com.apple.launchd.peruser.501[213]   (com.apple.iPhoneSimulator:com.apple.managedconfiguration.profiled) Path monitoring failed on "/Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/ConfigurationProfiles/MCOutstandingNagComputation": No such file or directory
12/10/11 8:31:07 AM   com.apple.launchd.peruser.501[213]   (com.apple.iPhoneSimulator:com.apple.managedconfiguration.profiled) Bug: launchd_core_logic.c:4598 (24498):2
12/10/11 8:31:07 AM   com.apple.launchd.peruser.501[213]   (com.apple.iPhoneSimulator:com.apple.managedconfiguration.profiled) Path monitoring failed on "/Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/ConfigurationProfiles/profiledRunning": No such file or directory
12/10/11 8:31:07 AM   com.apple.launchd.peruser.501[213]   (com.apple.iPhoneSimulator:com.apple.managedconfiguration.mdmd) Bug: launchd_core_logic.c:4598 (24498):2
12/10/11 8:31:07 AM   com.apple.launchd.peruser.501[213]   (com.apple.iPhoneSimulator:com.apple.managedconfiguration.mdmd) Path monitoring failed on "/Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/ConfigurationProfiles/MDMOutstandingActivities.plist": No such file or directory
12/10/11 8:31:08 AM   vot[2820]   ******** AX INSPECTOR MODE ************
12/10/11 8:31:09 AM   [0x0-0x55055].StencylWorks[2721]   0
12/10/11 8:31:10 AM   SpringBoard[2826]   Error deserializing wallpaper image: Error Domain=CPBitmapErrorDomain Code=0 "The operation couldn’t be completed. (CPBitmapErrorDomain error 0 - No data provided to CPBitmapCreateImagesFromData)" UserInfo=0x7314c90 {NSDescription=No data provided to CPBitmapCreateImagesFromData}
12/10/11 8:31:10 AM   SpringBoard[2826]   Error deserializing wallpaper image: Error Domain=CPBitmapErrorDomain Code=0 "The operation couldn’t be completed. (CPBitmapErrorDomain error 0 - No data provided to CPBitmapCreateImagesFromData)" UserInfo=0x70456c0 {NSDescription=No data provided to CPBitmapCreateImagesFromData}
12/10/11 8:31:10 AM   SpringBoard[2826]   Error deserializing wallpaper image: Error Domain=CPBitmapErrorDomain Code=0 "The operation couldn’t be completed. (CPBitmapErrorDomain error 0 - No data provided to CPBitmapCreateImagesFromData)" UserInfo=0x731c610 {NSDescription=No data provided to CPBitmapCreateImagesFromData}
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0@2x.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0~iphone.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0@2x~iphone.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0~ipad.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1@2x.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1~iphone.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1@2x~iphone.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1~ipad.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2@2x.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2~iphone.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2@2x~iphone.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2~ipad.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3@2x.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3~iphone.
12/10/11 8:31:10 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3@2x~iphone.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3~ipad.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4@2x.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4~iphone.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4@2x~iphone.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4~ipad.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5@2x.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5~iphone.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5@2x~iphone.
12/10/11 8:31:11 AM   SpringBoard[2826]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5~ipad.
12/10/11 8:31:11 AM   UIKitApplication:com.yourname.gamename[0x9b47][2828]   dyld: Library not loaded: /usr/lib/libc++abi.dylib
12/10/11 8:31:11 AM   UIKitApplication:com.yourname.gamename[0x9b47][2828]     Referenced from: /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Applications/3C3BA2DA-8B91-42AC-8E83-598F3971B063/AppScaffold.app/AppScaffold
12/10/11 8:31:11 AM   UIKitApplication:com.yourname.gamename[0x9b47][2828]     Reason: image not found
12/10/11 8:31:11 AM   com.apple.launchd.peruser.501[213]   (UIKitApplication:com.yourname.gamename[0x9b47][2828]) Job appears to have crashed: Trace/BPT trap
12/10/11 8:31:11 AM   ReportCrash[2829]   Saved crash report for AppScaffold[2828] version ??? (???) to /Users/Photics/Library/Logs/DiagnosticReports/AppScaffold_2011-12-10-083111_Mini.crash
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   SpringBoard[2826]   Unable to create linen from mapped file
12/10/11 8:31:12 AM   com.apple.iPhoneSimulator:com.apple.printd[2831]   Accepted connection from localhost:631 (Domain)
12/10/11 8:31:12 AM   com.apple.iPhoneSimulator:com.apple.printd[2831]   Closing connection from localhost:631 (Domain)
12/10/11 8:31:12 AM   com.apple.launchd.peruser.501[213]   (UIKitApplication:com.yourname.gamename[0x9b47]) Throttling respawn: Will start in 2147483647 seconds
12/10/11 8:31:12 AM   SpringBoard[2826]   Application 'My Game' exited abnormally with signal 5: Trace/BPT trap
12/10/11 8:31:12 AM   com.apple.iPhoneSimulator:com.apple.printd[2831]   Accepted connection from localhost:631 (Domain)
12/10/11 8:31:12 AM   com.apple.iPhoneSimulator:com.apple.printd[2831]   Closing connection from localhost:631 (Domain)


Basically, I updated Xcode to 4.2 (I'm using Snow Leopard) and I installed StencylWorks 1.3.0.

But apparently, there was an update... which I needed to login to get. So, I tried again. It didn't work, but at least the simulator didn't completely crash out. Here's the error...

Quote
12/10/11 8:40:30 AM   com.apple.iPhoneSimulator:com.apple.printd[3057]   Accepted connection from localhost:631 (Domain)
12/10/11 8:40:30 AM   com.apple.launchd.peruser.501[213]   (UIKitApplication:com.yourname.gamename[0x62c8]) Throttling respawn: Will start in 2147483646 seconds
12/10/11 8:40:30 AM   SpringBoard[3053]   Application 'My Game' exited abnormally with signal 5: Trace/BPT trap
12/10/11 8:40:30 AM   com.apple.iPhoneSimulator:com.apple.printd[3057]   Closing connection from localhost:631 (Domain)
12/10/11 8:40:30 AM   com.apple.iPhoneSimulator:com.apple.printd[3057]   Accepted connection from localhost:631 (Domain)
12/10/11 8:40:30 AM   com.apple.iPhoneSimulator:com.apple.printd[3057]   Closing connection from localhost:631 (Domain)
12/10/11 8:40:30 AM   [0x0-0x6a06a].StencylWorks[2952]   0
12/10/11 8:40:56 AM   [0x0-0x6a06a].StencylWorks[2952]   [LOG] <Game> [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 UserInfo=0x100130b10 "Simulator session timed out."

To reproduce this bug... I launch StencylWorks, open the Book template, click the simulator button.

I didn't read the instructions, so maybe I missed something.  :D
Michael Garofalohttp://photics.com – Author of The Interactive Stencyl Textbook 8)

Photics

  • *
  • Posts: 718
After quitting and restarting the application, I got this...

Quote
12/10/11 8:46:58 AM   SpringBoard[3268]   Error deserializing wallpaper image: Error Domain=CPBitmapErrorDomain Code=0 "The operation couldn’t be completed. (CPBitmapErrorDomain error 0 - No data provided to CPBitmapCreateImagesFromData)" UserInfo=0x7332d50 {NSDescription=No data provided to CPBitmapCreateImagesFromData}
12/10/11 8:46:58 AM   SpringBoard[3268]   Error deserializing wallpaper image: Error Domain=CPBitmapErrorDomain Code=0 "The operation couldn’t be completed. (CPBitmapErrorDomain error 0 - No data provided to CPBitmapCreateImagesFromData)" UserInfo=0x7333700 {NSDescription=No data provided to CPBitmapCreateImagesFromData}
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0@2x.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0@2x~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0~ipad.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1@2x.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1@2x~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1~ipad.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2@2x.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2@2x~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2~ipad.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3@2x.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3@2x~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3~ipad.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4@2x.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4@2x~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.4~ipad.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5@2x.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5@2x~iphone.
12/10/11 8:46:58 AM   SpringBoard[3268]   Removing folder/switcher linen cached at /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.5~ipad.
12/10/11 8:46:59 AM   UIKitApplication:com.yourname.gamename[0x1c37][3269]   dyld: Library not loaded: /usr/lib/libc++abi.dylib
12/10/11 8:46:59 AM   UIKitApplication:com.yourname.gamename[0x1c37][3269]     Referenced from: /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Applications/2CC96E53-9DDE-4552-9BA1-1DBEFA3DD577/AppScaffold.app/AppScaffold
12/10/11 8:46:59 AM   UIKitApplication:com.yourname.gamename[0x1c37][3269]     Reason: image not found
12/10/11 8:46:59 AM   com.apple.launchd.peruser.501[213]   (UIKitApplication:com.yourname.gamename[0x1c37][3269]) Job appears to have crashed: Trace/BPT trap
12/10/11 8:46:59 AM   ReportCrash[3162]   Saved crash report for AppScaffold[3269] version ??? (???) to /Users/Photics/Library/Logs/DiagnosticReports/AppScaffold_2011-12-10-084659_Mini.crash
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   SpringBoard[3268]   Unable to create linen from mapped file
12/10/11 8:46:59 AM   com.apple.iPhoneSimulator:com.apple.printd[3271]   Accepted connection from localhost:631 (Domain)
12/10/11 8:46:59 AM   com.apple.iPhoneSimulator:com.apple.printd[3271]   Closing connection from localhost:631 (Domain)
12/10/11 8:46:59 AM   com.apple.launchd.peruser.501[213]   (UIKitApplication:com.yourname.gamename[0x1c37]) Throttling respawn: Will start in 2147483647 seconds
12/10/11 8:46:59 AM   SpringBoard[3268]   Application 'My Game' exited abnormally with signal 5: Trace/BPT trap
12/10/11 8:46:59 AM   com.apple.iPhoneSimulator:com.apple.printd[3271]   Accepted connection from localhost:631 (Domain)
12/10/11 8:46:59 AM   com.apple.iPhoneSimulator:com.apple.printd[3271]   Closing connection from localhost:631 (Domain)
12/10/11 8:47:00 AM   [0x0-0x7a07a].StencylWorks[3167]   0
Michael Garofalohttp://photics.com – Author of The Interactive Stencyl Textbook 8)

Jon

  • *
  • Posts: 17524
Hmm, could you attach the contents of the crash reports? These are available in Console as described here.




Saved crash report for AppScaffold[3269] version  () to /Users/Photics/Library/Logs/DiagnosticReports/AppScaffold_2011-12-10-084659_Mini.crash

Photics

  • *
  • Posts: 718
Hmm, could you attach the contents of the crash reports?

Here's AppScaffold_2011-12-10-084659_Mini.crash...

Quote
Process:         AppScaffold [3269]
Path:            /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Applications/2CC96E53-9DDE-4552-9BA1-1DBEFA3DD577/AppScaffold.app/AppScaffold
Identifier:      AppScaffold
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [213]

Date/Time:       2011-12-10 08:46:59.010 -0500
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /usr/lib/libc++abi.dylib
  Referenced from: /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Applications/2CC96E53-9DDE-4552-9BA1-1DBEFA3DD577/AppScaffold.app/AppScaffold
  Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld

...and here's another...
AppScaffold_2011-12-10-165639_Mini.crash...

Quote
Process:         AppScaffold [3572]
Path:            /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Applications/BA0006E4-D09C-4721-B0DD-8797A7C4BED4/AppScaffold.app/AppScaffold
Identifier:      AppScaffold
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [213]

Date/Time:       2011-12-10 16:56:38.925 -0500
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /usr/lib/libc++abi.dylib
  Referenced from: /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Applications/BA0006E4-D09C-4721-B0DD-8797A7C4BED4/AppScaffold.app/AppScaffold
  Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
Michael Garofalohttp://photics.com – Author of The Interactive Stencyl Textbook 8)

Jon

  • *
  • Posts: 17524
Looks like some cocos2d users ran into a similar issue.
http://www.cocos2d-iphone.org/forum/topic/19384

Quote
I copy libc++abi.dylib found here http://home.roadrunner.com/~hinnant/libcppabi.zip into /usr/lib and it works :)

If this turns out to be the case, that'll suck - I'll have to figure out why Apple changed things around like this and detect it.


Edit: It seems that Xcode 4.2 doesn't play so nicely for other folks. The solution's endorsed by a friend of mine, so I'm inclined to think that this is true.
http://stackoverflow.com/questions/8178287/dyld-library-not-loaded-usr-lib-libcabi-dylib

Jon

  • *
  • Posts: 17524
If you want to try the other solution they suggested, dump this into plaf/ios/ and replace the existing one.

If this works, I rather use this solution than the other one.

« Last Edit: December 10, 2011, 02:28:14 pm by Jon »

Photics

  • *
  • Posts: 718
Xcode 4.2 is the latest and Snow Leopard is supported... right? So, it should just work. I don't think people should have to download a file from a roadrunner website in order to make iStencyl work.

Heh, that's unfortunate, as this could have been something incredibly ironic... updating The Unofficial GameSalad Textbook with a template from iStencyl. (Although, from what I've seen, I don't think that template is for universal binaries.) So instead, I'm going back to Xcode this weekend, using my book engine. Maybe things will be straightened out by next weekend.

Also... the Stencyl website seems to be getting hit with a lot of traffic, as it's been running kinda slow.

I tried testing things out on my Windows laptop, but I didn't see the iOS book template listed. I've been busy, so I haven't been able to fully focus my attention on iStencyl, but this seems a bit unusual to me. I thought it would have been a lot easier, as the Flash part of StencylWorks is superb.
Michael Garofalohttp://photics.com – Author of The Interactive Stencyl Textbook 8)

Jon

  • *
  • Posts: 17524
To be clear, the problem isn't specific to us - it's hitting quite a few people who are coding their games from scratch using Cocos2D or what have you.

If I could get a confirmation that the second approach works (the one that doesn't require any downloads), that's all I need to know, and I can ship that by default and require no action on the user's part. 1.3.2 is going out tomorrow - so if I could get a yes or no, that would be great.

The site was hit very, very hard yesterday (BBC), and something hit again today nearly as hard. Not a bad problem to have but perhaps not the best for the people already here. ;)

Photics

  • *
  • Posts: 718
If I could get a confirmation that the second approach works (the one that doesn't require any downloads), that's all I need to know, and I can ship that by default and require no action on the user's part. 1.3.2 is going out tomorrow - so if I could get a yes or no, that would be great.

What is the second route?

Is it that attachment?

To be clear, the problem isn't specific to us - it's hitting quite a few people who are coding their games from scratch using Cocos2D or what have you.

Yeah, it seems to be a weird Apple thing... but that doesn't matter. Even if it's Apple's fault, it could hurt iStencyl subscriptions. Heh... it's like my web development stuff. I didn't invent the rift between Flash/HTML5, but I'm expected to make a site look pretty on multiple platforms.

The site was hit very, very hard yesterday (BBC), and something hit again today nearly as hard. Not a bad problem to have but perhaps not the best for the people already here.

This is a good problem to have. Heh... but you might want to get on that too. Now that people are starting to notice about StencylWorks, they shouldn't be scared off by minor issues.

« Last Edit: December 11, 2011, 11:37:47 am by Photics »
Michael Garofalohttp://photics.com – Author of The Interactive Stencyl Textbook 8)

Jon

  • *
  • Posts: 17524
Yeah, stick  template.pbxproj in the post above into your [StencylWorks]/plaf/ios/ folder and see if that does the trick. If it does, I can ship that in 1.3.2 by default.

Photics

  • *
  • Posts: 718
Yeah, stick  template.pbxproj in the post above into your [StencylWorks]/plaf/ios/ folder and see if that does the trick. If it does, I can ship that in 1.3.2 by default.

It didn't work. Here's the crash report...

Quote
Process:         AppScaffold [921]
Path:            /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Applications/BA0006E4-D09C-4721-B0DD-8797A7C4BED4/AppScaffold.app/AppScaffold
Identifier:      AppScaffold
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [207]

Date/Time:       2011-12-11 14:40:34.416 -0500
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /usr/lib/libc++abi.dylib
  Referenced from: /Users/Photics/Library/Application Support/iPhone Simulator/4.3.2/Applications/BA0006E4-D09C-4721-B0DD-8797A7C4BED4/AppScaffold.app/AppScaffold
  Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld

It's like before. The simulator launches, but then the app crashes instantly.
Michael Garofalohttp://photics.com – Author of The Interactive Stencyl Textbook 8)

Photics

  • *
  • Posts: 718
Also, here are the errors in Xcode...

Quote
CompileC Build/AppScaffold.build/Debug-iphonesimulator/AppScaffold.build/Objects-normal/i386/ApplicationDelegate.o Classes/ApplicationDelegate.m normal i386 objective-c com.apple.compilers.llvmgcc42
    cd /Applications/StencylWorks/games-ios/Book
    setenv LANG en_US.US-ASCII
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O3 -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fexceptions -fasm-blocks -ffast-math -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -I/Applications/StencylWorks/games-ios/Book/Build/AppScaffold.build/Debug-iphonesimulator/AppScaffold.build/AppScaffold.hmap -I/Applications/StencylWorks/games-ios/Book/Build/Debug-iphonesimulator/include -I/Applications/StencylWorks/games-ios/Book/Headers -I/Applications/StencylWorks/games-ios/Book/Build/AppScaffold.build/Debug-iphonesimulator/AppScaffold.build/DerivedSources/i386 -I/Applications/StencylWorks/games-ios/Book/Build/AppScaffold.build/Debug-iphonesimulator/AppScaffold.build/DerivedSources -F/Applications/StencylWorks/games-ios/Book/Build/Debug-iphonesimulator -include /var/folders/y7/y7zpaoiSFmiieTv4bkZ5Jk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/Application_Prefix-gabjdxtlnzszdccunbfdxuyygpfr/Application_Prefix.pch -c /Applications/StencylWorks/games-ios/Book/Classes/ApplicationDelegate.m -o /Applications/StencylWorks/games-ios/Book/Build/AppScaffold.build/Debug-iphonesimulator/AppScaffold.build/Objects-normal/i386/ApplicationDelegate.o

/Applications/StencylWorks/games-ios/Book/Classes/ApplicationDelegate.m: In function '-[ApplicationDelegate init]':
/Applications/StencylWorks/games-ios/Book/Classes/ApplicationDelegate.m:28: warning: no '-initWithNibName:bundle:orientation:adPosition:' method found
/Applications/StencylWorks/games-ios/Book/Classes/ApplicationDelegate.m:28: warning: (Messages without a matching method signature

Ld Build/Debug-iphonesimulator/AppScaffold.app/AppScaffold normal i386
    cd /Applications/StencylWorks/games-ios/Book
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-g++-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Applications/StencylWorks/games-ios/Book/Build/Debug-iphonesimulator -L/Applications/StencylWorks/games-ios/Book -F/Applications/StencylWorks/games-ios/Book/Build/Debug-iphonesimulator -filelist /Applications/StencylWorks/games-ios/Book/Build/AppScaffold.build/Debug-iphonesimulator/AppScaffold.build/Objects-normal/i386/AppScaffold.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -lstdc++ -lxml2 -ObjC -all_load -D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -framework GameKit -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -framework QuartzCore -framework AVFoundation -framework AudioToolbox -framework OpenAL -lStencyl -framework iAd -o /Applications/StencylWorks/games-ios/Book/Build/Debug-iphonesimulator/AppScaffold.app/AppScaffold

ld: warning: ignoring file /Applications/StencylWorks/games-ios/Book/libStencyl.a, missing required architecture i386 in file
Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_SPPoint", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_SPRectangle", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_SPMatrix", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_SPAudioEngine", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_SPView", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_SPStage", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_CLASS_$_Game", referenced from:
      objc-class-ref in ApplicationDelegate.o
      objc-class-ref in Design_0_0_ClicktoAdvance.o
  "_OBJC_CLASS_$_AdViewController", referenced from:
      objc-class-ref in ApplicationDelegate.o
  "_OBJC_METACLASS_$_SceneScript", referenced from:
      _OBJC_METACLASS_$_Design_0_0_ClicktoAdvance in Design_0_0_ClicktoAdvance.o
      _OBJC_METACLASS_$_Design_1_1_AtlasManager in Design_1_1_AtlasManager.o
  "_OBJC_CLASS_$_SceneScript", referenced from:
      _OBJC_CLASS_$_Design_0_0_ClicktoAdvance in Design_0_0_ClicktoAdvance.o
      _OBJC_CLASS_$_Design_1_1_AtlasManager in Design_1_1_AtlasManager.o
  "_OBJC_CLASS_$_Assets", referenced from:
      objc-class-ref in Design_1_1_AtlasManager.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Michael Garofalohttp://photics.com – Author of The Interactive Stencyl Textbook 8)

Jon

  • *
  • Posts: 17524
Is there a way I could IM briefly with you in real-time? It'll be a lot faster than this back and forth. E-mail me when you've got a chance.

Jon

  • *
  • Posts: 17524
Photics' problem was resolved privately and in 1.3.2.

The purchasing form will go live on Tuesday evening. Beta testers will get an e-mail from me when it's live, and the general public will gain access shortly after. Thanks for your patience!

And yeah, we'll "officially" announce iStencyl via the usual channels and planned press soon. It's kinda funny that we haven't yet. ;)