Recipe for Crosswalk / new IntelXDK and iOS?

Get help using Construct 2

Post » Tue Sep 30, 2014 3:37 pm

You will need to update the version code to increment based on the previous version code, but that only comes into effect with Application Loader; it should at least build in Intel XDK regardless of what you put in (and long as something is there).

Hmm, so everything else should be fine. It's worth asking: are you running the absolute latest version of Intel XDK?

I'd also suggest that you create a new project file, just for the sake of testing and ruling out possibilities. Maybe something became corrupt along the way.

Also, just to be clear: you've actually selected the icons, splash screens and provisioning files in the project config, instead of just placing them in the www folder?
B
57
S
15
G
11
Posts: 912
Reputation: 12,626

Post » Tue Sep 30, 2014 3:53 pm

@henriquesv what version of xdk you use? Only latest 1332 supports phonegap build with iOS and Android(not crosswalk).
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Tue Sep 30, 2014 4:01 pm

I'm using 1332 version. Exporting to either Android or Phonegap results in the same kind of error while building.

Yes... icons, splash screens and provisioning files were selected in the project config. I place them inside "www" as the system says they need to be inside the project's folder.

I also tried to create a project as a blank and importing (intelxdk).
B
24
S
4
G
1
Posts: 177
Reputation: 1,827

Post » Tue Sep 30, 2014 6:19 pm

@henriquesv

Send me PM including your email, I'll send you Ejecta Admob freely.

Then admob works on Ejecta

Thanks

@ashwin2000

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Tue Sep 30, 2014 9:31 pm

Sorry if it takes too much time to reply. The whole process is really is slow as you know... exporting project... building... etc.

First of all, @cranberrygame thanks for sending me the plugin!

Now I have memory issues... have you guys ever seen it while using Ejecta project?

ejecta.png


Here's the full log:

Code: Select all
2014-09-30 18:25:18.095 Ejecta[6529:60b] Loading Image: loading-logo.png
2014-09-30 18:25:18.171 Ejecta[6529:60b] Loading Image: images/mainbackground-sheet0.png
2014-09-30 18:25:18.229 Ejecta[6529:60b] Loading Image: images/logo-sheet0.png
2014-09-30 18:25:18.232 Ejecta[6529:60b] Loading Image: images/playmainbutton-sheet0.png
2014-09-30 18:25:18.235 Ejecta[6529:60b] Loading Image: images/sharemainbutton-sheet0.png
2014-09-30 18:25:18.238 Ejecta[6529:60b] Loading Image: images/sharemainbutton-sheet1.png
2014-09-30 18:25:18.243 Ejecta[6529:60b] Loading Image: images/level1-sheet0.png
2014-09-30 18:25:18.245 Ejecta[6529:60b] Loading Image: images/level1-sheet1.png
2014-09-30 18:25:18.263 Ejecta[6529:60b] Loading Image: images/greentoken-sheet0.png
2014-09-30 18:25:18.265 Ejecta[6529:60b] Loading Image: images/block-sheet0.png
2014-09-30 18:25:18.268 Ejecta[6529:60b] Loading Image: images/yellowtoken-sheet0.png
2014-09-30 18:25:18.269 Ejecta[6529:60b] Loading Image: images/redtoken-sheet0.png
2014-09-30 18:25:18.271 Ejecta[6529:60b] Loading Image: images/bluetoken-sheet0.png
2014-09-30 18:25:18.277 Ejecta[6529:60b] Loading Image: images/tilemap.png
2014-09-30 18:25:18.279 Ejecta[6529:60b] Loading Image: images/group1-sheet0.png
2014-09-30 18:25:18.313 Ejecta[6529:60b] Loading Image: images/group1hotspot-sheet0.png
2014-09-30 18:25:18.324 Ejecta[6529:60b] Loading Image: images/sprite-sheet0.png
2014-09-30 18:25:18.326 Ejecta[6529:60b] Loading Image: images/sprite2-sheet0.png
2014-09-30 18:25:18.332 Ejecta[6529:60b] Loading Image: images/menuonoff-sheet0.png
2014-09-30 18:25:18.336 Ejecta[6529:60b] Loading Image: images/menuonoff-sheet1.png
2014-09-30 18:25:18.348 Ejecta[6529:60b] Loading Image: images/musicbutton-sheet0.png
2014-09-30 18:25:18.350 Ejecta[6529:60b] Loading Image: images/musicbutton-sheet1.png
2014-09-30 18:25:18.352 Ejecta[6529:60b] Loading Image: images/soundbutton-sheet0.png
2014-09-30 18:25:18.354 Ejecta[6529:60b] Loading Image: images/soundbutton-sheet1.png
2014-09-30 18:25:18.364 Ejecta[6529:60b] Loading Image: images/closebutton-sheet0.png
2014-09-30 18:25:18.366 Ejecta[6529:60b] Loading Image: images/closebutton-sheet1.png
2014-09-30 18:25:18.370 Ejecta[6529:60b] Loading Image: images/arrowonoff-sheet0.png
2014-09-30 18:25:18.375 Ejecta[6529:60b] Loading Image: images/arrowonoff-sheet1.png
2014-09-30 18:25:18.380 Ejecta[6529:60b] Loading Image: images/arrowbutton-sheet0.png
2014-09-30 18:25:18.382 Ejecta[6529:60b] Loading Image: images/arrowbutton-sheet1.png
2014-09-30 18:25:18.386 Ejecta[6529:60b] JS: [Construct 2] Facebook plugin not supported on this platform - the object will not be created
2014-09-30 18:25:18.392 Ejecta[6529:60b] Loading Image: images/sprite3-sheet0.png
2014-09-30 18:25:18.395 Ejecta[6529:60b] Loading Image: images/tryagainbutton-sheet0.png
2014-09-30 18:25:18.397 Ejecta[6529:60b] Loading Image: images/nextbutton-sheet0.png
2014-09-30 18:25:18.400 Ejecta[6529:60b] Loading Image: images/sprite4-sheet0.png
2014-09-30 18:25:18.408 Ejecta[6529:60b] Loading Image: images/sprite5-sheet0.png
2014-09-30 18:25:18.413 Ejecta[6529:60b] Loading Image: images/hero-sheet0.png
2014-09-30 18:25:18.415 Ejecta[6529:60b] Loading Image: images/level_bullet-sheet0.png
2014-09-30 18:25:18.417 Ejecta[6529:60b] Loading Image: images/fader-sheet0.png
2014-09-30 18:25:18.419 Ejecta[6529:60b] Loading Image: images/backgroundscreens-sheet0.png
2014-09-30 18:25:18.595 Ejecta[6529:60b] Creating ScreenCanvas (WebGL): size: 768x576, style: 768x576
Ejecta(6529,0xb87000) malloc: *** mach_vm_map(size=251658240) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
2014-09-30 18:25:23.175 Ejecta[6529:60b] Received memory warning.
2014-09-30 18:25:24.524 Ejecta[6529:60b] Received memory warning.



