[iOS] Problem exporting iOS Game

MacMowl

  • Posts: 65
Hi,

Impossible for me to export my game for iOS or Xcode Project.

Log attached.

It seems there is a class not found in the Context3D.hx file but I have no idea how to figure out this.

Anyone with a clue ?

Thank you,

Macmowl


letmethink

  • *
  • Posts: 2545
I had a look at it but I have little idea what the problem is as well. The actual line in the log file is this:

Code: [Select]
2015-02-01 22:34:14,933 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: /Applications/Stencyl-full/plaf/haxe/lib/openfl/2,2,4/openfl/display3D/Context3D.hx:33: characters 16-54 : Class not found : UInt
2015-02-01 22:34:14,972 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: make: *** [build-haxe-armv7] Error 1
2015-02-01 22:34:15,016 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: ** BUILD FAILED **

I did notice this which I didn't recognise though:

Code: [Select]
|----------------------------------------------------------------------------|
2015-02-01 22:34:09,577 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |                             /!\ [HypFacebook] /!\                          |
2015-02-01 22:34:09,578 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |----------------------------------------------------------------------------|
2015-02-01 22:34:09,578 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | Add a FacebookDisplayName key in your app-Info.plist with your app name:   |
2015-02-01 22:34:09,578 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |   <key>FacebookDisplayName</key>                                           |
2015-02-01 22:34:09,579 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |   <string>_________</string>                                               |
2015-02-01 22:34:09,579 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | Add a CFBundleURLTypes key in your app-Info.plist with "fb<appid>":        |
2015-02-01 22:34:09,580 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |   <key>CFBundleURLTypes</key>                                              |
2015-02-01 22:34:09,580 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |     <array>                                                                |
2015-02-01 22:34:09,581 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |         <dict>                                                             |
2015-02-01 22:34:09,582 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |             <key>CFBundleURLSchemes</key>                                  |
2015-02-01 22:34:09,582 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |             <array>                                                        |
2015-02-01 22:34:09,582 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |                 <string>fb_______________</string>                         |
2015-02-01 22:34:09,583 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |             </array>                                                       |
2015-02-01 22:34:09,583 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |         </dict>                                                            |
2015-02-01 22:34:09,583 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |     </array>                                                               |
2015-02-01 22:34:09,584 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |----------------------------------------------------------------------------|
2015-02-01 22:34:09,584 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | Also mind to add the FacebookSDK.framework and the bundles,                |
2015-02-01 22:34:09,585 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | to the framework folder in XCode before building. Check that you           |
2015-02-01 22:34:09,585 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | choose "Create groups for any added folders"                               |
2015-02-01 22:34:09,585 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | and deselect 'Copy items into destination group's folder (if needed)'.     |
2015-02-01 22:34:09,586 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |----------------------------------------------------------------------------|
2015-02-01 22:34:09,586 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | Check Other Linker Flags that you have -fobjc-arc and -ObjC                |
2015-02-01 22:34:09,587 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |----------------------------------------------------------------------------|
2015-02-01 22:34:09,588 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | If you target ios < 6, toggle Security, Social, Accounts and AdSupport     |
2015-02-01 22:34:09,588 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: | to optional.                                                               |
2015-02-01 22:34:09,588 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: |----------------------------------------------------------------------------|
~Letmethink

MacMowl

  • Posts: 65
Hi,

Thanks for reply. I deleted the Facebook extension but the problem is still there.

Code: [Select]
2015-02-01 22:34:14,933 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: /Applications/Stencyl-full/plaf/haxe/lib/openfl/2,2,4/openfl/display3D/Context3D.hx:33: characters 16-54 : Class not found : UInt
2015-02-01 22:34:14,972 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: make: *** [build-haxe-armv7] Error 1
2015-02-01 22:34:15,016 INFO  [Thread-17] stencyl.sw.util.StreamGobbler: ** BUILD FAILED **

I tried to compile with Haxe 3.0.1 and 3.1.3, I also installed the Haxe libraries.

Well well well, I don't know what to do.

Macmowl

Justin

  • *
  • Posts: 4716
Stencyl should automatically use the haxe version found in the install directory. Unless you have your own haxe install and tried compiling with the terminal.

Could you try with the latest build of Stencyl?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)