Page 1 of 1

export to Xcode, comple with errors

Posted: Fri Jun 27, 2014 5:19 am
by GordonG

Dear support,

I'm trying to get a handle on how easy it is to export my project to Xcode and work with it there, because I will have to build some functionality directly there, so I ran a test to explore issues and problems that might arise.

I export and adjust the Xcode project to the settings noted in this doc: http://blog.appery.io/2012/10/exporti...

I am using xCode 4.6.x

and the project will not compile. it throws these 2 errors, both "Semantic Issues":

org.apache.cordova.media-capture/CDVCapture.m:607:14:
error: property 'edgesForExtendedLayout' not found on object of type 'CDVAudioRecorderViewController *'
self.edgesForExtendedLayout = UIRectEdgeNone;

org.apache.cordova.media-capture/CDVCapture.m:607:39: error: use of undeclared identifier 'UIRectEdgeNone'
self.edgesForExtendedLayout = UIRectEdgeNone;

Looks like these are coming from the BarCode scanner plugin I used in appery.io

I note other discussions with Xcode "Semantic Issue" errors in this forum, but no clear answer on how to get past these. This is, obviously, a show stopper.

Thanks for your help!


export to Xcode, comple with errors

Posted: Fri Jun 27, 2014 5:31 am
by Kateryna Grynko

Hi Gordon,

Let me check this..


export to Xcode, comple with errors

Posted: Fri Jun 27, 2014 7:50 am
by Kateryna Grynko

Hi Gordon,

You could try the following:

1) Update xCode version to 5.
2) In App settings, set library version 1.2


export to Xcode, comple with errors

Posted: Fri Jun 27, 2014 10:20 am
by GordonG

Thanks, Katya, here is the result:

no, I cannot update to Xcode 5 without updating my OS, which I just cannot do at the moment due to other projects and software I need to have up. But that does not appear to be related to the problem, anyway:

After setting my app library to use the 1.2 v in appery.io settings, I exported again and loaded into Xcode and there were more errors than ever, all "weak reference" errors.

After looking on the internet, it appears that in building an app for ios 4.3, Xcode does not allow weak references, so I changed the build version for phone gap and cordova to 5.0, and it compiles without error (though there are a bunch of warnings)

so it appears there are some issues with the libraries appery is using and the build version recommended in the documentation.

so what's up with that?


export to Xcode, comple with errors

Posted: Sat Jun 28, 2014 6:36 am
by GordonG

good news: I went and got a sdd drive for my macbook yesterday, partitioned it, and moved my existing system to one half, and installed mavericks and xcode 5 on the other half.

Now I have both up-to-date app development and my old system where I will not lose any of my existing work. With xcode 5, these errors do not appear - so far!

I have a question about the build versions noted in the appery ios export documentation, but let me search the forums here first - I may start another topic.