Thanks!
You do not have the required permissions to view the files attached to this post.
B
24
S
4
G
1
Posts: 177
Reputation: 1,827

Post » Tue Sep 30, 2014 9:49 pm

@henriquesv

Try this version

https://github.com/finscn/Ejecta/tree/adb15f017fa4c9705f39e5f3928479558a0617ea (Commits on Aug 21, 2014)

And let me know the result

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Tue Sep 30, 2014 11:44 pm

Incredible @cranberrygame ! It works like a charm!
Please, let me know... what is it that makes this version work!??

Thank you so much!
Let me know if I can help you in any way.
B
24
S
4
G
1
Posts: 177
Reputation: 1,827

Post » Wed Oct 01, 2014 1:32 am

@henriquesv

Congratulation!

It's the version I used.

Version update some times raises bug.

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Wed Oct 01, 2014 3:00 am

henriquesv wrote:@Sisyphus , it is not working with IntelXDK. I end up getting errors such as this:

The build failed. An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
Building a Cordova 3.3 application.
The application name is "Colors Corner"
The package name is "br.com.descomplicados.colorscorner"
Will use the provisioning profile for "adhoc"
Plugin "Device" (org.apache.cordova.device) installed.
Plugin "SplashScreen" (org.apache.cordova.splashscreen) installed.
Plugin "Cranberrygame" installed.
Targeting iOS version 5.
Copied Icon-120.png (120x120) image file to [email protected]
Copied Icon-60.png (60x60) image file to icon-60
Copied Icon-152.png (152x152) image file to [email protected]
Copied Icon-76.png (76x76) image file to icon-76
Copied splash_1024.png (748x1024) splash screen to Default-Landscape~ipad
Copied splash_2048.png (1496x2048) splash screen to [email protected]~ipad
Warning: No splash screen supplied for 320x480. Using the default.
Warning: No splash screen supplied for 640x1136. Using the default.
Warning: No splash screen supplied for 1536x2008. Using the default.
Warning: No splash screen supplied for 640x960. Using the default.
Warning: No splash screen supplied for 768x1004. Using the default.
An unexpected error occured while attempting to build the application.

=(
I will try Ejecta now...


Had the issue. I use transparency in one of my icons when it was not allowed. Try double checking your app assets.
B
56
S
15
G
13
Posts: 826
Reputation: 17,675

Post » Sun Oct 05, 2014 2:56 am

Message: qngnht is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
1.check your App ID
2.Ad hoc provision file
3. Make sure checked the Ad hoc option which is very small text

Exporting iOS on intelXDK needs only 3 of these. Im using HTML5 export for my iOS on Intel XDK, I tried Android exporting files but it was not good as HTML5. Some problems may encounter such as no audio and orientation, Alert at beginning, the game is not resume and suspend when minimize.

Resolving:Delete the alert command in index.html .Check Audio and Device plugin on the right side, and check out this link to fix Orientation . Put the resume and suspend commands in exported Android index.html to your index.html.

Thats all of my problems with iOS exporting. Hope this can help you.
B
13
S
1
Posts: 98
Reputation: 885

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests