Software Archive
Read-only legacy content
17061 Discussions

build fail to iOS

Anna_G_1
Beginner
384 Views

I get build failed when I try and build to iOS. To Android works fine. 
I have followed the steps here: https://software.intel.com/en-us/forums/intel-xdk/topic/630377 and it still doesn't work. 
I will attach my build log and I hope someone can figure out the problem!
 

0 Kudos
3 Replies
PaulF_IntelCorp
Employee
384 Views

Looks to me like a plugin has an image that is causing a problem, not quite certain, but I believe this is the line in that build log that is causing the problem:

.../cordova_project/platforms/ios/Style Dress Up Game/Plugins/org.wbt11a.Canvas2ImagePlugin/Canvas2ImagePlugin.m:25:9: error: implicit declaration of function 'ALog' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ALog(@"Image Save Failed\nExtension: (%@) is not recognized, use (PNG/JPG)", extension);
        ^

I'm guessing this is the plugin: http://phonegap-plugins.com/plugins/wbt11a/canvas2imageplugin

If you remove it from your project and build without it, do you still get the error?

 

0 Kudos
Anna_G_1
Beginner
384 Views

The build succeeded when I deleted that plugin! Cool. But not cool because I need it hehe. 

How do I figure out why it makes the build fail? 

 

0 Kudos
Anna_G_1
Beginner
384 Views

I installed it in the plugin manager, and the build succeeded! Thank you so much!

0 Kudos
Reply