Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anna_G_1
Beginner
99 Views

build fail to iOS

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!
 

Tags (2)
0 Kudos
3 Replies
PaulF_IntelCorp
Employee
99 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?

 

Anna_G_1
Beginner
99 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? 

 

Anna_G_1
Beginner
99 Views

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

Reply